[Debian-astro-maintainers] Bug#895218: astroml-addons: autopkgtest fails since python3.6 dropped depends on python3-distutils
Paul Gevers
elbrus at debian.org
Sun Apr 8 13:01:57 UTC 2018
Source: astroml-addons
Version: 0.2.2-4
Severity: normal
User: ci-team at 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20180408/6d2c6884/attachment.sig>
More information about the Debian-astro-maintainers
mailing list