[Debian-astro-maintainers] Bug#895220: astroml: autopkgtest fails since python3.6 dropped depends on python3-distutils
Paul Gevers
elbrus at debian.org
Sun Apr 8 13:06:07 UTC 2018
Source: astroml
Version: 0.3-7
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')
----------------------------------------------------------------------
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/__init__.py",
line 1, in <module>
from .hist_tools import hist
File "/usr/lib/python3/dist-packages/astroML/plotting/hist_tools.py",
line 5, in <module>
from astroML.density_estimation import\
File
"/usr/lib/python3/dist-packages/astroML/density_estimation/__init__.py",
line 1, in <module>
from .density_estimation import KDE, KNeighborsDensity
File
"/usr/lib/python3/dist-packages/astroML/density_estimation/density_estimation.py",
line 13, in <module>
from sklearn.metrics import pairwise_kernels, pairwise_distances
File "/usr/lib/python3/dist-packages/sklearn/metrics/__init__.py",
line 7, in <module>
from .ranking import auc
File "/usr/lib/python3/dist-packages/sklearn/metrics/ranking.py", line
27, in <module>
from ..utils import assert_all_finite
File "/usr/lib/python3/dist-packages/sklearn/utils/__init__.py", line
11, in <module>
from .validation import (as_float_array,
File "/usr/lib/python3/dist-packages/sklearn/utils/validation.py",
line 23, in <module>
from ..externals.joblib import Memory
File
"/usr/lib/python3/dist-packages/sklearn/externals/joblib/__init__.py",
line 3, in <module>
import joblib
File "/usr/lib/python3/dist-packages/joblib/__init__.py", line 121, in
<module>
from .memory import Memory, MemorizedResult
File "/usr/lib/python3/dist-packages/joblib/memory.py", line 37, in
<module>
from . import numpy_pickle
File "/usr/lib/python3/dist-packages/joblib/numpy_pickle.py", line 29,
in <module>
from .backports import make_memmap
File "/usr/lib/python3/dist-packages/joblib/backports.py", line 9, in
<module>
from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'
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/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/f6b6638a/attachment-0001.sig>
More information about the Debian-astro-maintainers
mailing list