Article View: linux.debian.bugs.dist
Article #1620Bug#1151455: python-barcode: Patch to fix FTBFS with dh-python
From: 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--
Technical Details
Message-ID:
<NQIVc-71EY-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<NQnnI-6PcN-7@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Maximiliano Curia <maxy@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1151455: python-barcode: Patch to fix FTBFS with dh-python Date: Wed, 21 Oct 2026 20:10:02 +0200 Message-ID: <NQIVc-71EY-5@gated-at.bofh.it> References: <NQnnI-6PcN-7@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Oct 21 18:09:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Maximiliano Curia <maxy@debian.org>, 1151455@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+tryton-team@tracker.debian.org X-Debian-Pr-Message: followup 1151455 X-Debian-Pr-Package: src:python-barcode X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: python-barcode MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oMnlTOePXQTmuSf6" Content-Disposition: inline X-Debian-User: maxy X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997987 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 88 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 21 Oct 2026 20:07:16 +0200 X-Original-Message-ID: <atj_VIx3v0UF9dIA@hecuba.gnuservers.com.ar> X-Original-References: <ate7wglEz_J8QM0C@hecuba.gnuservers.com.ar>