Bug#893802: diffoscope: missing Depends: python3-distutils

Helmut Grohne helmut at subdivi.de
Thu Mar 22 15:03:36 UTC 2018


Package: diffoscope
Version: 91
Severity: serious
User: helmutg at debian.org
Usertags: rebootstrap

In a fresh sid debootstrap, after apt-get install
--no-install-recommends diffoscope, you get:

$ diffoscope --help
Traceback (most recent call last):
  File "/usr/bin/diffoscope", line 33, in <module>
    from diffoscope.main import main
  File "/usr/lib/python3/dist-packages/diffoscope/main.py", line 32, in <module>
    from .tools import tool_prepend_prefix, tool_required, OS_NAMES, get_current_os
  File "/usr/lib/python3/dist-packages/diffoscope/tools.py", line 29, in <module>
    from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils'
$

This is due to python3.6/3.6.5~rc1-2 having dropped its dependency on
python3-distutils. I guess we need to add disutils to install_requires
in setup.py to fix this issue.

Helmut



More information about the Reproducible-builds mailing list