Source: astroml-addons
Version: 0.2.2-4
Severity: normal
User: ci-t...@tracker.debian.org
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/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/loader.py", line 417, in
loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in
importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in
importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib/python3.6/imp.py", line 245, in load_module
    return load_package(name, filename)
  File "/usr/lib/python3.6/imp.py", 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
_call_with_frames_removed
  File
"/usr/lib/python3/dist-packages/astroML/plotting/tests/__init__.py",
line 1, in <module>
    import matplotlib
  File "/usr/lib/python3/dist-packages/matplotlib/__init__.py", 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
updating.

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

Paul

┬╣ https://ci.debian.net/packages/a/astroml-addons/unstable/amd64/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to