** Description changed:

  python-pyvista autopkgtests fail:
  414s   return f"{type(self).__name__}: {retString}"
  415s 2026-02-23 06:03:10.347 (   1.629s) [    
73790DBD3200]vtkXOpenGLRenderWindow.:1458  WARN| bad X server connection. 
DISPLAY=
  416s Traceback (most recent call last):
  416s   File "<string>", line 1, in <module>
  416s     import pyvista; print(pyvista.Report())
  416s                     ~~~~~^^^^^^^^^^^^^^^^^^
  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
  
  The root cause is python-scooby distributiosn() call returning empty
  dict in the distributions iterable:
  
  > print([x.metadata.keys() for x in scooby.report.distributions()])
  ...
-  'Classifier', 'Classifier', 'License-File', 'Project-URL', 'Project-URL', 
'Description'], []]
+  'Classifier', 'Classifier', 'License-File', 'Project-URL', 'Project-URL', 
'Description'], []]
+ 
+ The reason for it is python3-tqdm not providing metadata:
+  ({'_path': 
PosixPath('/usr/lib/python3.14/dist-packages/tqdm-4.67.1.dist-info')}, [])

** Also affects: python-pyvista (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: tqdm (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143273

Title:
  python-scoopy appends empty dictionary in distributions() iterable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pyvista/+bug/2143273/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to