#1151467 python-fasteners: FTBFS with dh-python 7.20261019

#1151467#5
Date:
2026-10-20 19:12:18 UTC
From:
To:
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-fasteners 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/5118942/

#1151467#8
Date:
2026-10-21 11:37:35 UTC
From:
To:
Hello,

Bug #1151467 in python-fasteners 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/openstack-team/python/python-fasteners/-/commit/3e381cd594fd083f3dae060c1d9866a9aa79dd1e
When installing for several Python versions, dh_python3's new
dist-packages merge aborts on the wheel's top_level.txt metadata
(fs:172: no merge driver for that file), as seen in the Python 3.15
migration rebuilds. Build and install for the default python3 only,
which is correct for this pure-Python, arch:all package.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1151467

#1151467#13
Date:
2026-10-21 11:38:14 UTC
From:
To:
Hello,

Bug #1151467 in python-fasteners 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/openstack-team/python/python-fasteners/-/commit/3e381cd594fd083f3dae060c1d9866a9aa79dd1e
When installing for several Python versions, dh_python3's new
dist-packages merge aborts on the wheel's top_level.txt metadata
(fs:172: no merge driver for that file), as seen in the Python 3.15
migration rebuilds. Build and install for the default python3 only,
which is correct for this pure-Python, arch:all package.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1151467

#1151467#18
Date:
2026-10-21 11:50:25 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-fasteners, 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 1151467@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated python-fasteners 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)
Format: 1.8
Date: Wed, 21 Oct 2026 13:28:16 +0200
Source: python-fasteners
Architecture: source
Version: 0.20-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1151467
Changes:
 python-fasteners (0.20-3) unstable; urgency=medium
 .
   * Fix FTBFS with dh-python 7.20261019 (Closes: #1151467).
     When installing for several Python versions, dh_python3's new
     dist-packages merge aborts on the wheel's top_level.txt metadata
     (fs:172: no merge driver for that file), as seen in the Python 3.15
     migration rebuilds. Build and install for the default python3 only,
     which is correct for this pure-Python, arch:all package.
Checksums-Sha1:
 cab3f7b3f0b1404679385fcdf28df84c4c86d7b4 2393 python-fasteners_0.20-3.dsc
 7f9d66e2f360ec575229a8e3d76d973c5be3a630 3044 python-fasteners_0.20-3.debian.tar.xz
 4087cb6732cb0441f8ceae1edd64e9e3024562b2 8267 python-fasteners_0.20-3_amd64.buildinfo
Checksums-Sha256:
 c661827979f023272d4717359834dbbba528624c24bee0693f25f978d90dd763 2393 python-fasteners_0.20-3.dsc
 b56f046b8dab6c7fdb0df1c8115e7761adc9673f58e4cac7ae8c09b199f01efa 3044 python-fasteners_0.20-3.debian.tar.xz
 5ef451d16c82c0d3ff25ec019c3296d7e59a532c17c6f9581d5682221e2277ce 8267 python-fasteners_0.20-3_amd64.buildinfo
Files:
 93d3c065263d67e1c584a574dcb70a1b 2393 python optional python-fasteners_0.20-3.dsc
 d25cd5cd08be73b919d47e4b4aa97a30 3044 python optional python-fasteners_0.20-3.debian.tar.xz
 82c36408df785c37344619ffa9f7a295 8267 python optional python-fasteners_0.20-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmrYpCUACgkQ1BatFaxr
Q/6mwQ//WvVUoG39A/FZ5kj5AuLpkQgIQo1DnRpJhExlpDiZnzu8exo64CUh+H87
UX/SDshq7USwcLYyr2QSuQoljJ1Z1LVSn2z7IcvCIsX/KdoiBb3RGKTIPvv07xIm
3V1zubn3yZLODjhiyoa0JFyWZgWuUL0KOZMJw5Sz2774L8LBrgJ6IL80uA6lgMbM
xN1ydWuFLOdvwJkInFMeBYiVS2tlK495WGGGnUvCJingAPBHhLnCGzc84ufmFv5q
vVeX02fXCsec74uLRpc1iqqbjvyU/PINRSy1UYF5JPB/8m6RLaLJDXrvy95gwI3L
WSbNclvI3KPHBO5J0Hzj4azgN2lmW7GJLb3TO5x5boxJnD6AAfBsrnt0DrSeUOhK
EGnLvvknrS/UaSzqzboQwahY3jRrHoP1wO4dOvc4iH1cod6zRMU++Tygc7ucDCuU
PEwEyuDvkukTsrByWwkUlallGZaqNqP0FvVBNXO4fn9ofCLt5RcnuBoOTOhg8504
PgbbMKkkh4H94ywYHK4GVf/g7GzSEleVswidiXF0agGb9w1ESnqhw6XxuH9BB91c
sAOtN21iVTglZMV33uL6Rq6s+GRSWnDxNqPY/KlzCbgteZWrsVOKNxYxgQnLwY4e
QqTxBjBAMPrvkxdvaYaW2nyw/84MD7JxcFjJL+sr+V7LreznkKo=
=U7jS
-----END PGP SIGNATURE-----