[Debian-astro-maintainers] Bug#839348: astroml: FTBFS: dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13

Ole Streicher olebole at debian.org
Sat Oct 1 18:54:33 UTC 2016


Control: reassign -1 python-sklearn 0.18-1
Control: retitle -1 python-sklearn: wrong import of "parallel"
Control: affects -1 src:astroml

This is a bug in scikit-learn, not in astroml:

$ python
Python 2.7.12+ (default, Sep  1 2016, 20:27:38) 
[GCC 6.2.0 20160822] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sklearn.mixture
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/sklearn/mixture/__init__.py", line 5, in <module>
    from .gmm import sample_gaussian, log_multivariate_normal_density
  File "/usr/lib/python2.7/dist-packages/sklearn/mixture/gmm.py", line 27, in <module>
    from .. import cluster
  File "/usr/lib/python2.7/dist-packages/sklearn/cluster/__init__.py", line 6, in <module>
    from .spectral import spectral_clustering, SpectralClustering
  File "/usr/lib/python2.7/dist-packages/sklearn/cluster/spectral.py", line 16, in <module>
    from ..metrics.pairwise import pairwise_kernels
  File "/usr/lib/python2.7/dist-packages/sklearn/metrics/__init__.py", line 33, in <module>
    from . import cluster
  File "/usr/lib/python2.7/dist-packages/sklearn/metrics/cluster/__init__.py", line 20, in <module>
    from .unsupervised import silhouette_samples
  File "/usr/lib/python2.7/dist-packages/sklearn/metrics/cluster/unsupervised.py", line 13, in <module>
    from ..pairwise import pairwise_distances
  File "/usr/lib/python2.7/dist-packages/sklearn/metrics/pairwise.py", line 27, in <module>
    from ..externals.joblib import parallel
ImportError: cannot import name parallel

It is a regression; 0.17.1-2 (in testing) works fine.

Best regards

Ole



More information about the Debian-astro-maintainers mailing list