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
============================= test session starts ==============================
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
collecting ... collected 0 items / 2 errors

==================================== ERRORS ====================================
____ ERROR collecting .pybuild/cpython3_3.9_pyemd/build/test/test_pyemd.py _____
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'
____ ERROR collecting .pybuild/cpython3_3.9_pyemd/build/test/test_pyemd.py _____
ImportError 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'
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 2 error in 0.28 seconds ============================
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