Your message dated Thu, 05 Mar 2026 09:20:54 +0000
with message-id <[email protected]>
and subject line Bug#1129720: fixed in python-scooby 0.11.0-2
has caused the Debian Bug report #1129720,
regarding python-scooby: python-pyvista fails autopkgtest due to the exception
in python-scooby
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1129720: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129720
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-scooby
Version: 0.11.0-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu resolute ubuntu-patch
Dear Maintainer,
I have encountered an issue with tqdm package in Ubuntu
(https://launchpad.net/ubuntu/+source/tqdm/4.67.3-1)
It installs the following distinfo:
====
/usr/lib/python3/dist-packages/tqdm-4.67.3.dist-info
/usr/lib/python3/dist-packages/tqdm-4.67.3.dist-info/INSTALLER
/usr/lib/python3/dist-packages/tqdm-4.67.3.dist-info/METADATA
/usr/lib/python3/dist-packages/tqdm-4.67.3.dist-info/WHEEL
/usr/lib/python3/dist-packages/tqdm-4.67.3.dist-info/entry_points.txt
/usr/lib/python3/dist-packages/tqdm-4.67.3.dist-info/top_level.txt
/usr/lib/python3.14
/usr/lib/python3.14/dist-packages
/usr/lib/python3.14/dist-packages/tqdm-4.67.3.dist-info
/usr/lib/python3.14/dist-packages/tqdm-4.67.3.dist-info/INSTALLER
/usr/lib/python3.14/dist-packages/tqdm-4.67.3.dist-info/top_level.txt
====
Which I understand is the expected behaviour because the python debian helper
strips duplicate metadata.
Scooby uses the following code to retrieve package names:
https://github.com/banesullivan/scooby/blob/220e6464f5025a9c5bdbc52625f65fed5d3bd7de/scooby/report.py#L240:L243
installed = sorted(
(dist.metadata['Name'] for dist in distributions()),
key=str.lower,
)
It produces an exception if the distinfo does not contain the metadata file:
416s File "/usr/lib/python3/dist-packages/scooby/report.py", line 376, in
__repr__
416s repr_dict = self.to_dict()
416s File "/usr/lib/python3/dist-packages/scooby/report.py", line 537, in
to_dict
416s out['other'] = json.dumps(self.other_packages)
416s ^^^^^^^^^^^^^^^^^^^
416s File "/usr/lib/python3/dist-packages/scooby/report.py", line 259, in
other_packages
416s installed: dict[str, str] = self.installed_packages
416s ^^^^^^^^^^^^^^^^^^^^^^^
416s File "/usr/lib/python3/dist-packages/scooby/report.py", line 240, in
installed_packages
416s installed = sorted(
416s (dist.metadata['Name'] for dist in distributions()),
416s key=str.lower,
416s )
416s TypeError: descriptor 'lower' for 'str' objects doesn't apply to a
'NoneType' object
Since the code collects a list of package names, we can ignore the missing
metadata entries.
The attached patch can be applied to achieve the following:
* d/p/ignore-empty-metadata.patch: Ignore dist-info with missing
metadata when collecting the package list (LP: #2143273).
Thanks for considering the patch.
-- System Information:
Debian Release: forky/sid
APT prefers questing-updates
APT policy: (500, 'questing-updates'), (500, 'questing-security'), (500,
'questing'), (100, 'questing-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.17.0-14-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru python-scooby-0.11.0/debian/patches/ignore-empty-metadata.patch
python-scooby-0.11.0/debian/patches/ignore-empty-metadata.patch
--- python-scooby-0.11.0/debian/patches/ignore-empty-metadata.patch
1970-01-01 12:00:00.000000000 +1200
+++ python-scooby-0.11.0/debian/patches/ignore-empty-metadata.patch
2026-03-05 16:08:49.000000000 +1300
@@ -0,0 +1,19 @@
+Description: Ignore dist-info with the missing metadata
+ Python debian helper strips duplicate metadata, so
+ a version-specific dist-info may not have it available.
+Author: Vladimir Petko <[email protected]>
+Bug: https://github.com/banesullivan/scooby/issues/144
+Bug-Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/python-scooby/+bug/2143273
+Last-Update: 2026-03-05
+
+--- a/scooby/report.py
++++ b/scooby/report.py
+@@ -238,7 +238,7 @@
+ """
+ # sort case-insensitively by name
+ installed = sorted(
+- (dist.metadata['Name'] for dist in distributions()),
++ (dist.name for dist in distributions() if dist.name),
+ key=str.lower,
+ )
+ packages: dict[str, str] = {}
diff -Nru python-scooby-0.11.0/debian/patches/series
python-scooby-0.11.0/debian/patches/series
--- python-scooby-0.11.0/debian/patches/series 1970-01-01 12:00:00.000000000
+1200
+++ python-scooby-0.11.0/debian/patches/series 2026-03-05 16:08:49.000000000
+1300
@@ -0,0 +1 @@
+ignore-empty-metadata.patch
--- End Message ---
--- Begin Message ---
Source: python-scooby
Source-Version: 0.11.0-2
Done: Francesco Ballarin <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-scooby, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Francesco Ballarin <[email protected]> (supplier of updated python-scooby
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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 05 Mar 2026 08:52:36 +0000
Source: python-scooby
Architecture: source
Version: 0.11.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Francesco Ballarin <[email protected]>
Closes: 1129720
Changes:
python-scooby (0.11.0-2) unstable; urgency=medium
.
* Update F. Ballarin's email address.
* Add patch ignore-empty-metadata.patch to ignore dist-info with the missing
metadata. Python debian helper strips duplicate metadata, so a
version-specific dist-info may not have it available.
Thanks to Vladimir Petko <[email protected]>
Closes: #1129720.
Checksums-Sha1:
e21a956dff1b068b9ef810b849dc9d217e2b4b1e 2241 python-scooby_0.11.0-2.dsc
dee6d295edec98c8b894f567a8a44a52a84bc106 3152
python-scooby_0.11.0-2.debian.tar.xz
30a57703a7a3ee4a279f57cab8e70dcfd178b8e3 6838
python-scooby_0.11.0-2_source.buildinfo
Checksums-Sha256:
008837384af3b5b278bd29292131839efe6db7218f32f859e6f13ec806ab65ad 2241
python-scooby_0.11.0-2.dsc
e30a9129f0431cad05caf8c91e9f241d12266715b2726e64803a15f96e473ae5 3152
python-scooby_0.11.0-2.debian.tar.xz
aa6bab10564b5cb08cccf6b8607c7277c57cd8facac30c1b804526ae7e282890 6838
python-scooby_0.11.0-2_source.buildinfo
Files:
2018b3f5bf6417c5d96c07ba87d27f68 2241 python optional
python-scooby_0.11.0-2.dsc
81761fc015411515a3d05561ef931bb8 3152 python optional
python-scooby_0.11.0-2.debian.tar.xz
627b095eec8e0365ef7bbbe9ca65e19e 6838 python optional
python-scooby_0.11.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEG10EseUHu/A2aeK4AfNfwz5zr4wFAmmpROsACgkQAfNfwz5z
r4w+0A//QJ7AkJ0b0pD9pY4THMfjZdgc2H8D3ZYSPFTckNtmpY2G3N6uB2MrS7zn
UjPwNxe9cvFYPkri5n7S+cF0zi70RpmkjkxYQky4IJUCK+zaqFY2eZMCzqr9BjOI
8InMaDL+Tp25yrdEHgZfJ669tCI322mTSpu55W77HORUL6pCFAmCILZjL+pgD4ln
4kkIT632jKyo0aCdULl6w+fQmPVc0PDBkwMt48IlqlY5oF05tTpUX021YvJe8liX
I67PRax57v32khlQEOVC2VNosIXkpuPSMYnlJwM+OXfKb3DwLZYvd7BjzJHGOeiA
t+unuo60tAWcVT88EymSGQjMT/BHosaZZ4eqhpHElqR8VI9HfVbW3YTm9SaiTVE3
tS0xeo9WLCOrPHudiz4xf4OiPAMcxaKTieK3h2LN9VJYvIK5gNfTidOL6+9NVLSC
P8z6OzNp8rRSkEpJeZsp/Fa5WqvqyR1rVWtn1RY0yhIy2WrqMQ+/jbalnZMK9AFf
o30eab3dWt9D+RtE9ST44Exh49Mb9PIp4YOxUNGLTXl1iT2Ns0URdk21hZLUi7zy
oQ6VEF/mMx3kHIqYOv6Y5tsgSl7NFnze4TsAXiDJbHjvSNUZ1gy/MDi1Hqizy/pr
wHZd1I/JCBNR3h7qo1bUC1+VsWoh7Hxh1WqkXuEALeuXYH6qDVE=
=EmaZ
-----END PGP SIGNATURE-----
pgpeFjM9aHzVb.pgp
Description: PGP signature
--- End Message ---