Source: astroml-addons
Version: 0.2.2-4
Severity: normal
Usertags: regression

Since the upload of python3.6 version 3.6.5~rc1-2, it doesn't depend on
python3-distutils anymore. Your autopkgtest┬╣ fails since than with the
following error:

ERROR: Failure: ModuleNotFoundError (No module named 'distutils.sysconfig')
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/", line 417, in
    addr.filename, addr.module)
  File "/usr/lib/python3/dist-packages/nose/", line 47, in
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python3/dist-packages/nose/", line 94, in
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib/python3.6/", line 245, in load_module
    return load_package(name, filename)
  File "/usr/lib/python3.6/", line 217, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 684, in _load
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in
line 1, in <module>
    import matplotlib
  File "/usr/lib/python3/dist-packages/matplotlib/", line
110, in <module>
    import distutils.sysconfig
ModuleNotFoundError: No module named 'distutils.sysconfig'

I don't know if this is an issue of the test (adding the dependency
there can fix the issue) or if the dependencies of your package need

There are rumors that one shouldn't use distutils as a runtime
dependency and one should use sysconfig instead.



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to