Bug#1109960: statsmodels: fails with import with scipy 1.16
Drew Parsons
dparsons at debian.org
Sun Jul 27 10:05:29 BST 2025
Source: statsmodels
Version: 0.14.4+dfsg-1
Severity: normal
Control: tags -1 fixed-upstream
statsmodels fails completely to import with scipy 1.16 (from
experimental).
e.g.
81s /usr/lib/python3/dist-packages/statsmodels/distributions/discrete.py:5: in <module>
81s from scipy._lib._util import _lazywhere
81s E ImportError: cannot import name '_lazywhere' from 'scipy._lib._util' (/usr/lib/python3/dist-packages/scipy/_lib/_util.py)
The problem is fixed upstream,
available in upstream release 0.14.5.
This bug will become RC serious later, once scipy 1.16 is uploaded to
unstable.
-- System Information:
Debian Release: 13.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.38+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the debian-science-maintainers
mailing list