Package: src:scikit-learn Version: 0.18-5 Severity: serious Justification: fails to build from source (but built successfully in the past)
Although this failure happened when the package was binNMUed to add support for python3.6, it is unrelated. The test failures are for tests run with python2.7. Below is an extract from the build log [1]: ====================================================================== FAIL: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/tests/test_common.py.test_non_meta_estimators:check_transformer_data_not_an_array(LocallyLinearEmbedding) ---------------------------------------------------------------------- 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 826, in __call__ return self.check(*args, **kwargs) File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/testing.py", line 348, in wrapper return fn(*args, **kwargs) File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/estimator_checks.py", line 537, in check_transformer_data_not_an_array _check_transformer(name, Transformer, this_X, this_y) File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/estimator_checks.py", line 605, in _check_transformer % Transformer) File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 979, in assert_array_almost_equal precision=decimal) File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 796, in assert_array_compare raise AssertionError(msg) AssertionError: Arrays are not almost equal to 2 decimals fit_transform and transform outcomes not consistent in <class 'sklearn.manifold.locally_linear.LocallyLinearEmbedding'> (mismatch 75.0%) x: array([[ 1.45e-01, -2.98e-01], [ 2.14e-01, 1.60e-12], [ 2.14e-01, -6.13e-12],... y: array([[ -2.56e-01, 2.98e-01], [ -2.97e-02, -8.49e-13], [ -2.97e-02, 3.37e-12],... ====================================================================== FAIL: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/tests/test_common.py.test_non_meta_estimators:check_transformer_general(LocallyLinearEmbedding) ---------------------------------------------------------------------- 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 826, in __call__ return self.check(*args, **kwargs) File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/testing.py", line 348, in wrapper return fn(*args, **kwargs) File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/estimator_checks.py", line 523, in check_transformer_general _check_transformer(name, Transformer, X, y) File "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python2.7/dist-packages/sklearn/utils/estimator_checks.py", line 605, in _check_transformer % Transformer) File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 979, in assert_array_almost_equal precision=decimal) File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 796, in assert_array_compare raise AssertionError(msg) AssertionError: Arrays are not almost equal to 2 decimals fit_transform and transform outcomes not consistent in <class 'sklearn.manifold.locally_linear.LocallyLinearEmbedding'> (mismatch 75.0%) x: array([[ -1.49e-01, -2.98e-01], [ -2.11e-01, 2.92e-12], [ -2.11e-01, 9.62e-12],... y: array([[ -3.56e-02, 2.98e-01], [ -2.56e-01, -4.06e-12], [ -2.56e-01, -9.95e-12],... ---------------------------------------------------------------------- Ran 6891 tests in 3731.118s FAILED (SKIP=17, failures=2) debian/rules:88: recipe for target 'python-test2.7' failed Scott K [1] https://buildd.debian.org/status/fetch.php?pkg=scikit-learn&arch=mips64el&ver=0.18-5%2Bb1&stamp=1499282634&raw=0