Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #915922

Bug#907806: scikit-learn: FTBFS in buster/sid (could not import 'distributed')

From Santiago Vila <sanvila@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#907806: scikit-learn: FTBFS in buster/sid (could not import 'distributed')
Date 2018-09-02 14:40 +0200
Message-ID <wtzPA-1zI-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: src:scikit-learn
Version: 0.19.2-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
py3versions: no X-Python3-Version in control file, using supported versions
py3versions: no X-Python3-Version in control file, using supported versions
: # Explicit build system to avoid use of all-in-1 Makefile
dh build-indep --buildsystem=python_distutils --with python2,python3,autoreconf
   dh_update_autotools_config -i -O--buildsystem=python_distutils
   debian/rules override_dh_autoreconf
make[1]: Entering directory '/<<PKGBUILDDIR>>'
py3versions: no X-Python3-Version in control file, using supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh_autoreconf debian/rules -- clean_generated
make[2]: Entering directory '/<<PKGBUILDDIR>>'
py3versions: no X-Python3-Version in control file, using supported versions
py3versions: no X-Python3-Version in control file, using supported versions

[... snipped ...]

    raise Skipped("could not import %r" % (modname,), allow_module_level=True)
Skipped: could not import 'distributed'

======================================================================
ERROR: sklearn.tests.test_common.test_import_all_consistency
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/testing.py", line 291, in wrapper
    return fn(*args, **kwargs)
  File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/tests/test_common.py", line 131, in test_import_all_consistency
    package = __import__(modname, fromlist="dummy")
  File "/usr/lib/python2.7/dist-packages/joblib/test/test_dask.py", line 12, in <module>
    distributed = pytest.importorskip('distributed')
  File "/usr/lib/python2.7/dist-packages/_pytest/outcomes.py", line 138, in importorskip
    raise Skipped("could not import %r" % (modname,), allow_module_level=True)
Skipped: could not import 'distributed'

======================================================================
ERROR: sklearn.tests.test_docstring_parameters.test_tabs
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/testing.py", line 291, in wrapper
    return fn(*args, **kwargs)
  File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/tests/test_docstring_parameters.py", line 143, in test_tabs
    mod = importlib.import_module(modname)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/lib/python2.7/dist-packages/joblib/test/test_dask.py", line 12, in <module>
    distributed = pytest.importorskip('distributed')
  File "/usr/lib/python2.7/dist-packages/_pytest/outcomes.py", line 138, in importorskip
    raise Skipped("could not import %r" % (modname,), allow_module_level=True)
Skipped: could not import 'distributed'

----------------------------------------------------------------------
Ran 3895 tests in 169.771s

FAILED (SKIP=19, errors=6)
make[1]: *** [debian/rules:89: python-test2.7] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:42: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/scikit-learn.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#907806: scikit-learn: FTBFS in buster/sid (could not import 'distributed') Santiago Vila <sanvila@debian.org> - 2018-09-02 14:40 +0200
  Bug#907806: How to disable tests for Python2 only? Andreas Tille <andreas@an3as.eu> - 2018-09-10 16:40 +0200
  Bug#907806: How to disable tests for Python2 only? eamanu15 <emmanuelarias30@gmail.com> - 2018-09-10 17:50 +0200
  Bug#907806: How to disable tests for Python2 only? Yaroslav Halchenko <debian@onerussian.com> - 2018-09-10 17:50 +0200
    Bug#907806: How to disable tests for Python2 only? Andreas Tille <andreas@an3as.eu> - 2018-09-10 21:50 +0200
      Bug#907806: How to disable tests for Python2 only? Andreas Tille <andreas@an3as.eu> - 2018-09-24 08:10 +0200
  Bug#907806: How to disable tests for Python2 only? Yaroslav Halchenko <debian@onerussian.com> - 2018-09-24 17:40 +0200
    Bug#907806: How to disable tests for Python2 only? Andreas Tille <andreas@an3as.eu> - 2018-09-26 13:10 +0200

csiph-web