[Python-modules-team] Bug#1003150: python3-wheel: Missing depends on python3-distutils
Scott Kitterman
debian at kitterman.com
Tue Jan 4 22:43:58 GMT 2022
Package: python3-wheel
Version: 0.34.2-1
Severity: serious
Justification: Policy 4.5
Attempted to unpack a wheel in a pretty minimal sid chroot and got this
error:
$ python3 -m wheel unpack setuptools-44.1.1-py2.py3-none-any.whl
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/lib/python3/dist-packages/wheel/__main__.py", line 19, in <module>
sys.exit(main())
File "/usr/lib/python3/dist-packages/wheel/__main__.py", line 15, in main
sys.exit(wheel.cli.main())
File "/usr/lib/python3/dist-packages/wheel/cli/__init__.py", line 83, in main
args.func(args)
File "/usr/lib/python3/dist-packages/wheel/cli/__init__.py", line 24, in unpack_f
from .unpack import unpack
File "/usr/lib/python3/dist-packages/wheel/cli/unpack.py", line 6, in <module>
from ..wheelfile import WheelFile
File "/usr/lib/python3/dist-packages/wheel/wheelfile.py", line 10, in <module>
from distutils import log as logger
ImportError: cannot import name 'log' from 'distutils' (/usr/lib/python3.9/distutils/__init__.py)
Now that distutils is split out, wheel will need to explicitly depend on
it.
Scott K
More information about the Python-modules-team
mailing list