Package: python3-scipy
Version: 1.8.1-7
Severity: serious

Something significant seems to have changed in version 1.8.1-7 of this
package, as it now breaks the spyder 5.3.1+dfsg-1 autopkgtests: see
https://ci.debian.net/packages/s/spyder/testing/amd64/
The tests passed with version 1.8.1-6.

The relevant lines of the log file are:

_ ERROR collecting 
spyder/plugins/variableexplorer/widgets/tests/test_arrayeditor.py _
ImportError while importing test module 
'/tmp/autopkgtest-lxc._c2d6g21/downtmp/build.YmB/src/spyder/plugins/variableexplorer/widgets/tests/test_arrayeditor.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/_pytest/python.py:608: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/usr/lib/python3/dist-packages/_pytest/pathlib.py:533: in import_path
    importlib.import_module(module_name)
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:168: in exec_module
    exec(co, module.__dict__)
spyder/plugins/variableexplorer/widgets/tests/test_arrayeditor.py:24: in 
<module>
    from scipy.io import loadmat
/usr/lib/python3/dist-packages/scipy/__init__.py:153: in <module>
    from scipy._lib._ccallback import LowLevelCallable
/usr/lib/python3/dist-packages/scipy/_lib/_ccallback.py:1: in <module>
    from . import _ccallback_c
E   ImportError: cannot import name '_ccallback_c' from 'scipy._lib' 
(/usr/lib/python3/dist-packages/scipy/_lib/__init__.py)

The same seems to have happened to matplotlib in version 3.5.2-2, in case
that helps.

Best wishes,

   Julian

Reply via email to