#1148101 python-vulndb: FTBFS: AttributeError: 'NoneType' object has no attribute 'lower'

#1148101#5
Date:
2026-09-16 23:51:58 UTC
From:
To:
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-vulndb, 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:6: clean] Error 25
dpkg-buildpackage: error: debian/rules clean subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1148101#8
Date:
2026-09-23 21:46:40 UTC
From:
To:
Hello,

Bug #1148101 in python-vulndb 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/pkg-security-team/python-vulndb/-/commit/ddca851d50e31211110150c86770fbe7d28978d2
------------------------------------------------------------------------
switch to pybuild-plugin-pyproject (Closes: #1148101)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1148101

#1148101#15
Date:
2026-09-23 22:19:53 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-vulndb, 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 1148101@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated python-vulndb 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, 23 Sep 2026 23:51:20 +0200
Source: python-vulndb
Architecture: source
Version: 0.1.3-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <team+pkg-security@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1148101
Changes:
 python-vulndb (0.1.3-5) unstable; urgency=medium
 .
   * Team upload.
   * Switch to pybuild-plugin-pyproject (Closes: #1148101)
   * Use dh-sequence-python3
   * Rewrite d/watch in v5 format
   * Disables useless Salsa CI jobs
   * Bump debhelper from old 12 to 13.
   * Remove redundant Priority: optional from source stanza.
   * Update standards version to 4.7.4, no changes needed.
   * Set upstream metadata fields: Repository.
Checksums-Sha1:
 2e7d8c918057128448312589ee4ac30e355ee13f 2114 python-vulndb_0.1.3-5.dsc
 ced32715c1df256688d695685e3f94c7825382b1 3832 python-vulndb_0.1.3-5.debian.tar.xz
 6bc86ffcce2dbf35f9716c98416ab9df509056f9 7416 python-vulndb_0.1.3-5_source.buildinfo
Checksums-Sha256:
 e9e1a3f78cd5c58ce2b961b132276f463baa8c3dd026ba8559b6b9905488a28d 2114 python-vulndb_0.1.3-5.dsc
 7050b07d22274d09d80af2e016e3d5c721bffda67c34897b92ea6841d7beb6d2 3832 python-vulndb_0.1.3-5.debian.tar.xz
 eb4b91b06b978497161b71ddf0cd011d8919953b51e61ea03c05fdd3697a49a0 7416 python-vulndb_0.1.3-5_source.buildinfo
Files:
 244857f0a69fabb2087ccf58033f9082 2114 python optional python-vulndb_0.1.3-5.dsc
 40b77b4ad1637301bcad38122d6907da 3832 python optional python-vulndb_0.1.3-5.debian.tar.xz
 d753b83b5c7ba3f02e04dcc4ae1e09a5 7416 python optional python-vulndb_0.1.3-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmq0TAsRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBrV9w//ccdbAwTV3zU35Yx/4MIszHravz3QvHjb
7EQkY8JAvturPqjaXQWU82HqCufdS3+R+BjYKpgNotIlrlnUedd3ceOfS6pHPw1I
oDu9mbazlYAlGjnfIBqJ6FwsW8hxiMVzklHowpT/1QXgSnJfpYBcCiPJVxiVXZw5
vVC6eBf+rJlKiIJjw4Efo+Qo8W3uWAvQJTIo4hbUjoUIAN7eRaVPOU35Oj4UKFQr
m3k9bkdjJvVRxouTYFtziCEsHAeevH3A+RtVaKUy3qDTqOZizAEtblU1tFSoez3S
fSAOXR+S7o0/mvXyynF/bvCsbHW+8pGhZDaqc/CT7jFIilE8i6D2Cajz5hGGB0SW
SYQIAzBEPwkfzdjTNY0ExeH/CCLXnOlgOCVLMDcFRqPAx6oq7WuUWAOFcmvJ7T5m
SSknBHbu3HslZuf7MQtJWFzBoNkuoluiIf+jM0KQNMm1MEZ98ux75CI658y1f5Gh
AZt9C/reI/c8BQAuCrYdVuVJ+L9Bq+QR9RykVYSf4BHhbls2PGc2T2tn6CsYrg1z
4Dywv2xvkReKsHORTdIXDwiW/kVJhH6JK45jQWmhWJLcl9omX25BSJGKWwm2TsJm
yedrtmewAbqOirju63BM0c2Vo+uKC0zGQO2wRv0xzCjMFnMbXVI0L1qjNIgBItgH
iSwi9b9jhLQ=
=LglQ
-----END PGP SIGNATURE-----