Bug#972961: pyemd FTBFS: test fails
Adrian Bunk
bunk at debian.org
Mon Oct 26 16:25:50 GMT 2020
Source: pyemd
Version: 0.5.1-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/package.php?p=pyemd&suite=sid
...
dh_auto_test -a -O--buildsystem=pybuild
I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyemd/build; python3.9 -m pytest test
[1m============================= test session starts ==============================[0m
platform linux -- Python 3.9.0+, pytest-4.6.11, py-1.9.0, pluggy-0.13.0 -- /usr/bin/python3.9
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>, inifile: pytest.ini
[1mcollecting ... [0mcollected 0 items / 2 errors
==================================== ERRORS ====================================
[31m[1m____ ERROR collecting .pybuild/cpython3_3.9_pyemd/build/test/test_pyemd.py _____[0m
[1m[31mtest/test_pyemd.py[0m:9: in <module>
[1m from pyemd import emd, emd_samples, emd_with_flow[0m
[1m[31m../../../pyemd/__init__.py[0m:75: in <module>
[1m from .emd import emd, emd_with_flow, emd_samples[0m
[1m[31mE ModuleNotFoundError: No module named 'pyemd.emd'[0m
[31m[1m____ ERROR collecting .pybuild/cpython3_3.9_pyemd/build/test/test_pyemd.py _____[0m
[31mImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyemd/build/test/test_pyemd.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/_pytest/python.py:507: in _importtestmodule
mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3/dist-packages/py/_path/local.py:704: in pyimport
__import__(modname)
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:304: in load_module
exec(co, mod.__dict__)
test/test_pyemd.py:9: in <module>
from pyemd import emd, emd_samples, emd_with_flow
../../../pyemd/__init__.py:75: in <module>
from .emd import emd, emd_with_flow, emd_samples
E ModuleNotFoundError: No module named 'pyemd.emd'[0m
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
[31m[1m=========================== 2 error in 0.28 seconds ============================[0m
E: pybuild pybuild:352: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyemd/build; python3.9 -m pytest test
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 3.8" returned exit code 13
make: *** [debian/rules:8: binary-arch] Error 25
More information about the debian-science-maintainers
mailing list