#1151466 zigpy-znp: FTBFS with dh-python 7.20261019

Package:
src:zigpy-znp
Source:
src:zigpy-znp
Submitter:
Maximiliano Curia
Date:
2026-10-21 11:21:02 UTC
Severity:
normal
Tags:
#1151466#5
Date:
2026-10-20 19:11:56 UTC
From:
To:
Package: src:zigpy-znp
Version: 1.1.0+dfsg-1
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, zigpy-znp 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/5118897/

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

Debian distribution maintenance software
pp.
Edward Betts <edward@4angle.com> (supplier of updated zigpy-znp 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 09:53:53 +0100
Source: zigpy-znp
Architecture: source
Version: 1.1.1+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Home Assistant Team <team+homeassistant@tracker.debian.org>
Changed-By: Edward Betts <edward@4angle.com>
Closes: 1151466
Changes:
 zigpy-znp (1.1.1+dfsg-1) unstable; urgency=medium
 .
   * New upstream release.
   * Restrict setuptools package discovery to avoid build/ and debian/
     leaking into dist-info top_level.txt, which broke the multi-python
     dh_python3 merge. (Closes: #1151466)
   * Update to debhelper compatibility level 14.
   * Add dh-sequence-single-binary.
   * Remove debhelper compat 14 auto-applied substvars.
   * Prefix debhelper files with the binary package name.
Checksums-Sha1:
 6e1ffcb777d0d08c860e7d9fd3d6cee1f986826b 2714 zigpy-znp_1.1.1+dfsg-1.dsc
 10c7b94da05e14debff9fad1ade144beb14d214b 127388 zigpy-znp_1.1.1+dfsg.orig.tar.xz
 8636bea1b250842cccb3130f0ee60d898417b4fe 3256 zigpy-znp_1.1.1+dfsg-1.debian.tar.xz
 7ff934abbeac10f02b851847717ca25f24bd6d90 382584 zigpy-znp_1.1.1+dfsg-1.git.tar.xz
 b2d6a2a1e92dd472398879cb24b81671f8449b18 17752 zigpy-znp_1.1.1+dfsg-1_source.buildinfo
Checksums-Sha256:
 7ee9e70a3cc74100fb7b17f9dff37bce8433f2f2d5f1871bcd150ce7ae0fdeea 2714 zigpy-znp_1.1.1+dfsg-1.dsc
 84090af52880a9127dd886118dec3a5a9fa5a84b8eb5bba45ae48838b632d8bf 127388 zigpy-znp_1.1.1+dfsg.orig.tar.xz
 73be18f07af704b33c019f7d61838c5187fa0d48570da71534985a3507d42e24 3256 zigpy-znp_1.1.1+dfsg-1.debian.tar.xz
 40498fa57256a32bf2164604fa126dd4c6b3ec8cf9dfe03c5256cf8bc5390383 382584 zigpy-znp_1.1.1+dfsg-1.git.tar.xz
 0718e7bb2c2a8bc885e64914d415444db12180421106ca4726181a7988a3996b 17752 zigpy-znp_1.1.1+dfsg-1_source.buildinfo
Files:
 b21671764be338f306f83f105e790a21 2714 python optional zigpy-znp_1.1.1+dfsg-1.dsc
 48058ac933ddc7083fa613dff02e6520 127388 python optional zigpy-znp_1.1.1+dfsg.orig.tar.xz
 0da2fb0531d6a1650fac793c1a100097 3256 python optional zigpy-znp_1.1.1+dfsg-1.debian.tar.xz
 61fa6b9eb7a5c5c213f986f243c350e4 382584 python None zigpy-znp_1.1.1+dfsg-1.git.tar.xz
 f013666a2d775c1f4bf45bec2bd39931 17752 python optional zigpy-znp_1.1.1+dfsg-1_source.buildinfo
Git-Tag-Info: tag=d6bfbef702a83a0795d4289f5f8f8fa5c0c85791 fp=fb8acfa78c726089c38ad0269605a1098c63b92a
Git-Tag-Tagger: Edward Betts <edward@4angle.com>
-----BEGIN PGP SIGNATURE-----

iQIyBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrYmQ0ACgkQYG0ITkaD
wHlaFA/4tfdTMC2zEGhN90O7COhgfFaB1Y+435Js2dHM1deibnNA4DEwsf4jqPc1
mVWykkf/hiE0oaq+5SkOT3EvT/AtIJim6jsX6t+PjxUgXh5eDQdjn4/pK55evlaR
ZFDRp4YzcRveK0bz+Ceg94XF78PkELd1quZ0TmgzYvoTHlwijOtjyr4RiFMbLpCj
wFxKl4OXMJngTJ4SY3W7V2n2nBI5liikaOJ20iun2mEgLiABlWvwZg9nh6+pNo6u
VozKyz2Ylos64+9FhK9W0lwmriiJZdODefncxUB9T+iLXFMLqx52jSqRSGHggyrg
8Bdd/kdCR9wHUa6gkvs9bZ3QN20kvrNtQWmXVk6f+E7iPenaKAZFuA4ru5T/G6U7
50c3zX3ShIQspPbIfRexDZcs+CtBIeAVNMPUGe/zkxKau3AKYWpB6DUiV38ChxpQ
7G1hEGu+q5KzORWA2HxU75OwOBuLvdHpo3a6c442jxkI06uhKnD5vddDllUgr7j4
2WG/YzANU4+wK9QoDh1o9GY+Ft5d1i7NLddkK7XMC56bSnDcm62o7WB+XLwXsbvG
PHhYAdam/9XAE68l6BzE5MDf1JUO/ba9rKY6rTAR+1lgXg1iEy1Rnzj6MGVUFQ5c
oeJBTgwrm+JKsgDi8nhiRBtGyVtwENPiUVEQ/IcSbWwlBc5eFQ==
=SWt4
-----END PGP SIGNATURE-----