Bug#982256: spyder-line-profiler FTBFS with Spyder 4.2.1
Adrian Bunk
bunk at debian.org
Sun Feb 7 19:12:40 GMT 2021
Source: spyder-line-profiler
Version: 0.1.1-1.1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/fetch.php?pkg=spyder-line-profiler&arch=all&ver=0.1.1-1.1&stamp=1612695817&raw=0
...
==================================== ERRORS ====================================
_ ERROR collecting .pybuild/cpython3_3.9_spyder-line-profiler/build/spyder_line_profiler/widgets/tests/test_lineprofiler.py _
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_spyder-line-profiler/build/spyder_line_profiler/widgets/tests/test_lineprofiler.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
spyder_line_profiler/__init__.py:12: in <module>
from .lineprofiler import LineProfiler
spyder_line_profiler/lineprofiler.py:18: in <module>
from spyder.plugins import SpyderPluginWidget, runconfig
E ImportError: cannot import name 'SpyderPluginWidget' from 'spyder.plugins' (/usr/lib/python3/dist-packages/spyder/plugins/__init__.py)
------------------------------- Captured stdout --------------------------------
Update LANGUAGE_CODES (inside config/base.py) if a new translation has been added to Spyder
------------------------------- Captured stderr --------------------------------
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-buildd'
=========================== short test summary info ============================
ERROR spyder_line_profiler/widgets/tests/test_lineprofiler.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.65s ===============================
E: pybuild pybuild:353: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_spyder-line-profiler/build; python3.9 -m pytest
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13
make: *** [debian/rules:12: build-indep] Error 25
Compatibility withg Spyder 4 seems to be in the latest upstream version.
More information about the debian-science-maintainers
mailing list