#1135452 - python-charset-normalizer: FTBFS: src/charset_normalizer/api.py:82: error: Argument 1 to "CharsetMatch" has incompatible type "bytes | bytearray"; expected "bytes" [arg-type] (original) (raw)

version graph

Reported by: Santiago Vila sanvila@debian.org

Date: Fri, 1 May 2026 23:15:06 UTC

Severity: serious

Tags: forky, ftbfs, sid

Found in version python-charset-normalizer/3.4.4-2

Fixed in version python-charset-normalizer/3.4.7-1

Done: Colin Watson cjwatson@debian.org

Bug is archived. No further changes may be made.

Display info messages


Report forwardedto debian-bugs-dist@lists.debian.org, sanvila@debian.org (additional cc recipient for {1135452}), Debian Python Team <team+python@tracker.debian.org> (src:python-charset-normalizer for {1135452}):
Bug#1135452; Package src:python-charset-normalizer. (Fri, 01 May 2026 23:15:07 GMT) (full text, mbox, link).


Acknowledgement sentto Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, team+python@tracker.debian.org. (Fri, 01 May 2026 23:15:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

Package: src:python-charset-normalizer Version: 3.4.4-2 Severity: serious Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202605/

About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible.

If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-charset-normalizer, so that this is still visible in the BTS web page for this package.

Thanks.


[...] debian/rules clean dh clean --with=sphinxdoc --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with=sphinxdoc --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild pybuild:390: python3.14 -c 'from mypyc.build import mypycify' I: pybuild pybuild:390: python3.13 -c 'from mypyc.build import mypycify' dh_auto_build -O--buildsystem=pybuild -Npython-charset-normalizer-doc I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<>/.pybuild/cpython3_3.14_charset_normalizer

ERROR Backend subprocess exited when trying to invoke build_wheel E: pybuild pybuild:485: build: plugin pyproject failed with: exit code=1: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<>/.pybuild/cpython3_3.14_charset_normalizer
I: pybuild plugin_pyproject:142: Building wheel for python3.13 with "build" module I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<>/.pybuild/cpython3_3.13_charset_normalizer

ERROR Backend subprocess exited when trying to invoke build_wheel E: pybuild pybuild:485: build: plugin pyproject failed with: exit code=1: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<>/.pybuild/cpython3_3.13_charset_normalizer
dh_auto_build: error: pybuild --build -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13 make: *** [debian/rules:19: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2


Message sent onto Santiago Vila <sanvila@debian.org>:
Bug#1135452. (Wed, 06 May 2026 13:53:01 GMT) (full text, mbox, link).


Message #8 received at 1135452-submitter@bugs.debian.org (full text, mbox, reply):

Control: tag -1 pending

Hello,

Bug #1135452 in python-charset-normalizer reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/python-charset-normalizer/-/commit/0a0910863f9ef8365319c5d07713e547b828db19


Update upstream source from tag 'upstream/3.4.7'

Update to upstream version '3.4.7' with Debian dir 0d94cadce24189bc63df99412406cfc0ad70a841

Closes: #1135452

(this message was generated automatically)

Greetings

https://bugs.debian.org/1135452


**Added tag(s) pending.**Request was from Colin Watson <noreply@salsa.debian.org>to 1135452-submitter@bugs.debian.org. (Wed, 06 May 2026 13:53:01 GMT) (full text, mbox, link).


Reply sentto Colin Watson <cjwatson@debian.org>:
You have taken responsibility. (Wed, 06 May 2026 14:47:02 GMT) (full text, mbox, link).


Notification sentto Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Wed, 06 May 2026 14:47:02 GMT) (full text, mbox, link).


Message #15 received at 1135452-close@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]

Source: python-charset-normalizer Source-Version: 3.4.7-1 Done: Colin Watson cjwatson@debian.org

We believe that the bug you reported is fixed in the latest version of python-charset-normalizer, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is attached.

Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1135452@bugs.debian.org, and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software pp. Colin Watson cjwatson@debian.org (supplier of updated python-charset-normalizer package)

(This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org)

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512

Format: 1.8 Date: Wed, 06 May 2026 14:49:29 +0100 Source: python-charset-normalizer Architecture: source Version: 3.4.7-1 Distribution: unstable Urgency: medium Maintainer: Debian Python Team team+python@tracker.debian.org Changed-By: Colin Watson cjwatson@debian.org Closes: 1135452 Changes: python-charset-normalizer (3.4.7-1) unstable; urgency=medium .

Checksums-Sha1: db8eda16ca9dad958ea4564e87a7667bda22d20d 2704 python-charset-normalizer_3.4.7-1.dsc 8a2799dbc0f666e410086b7cb156bf1e43b28598 144600 python-charset-normalizer_3.4.7.orig.tar.gz 28a59424eedcf60d2dfa70c507a5234e4e2207ae 12296 python-charset-normalizer_3.4.7-1.debian.tar.xz Checksums-Sha256: f0d1ac6ba8990ed0df353d54eccc3c8fd4b0f6261a9a32937fa5372f8421c346 2704 python-charset-normalizer_3.4.7-1.dsc d138d39345a3bb51201d1eab62c61b75855f65c233e75941ac5f002d7d58290c 144600 python-charset-normalizer_3.4.7.orig.tar.gz 958746986cf87ef892d116e6ccbb59364fac31b04a6d63c2a1ec5710ed07b60d 12296 python-charset-normalizer_3.4.7-1.debian.tar.xz Files: 3aaff9ab09ac73675e23856456849714 2704 python optional python-charset-normalizer_3.4.7-1.dsc 13a5d403c7cd0ad9396c01f65f1057bd 144600 python optional python-charset-normalizer_3.4.7.orig.tar.gz db1ed8a63d17ec3af96bdbd8cd05eb82 12296 python optional python-charset-normalizer_3.4.7-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmn7RzIACgkQOTWH2X2G UAvwAg//TFS+EAWLQwfD/BOaLNsNYnz08sR/YJoERS+T907lTzLB3BzcGkAckjLZ Hz2i8e5NUxiYMAeVLqBvjbja9N0vrG2hky3ZUwAPpcm4DT9qn7Q/+7ToL4lCHuME 73SoeZo3AtkHj3p8Z9Gg/JxREoIicqCbKxGX4eB58jdhg8D3oPBSSwQ9ELWX2ML3 3HdVyHaH3qWn8OZHWoDIuzNjnG02zf9fhNBr16d2y1EXtDB/sGO/IixGgiEPPTQB YCWBkM+FGwoDGJ0VEwBliEDU9cY8fES9G5ti7M1XKg7eH0IDcjasi+YBOOFZOvup jkokmcRGZ5OFtnc1MdNO4cEXVwReqzk7t+hRT+9nwOU4GP8cVLAAJLnVPC2MLkqJ J9CnedCscgLW5tkG4QEuU2A0vyz8Kqbm+rkErCkr9vbLUQ2ITijlsMyPnYGm86Am VV3gAhKqw8dMobNJj7pkdJV0/1qWOEvNNOYK1Am0iooeByWBFGjgeuhGPbYTC1Bs 7oewFGBW9H9UuLu3Hy6wlJMaP1VV8aFW9ltcLLCrKactUAxYYSmP9WjQSPUAOH0N qdDR+eHKdHS9UF0QukgzGFU2eo6/faLs6whB+6Z1qGz/waRV1/OhuaNSdkRuZSQE 8sByNZAjzAEIqHgKl6/oqP74hxP2D56gc7NId1heBnChCo2ktig= =+aPV -----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]


**Bug archived.**Request was from Debbugs Internal Request <owner@bugs.debian.org>to internal_control@bugs.debian.org. (Thu, 11 Jun 2026 07:26:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified:Wed Jun 17 20:03:40 2026; Machine Name:bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.