Package: python3-matplotlib Version: 3.5.2-2 Severity: serious Something significant seems to have changed in version 3.5.2-2 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/app/tests/test_mainwindow.py _____________ ImportError while importing test module '/tmp/autopkgtest-lxc.lani2ms0/downtmp/build.v6H/src/spyder/app/tests/test_mainwindow.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/app/tests/test_mainwindow.py:32: in <module> from matplotlib.testing.compare import compare_images /usr/lib/python3/dist-packages/matplotlib/__init__.py:109: in <module> from . import _api, _version, cbook, docstring, rcsetup /usr/lib/python3/dist-packages/matplotlib/cbook/__init__.py:31: in <module> from matplotlib import _api, _c_internal_utils E ImportError: cannot import name '_c_internal_utils' from partially initialized module 'matplotlib' (most likely due to a circular import) (/usr/lib/python3/dist-packages/matplotlib/__init__.py) The same seems to have happened to scipy in version 1.8.1-7, in case that helps. Best wishes, Julian