Bug#934941: python-bumps: Please drop unused (build, test) dependency on python{3, }-sklearn

Drew Parsons dparsons at debian.org
Mon Aug 19 04:43:19 BST 2019


Package: python-bumps
Followup-For: Bug #934941

We can drop python-sklearn dependencies to help the python2 RM
transition.

Note though that bumps does use sklearn (in bumps/dream/entropy.py).

We've currently disabled dream tests since there is a test error in
bounds handlers test,
======================================================================
FAIL: bounds handlers test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python3/dist-packages/bumps/dream/bounds.py", line 207, in test
    assert norm(w(array([v, v, v])) - w.apply(v+0)) == 0
AssertionError

----------------------------------------------------------------------

Once that is fixed python3-sklearn will need to be added back to test
dependencies.

But we can live without it in python-bumps. Long live python3.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-bumps depends on:
ii  python             2.7.16-1
ii  python-matplotlib  2.2.3-6
ii  python-numpy       1:1.16.2-1
ii  python-scipy       1.2.2-4
ii  python-six         1.12.0-1
ii  python-typing      3.6.6-1

Versions of packages python-bumps recommends:
ii  bumps-private-libs  0.7.12-1
ii  python-wxgtk3.0     3.0.2.0+dfsg-8

Versions of packages python-bumps suggests:
ii  python-bumps-doc  0.7.12-1
ii  python-sklearn    0.20.2+dfsg-6

-- no debconf information



More information about the debian-science-maintainers mailing list