Thread View: linux.debian.bugs.dist
2 messages
2 total messages
Started by Maximiliano Curia
Tue, 20 Oct 2026 19:10
Bug#1151455: python-barcode: FTBFS with dh-python 7.20261019
Author: Maximiliano Curia
Date: Tue, 20 Oct 2026 19:10
Date: Tue, 20 Oct 2026 19:10
29 lines
2513 bytes
2513 bytes
Package: src:python-barcode Version: 0.16.1-2 User: debian-python@lists.debian.org Usertags: python3.15 Tags: ftbfs, forky, sid Severity: serious Hi! While preparing the Python 3.15 migration we realized that some Python packages were shipping broken metadata directories, which leads to errors when trying to import these directories with code running on Python 3.15. To avoid shipping any additional broken directories, dh-python 7.20261019 now throws an error at build-time. Unfortunately, python-barcode is one of the affected packages and fails to build with the latest dh-python [1]. Most of these errors can be fixed by being more strict with the files considered for installation. I'll try to submit a patch for this ASAP. Happy hacking, [1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/5118895/ -- "Can you imagine what I would do if I could do all I can?" -- Sun Tzu Saludos /\/\ /\ >< `/
Bug#1151455: python-barcode: Patch to fix FTBFS with dh-python
Author: Maximiliano Curia
Date: Wed, 21 Oct 2026 18:10
Date: Wed, 21 Oct 2026 18:10
88 lines
4636 bytes
4636 bytes
--oMnlTOePXQTmuSf6 Content-Type: multipart/mixed; boundary="o3WQyMHeKLMybQ0c" Content-Disposition: inline --o3WQyMHeKLMybQ0c Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Control: tags -1 patch Control: severity -1 important Hi, One thing that I didn't explain correctly in the previous message is that this issue in particular happens when building for 2 different Python versions (in this case, 3.14 and 3.15), so it won't happen if you build against sid. Anyway, here is a patch that solves this problem by avoiding the installation of docs and tests. Happy hacking, --=20 "It is practically impossible to teach good programming to students that ha= ve=20 had a prior exposure to BASIC: as potential programmers they are mentally= =20 mutilated beyond hope of regeneration." -- Edsger W. Dijkstra Saludos /\/\ /\ >< `/ --o3WQyMHeKLMybQ0c Content-Type: text/x-diff; charset=iso-8859-1 Content-Disposition: attachment; filename=02-Do-not-install-docs-nor-tests-directories.patch Content-Transfer-Encoding: quoted-printable =46rom: C=E9dric Krier <ced@b2ck.com> Date: Thu, 18 Dec 2025 10:37:37 +0100 Subject: Do not install docs nor tests directories Origin: upstream, https://github.com/WhyNotHugo/python-barcode/commit/5e16c= ba3b3e1d3902cab850701c44b0fddbff4ff --- pyproject.toml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) --- a/pyproject.toml +++ b/pyproject.toml @@ -43,11 +43,8 @@ issues =3D "https://github.com/WhyNotHugo/python-barcode/issues" funding=3D "https://whynothugo.nl/sponsor/" =20 -[tool.setuptools] -include-package-data =3D true - -[tool.setuptools.packages.find] -exclude =3D ["tests"] +[tool.setuptools.package-data] +barcode =3D ["barcode/fonts/*.ttf"] =20 [tool.setuptools_scm] write_to =3D "barcode/version.py" --o3WQyMHeKLMybQ0c-- --oMnlTOePXQTmuSf6 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmrY/1QACgkQxxl2mbKb IyodnA//ZP5Ofuv/al1M6YbvU2zayz3Vll7PSbpt60Z3hdosZdw5ALYhiRe0hh3k KZ0q4DVu9+l9FYge8Pmj/mTVvEJMvYJlC6b7ljplltlIptvdeXs0WUKbWg9aAeY9 ccerV0Z37AyUo/HHgYONdkKMazTs2CVtkXj2KP1clPojhQkEGs5YeUomL4WpM27/ Jt5cDFQsoyv0mSNYGkpItkI3em/AeIzJGquazDK8enBYyxPPsuKGAGwhEHMpydCx kAElRmQPEAOGCz0FF734Xcrm6t6DzrJ6GK2HSkEDMES+/GLxXMi9L6IWWKYBGeiE x6fg+tKW5aI/MfDBWrpousz2Cm1aL87vClfeDYVVFIL6hsKYPJNPDfq3tACZ8JF+ boCH9Qiq1ew/97wgVwFK3+zXoGnMOIonEpVe8Dlk6un+iw1aaV/dgmc69Sd9z4OU RUA0numfC8FMQixAPAZ3CiMe/EhXObgtDWyl00v0GbCsKM+3tns4/C/HEoXJlCUQ ySvq1T17VO6fb14pYUTwI87hjH7ApFFH//7QU/t9P+pd8ktLAY5F6NwILfIVbQh9 cjmhzjqVO69RjopCuZOsV+oO/Uj4v7iLxQa11he2hXEJXGj0qI7GGt1ls54qWr1s 0NwP+5ZTAp92l+QrPvTfbkacF7UmuHuda2hvm6b4KUyfq/Q/mXw= =UQG8 -----END PGP SIGNATURE----- --oMnlTOePXQTmuSf6--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads