Package: src:scikit-learn Version: 0.20.2+dfsg-6 Severity: important Tags: sid buster
The debian local patch uses the deprecated imp module, causing the python-scipy autopkg tests to fail. While joblib is patched out, there is still sklearn/utils/_joblib.py which tries to import the local module when SKLEARN_SITE_JOBLIB is not defined. I think this should be patched as well to always import the site joblib. autopkgtest [10:01:06]: test import: - - - - - - - - - - results - - - - - - - - - - import FAIL stderr: /usr/lib/python3/dist-packages/sklearn/externals/joblib.py:1: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses autopkgtest [10:01:06]: test import: - - - - - - - - - - stderr - - - - - - - - - - /usr/lib/python3/dist-packages/sklearn/externals/joblib.py:1: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp autopkgtest [10:01:06]: @@@@@@@@@@@@@@@@@@@@ summary import FAIL stderr: /usr/lib/python3/dist-packages/sklearn/externals/joblib.py:1: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses -- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
