Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1235414

Bug#1095315: Subject: python3-debmutate: fails to handle UTF-8 files with Python 3.13 due to ASCII codec use

From Jelmer Vernooij <jelmer@jelmer.uk>
Newsgroups linux.debian.bugs.dist
Subject Bug#1095315: Subject: python3-debmutate: fails to handle UTF-8 files with Python 3.13 due to ASCII codec use
Date 2025-02-28 11:30 +0100
Message-ID <Kl5MZ-2ypf-9@gated-at.bofh.it> (permalink)
References <KdjN7-eXdo-3@gated-at.bofh.it> <KdjN7-eXdo-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Feb 06, 2025 at 03:37:51PM -0800, Otto Kekäläinen wrote:
>Package: debmutate
>Version: 0.71
>Severity: important
>Tags: python3.13
>
>The python3-debmutate package fails to handle UTF-8 encoded files when
>running under Python 3.13. This affects multiple Debian packaging
>tools including lintian-brush, making it impossible to process
>packages containing non-ASCII characters.
>
>When running lintian-brush, the following error occurs:
>
>UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
>705: ordinal not in range(128)
>
I'm having trouble reproducing this:

$ ldd ~/src/lintian-brush/target/debug/lintian-brush
	linux-vdso.so.1 (0x00007fde2f1fb000)
	libpython3.13.so.1.0 => /lib/x86_64-linux-gnu/libpython3.13.so.1.0 (0x00007fde2da00000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fde2e1a5000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fde2d91a000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fde2d724000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fde2f1fd000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fde2d704000)
	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fde2d6d9000)

$ ~/src/lintian-brush/target/debug/lintian-brush --no-update-changelog --modern --uncertain
█████████████████████████████████████████████████████████████████████████████████████████ 154/154No changes made.

Cheers,

Jelmer

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1095315: Subject: python3-debmutate: fails to handle UTF-8 files with Python 3.13 due to ASCII codec use Otto Kekäläinen <otto@debian.org> - 2025-02-07 00:50 +0100
  Bug#1095315: Subject: python3-debmutate: fails to handle UTF-8 files with Python 3.13 due to ASCII codec use Jelmer Vernooij <jelmer@jelmer.uk> - 2025-02-28 11:30 +0100
    Bug#1095315: Subject: python3-debmutate: fails to handle UTF-8 files with Python 3.13 due to ASCII codec use Jelmer Vernooij <jelmer@jelmer.uk> - 2025-02-28 11:30 +0100

csiph-web