Bug#935315: python3-sklearn: a DeprecationWarning is raised when import sklearn

Francesco Muzio muziofg at gmail.com
Wed Aug 21 15:25:03 BST 2019


Package: python3-sklearn
Version: 0.20.2+dfsg-6
Severity: minor

Dear Maintainer,

after upgrading from stretch to buster when import sklearn from python 3.7 a
warning is showed:

/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





-- System Information:
Debian Release: 10.0
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/6 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), 
LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-sklearn depends on:
ii  python3              3.7.3-1
ii  python3-joblib       0.13.0-2
ii  python3-numpy        1:1.16.2-1
ii  python3-scipy        1.1.0-7
ii  python3-sklearn-lib  0.20.2+dfsg-6

Versions of packages python3-sklearn recommends:
ii  python3-matplotlib  3.0.2-2
ii  python3-nose        1.3.7-4
ii  python3-pytest      3.10.1-2

Versions of packages python3-sklearn suggests:
ii  ipython3            5.8.0-1
pn  python-sklearn-doc  <none>
pn  python3-dap         <none>

-- no debconf information



More information about the debian-science-maintainers mailing list