[rb-general] Bug#943320: python3-pluggy: missing dependency on python3-importlib-metadata

Chris Lamb lamby at debian.org
Wed Oct 23 10:01:53 UTC 2019

Package: python3-pluggy
Version: 0.13.0-1
Severity: serious
X-Debbugs-CC: rb-general at lists.reproducible-builds.org


The python3-pluggy binary package appears to be missing a dependency
on python3-importlib-metadata:

    I: pybuild base:217: cd /tmp/buildd/diffoscope-127/.pybuild/cpython3_3.7/build; python3.7 -m pytest -vv -r sxX -l --cov=diffoscope --cov-report=term-missing --cov-report=html
    Traceback (most recent call last):
      File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
	"__main__", mod_spec)
      File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
	exec(code, run_globals)
      File "/usr/lib/python3/dist-packages/pytest.py", line 8, in <module>
	from _pytest.assertion import register_assert_rewrite
      File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 13, in <module>
	from _pytest.assertion import rewrite
      File "/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py", line 24, in <module>
	from _pytest.assertion import util
      File "/usr/lib/python3/dist-packages/_pytest/assertion/util.py", line 11, in <module>
	import _pytest._code
      File "/usr/lib/python3/dist-packages/_pytest/_code/__init__.py", line 7, in <module>
	from .code import Code  # noqa
      File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 15, in <module>
	import pluggy
      File "/usr/lib/python3/dist-packages/pluggy/__init__.py", line 16, in <module>
	from .manager import PluginManager, PluginValidationError
      File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 11, in <module>
	import importlib_metadata
    ModuleNotFoundError: No module named 'importlib_metadata'

This appears to be a regression from 0.12.0-1 (which has this
dependency). Discovered when trying to release diffoscope on behalf on
the Reproducible Builds[0] effort hence the X-Debbugs-CC, but likely
affects other packages.

 [0] https://reproducible-builds.org/


     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk

More information about the rb-general mailing list