#1148100 python-pynetbox: FTBFS: AttributeError: 'NoneType' object has no attribute 'lower' #1148100
- Package:
- src:python-pynetbox
- Source:
- src:python-pynetbox
- Submitter:
- Santiago Vila
- Date:
- 2026-09-26 11:05:03 UTC
- Severity:
- normal
- Tags:
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/202609/ 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-pynetbox, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] packaging.utils.canonicalize_name(egg_dist.name) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/packaging/utils.py", line 96, in canonicalize_name value = name.lower().replace("_", "-").replace(".", "-") ^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'lower' E: pybuild pybuild:485: clean: plugin distutils failed with: exit code=1: python3.14 setup.py clean dh_auto_clean: error: pybuild --clean -i python{version} -p 3.14 --parallel=2 returned exit code 13 make: *** [debian/rules:7: clean] Error 25 dpkg-buildpackage: error: debian/rules clean subprocess failed with exit status 2 --------------------------------------------------------------------------------
control: tag -1 +patch Hi, The usual fix is to add a "pybuild-plugin-pyproject" build-dependency. Greetings
We believe that the bug you reported is fixed in the latest version of python-pynetbox, 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 1148100@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Johann Queuniet <sub_code.debian@queuniet.fr> (supplier of updated python-pynetbox 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: Sat, 26 Sep 2026 08:52:48 +0000 Source: python-pynetbox Architecture: source Version: 7.8.0-1 Distribution: unstable Urgency: medium Maintainer: Johann Queuniet <sub_code.debian@queuniet.fr> Changed-By: Johann Queuniet <sub_code.debian@queuniet.fr> Closes: 1148100 Changes: python-pynetbox (7.8.0-1) unstable; urgency=medium . * New upstream version 7.8.0 * Update debhelper-compat to 14 * Update Debian policy version * Add pybuild-plugin-pyproject build dependency (Closes: #1148100) * Enable single-binary dh sequence explicitly * Use dh-sequence-python3, drop redundant dh-python * Run upstream unit tests at build time * Enable autopkgtest-pkg-pybuild * Update upstream URLs to netbox-community * Switch watch file to v5, tracking PyPI * Drop Priority and Rules-Requires-Root, now dpkg defaults * d/copyright: update upstream holders, use SPDX license names * Override PGP watch warning, PyPI has no signatures * Fix NetBox spelling in description * Add Salsa CI config Checksums-Sha1: 4b77457582f0a56f5218f1fb7f79ffb5bcbb7585 2210 python-pynetbox_7.8.0-1.dsc 1a7c30d01192bb8eb70e5f67d2539b187e2f99fb 138670 python-pynetbox_7.8.0.orig.tar.gz a04ad33abb84121aa81ee1dcf09e90377ebe1c64 2516 python-pynetbox_7.8.0-1.debian.tar.xz e9520f03d7385cbff29f816de55f15646f1f5373 8369 python-pynetbox_7.8.0-1_amd64.buildinfo Checksums-Sha256: 520686ce41cae7bc893e3a47afa778af2614fc84e046dfefe2acee688b0c395e 2210 python-pynetbox_7.8.0-1.dsc c359e9b9ed599d145a987c755dbe786da967caf236e3afe1e94a154cf5aeab5c 138670 python-pynetbox_7.8.0.orig.tar.gz 2732342ba08eb4fd297e03fccea17bc8b0d176f60ef91dc1c2a0230a62027635 2516 python-pynetbox_7.8.0-1.debian.tar.xz f44979ba1a314b905432228ac39d18cd670e72f5dd4b511e017a2ba9db1d02e7 8369 python-pynetbox_7.8.0-1_amd64.buildinfo Files: 83b06afb1df3d88139458c05a95a5ed8 2210 python optional python-pynetbox_7.8.0-1.dsc a7f29d200f971709f2d63db7b5024591 138670 python optional python-pynetbox_7.8.0.orig.tar.gz 299c6d4fd79084d6ad3f4e4d81d7a1cc 2516 python optional python-pynetbox_7.8.0-1.debian.tar.xz d25aafbb825be605bd715e80f59de011 8369 python optional python-pynetbox_7.8.0-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEErvI0h2bzccaJpzYAlaQv6DU1JfkFAmq3ogQQHGJlcm5hdEBs dWZmeS5jeAAKCRCVpC/oNTUl+cgrD/9mzmiW24UhVL5Ybg/6S4GYzsPt/a9PfJoV x5tvbkLmYrK1XxjR51Tfvq39qzHPjJza2/PC6/28jfsWFtK4kIMnuf42DQ4CAkUZ BcpKQDg74p+oxATwjxz0Q2Apiyujp9gPL56AUJXrtFDolIk6qtJLjOZ1guyoyoPs dOPcH6Qs5uOdVGxX2C/CJ1w1Je62ABh92gns624VJ85Jq7DS636QfMl2qW+2DhEM vtyNST+oKf9EAVCxnUrUeukH+MoN4yD24XlUHKKwRo3/xftlOTdn4LQ3rBepDksf 9/oEQiqrq+NZsc1GarMkCwpiiJyZTpkNmM4K3MDLG9ajUjJTaBiongaBH1wF+Kuk J82bTC/cUkN+m5rVoyAs7VKZmXPAkoRMK1EJGHK05YYtSnDBHJPnHCwScGd9ha3A KBo55MgLfT/rEcCL0Xumq6yrIpFM+7P56AG/RWxh+AZ5W1rCozNFbxUvRMNLemBY D5quhJlQgLTDOPFOomB/bINRg0RklBir+0/rwJwq3OnBp6eHNlcpaqZcSUHkWzQa LvO7Z7o6x/m8sHBPbo+LPASTSBH82FBdRY6y3OK2fRbLmSDY/cv/mL1ptniSpRXp 0Of58N0+J474/IPR61YYW72K0WyBiAd1MkzxnvSdb1lw+ngEOsbuOuPYbD+n8ZRE qasWnP7WvA== =xMC9 -----END PGP SIGNATURE-----