Bug#994896: pyhst2: FTBFS due to missing B-D: python3-six

Andreas Beckmann anbe at debian.org
Wed Sep 22 19:58:36 BST 2021


Source: pyhst2
Version: 2020c-1
Severity: serious
Tags: sid bookworm

Hi,

pyhst2 FTBFS in current sid when running the tests:

   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:232: cd /build/pyhst2-2020c/.pybuild/cpython3_3.9_pyhst2/build; python3.9 -m unittest discover -v 
PyHST2_2020c.test (unittest.loader._FailedTest) ... ERROR

======================================================================
ERROR: PyHST2_2020c.test (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: PyHST2_2020c.test
Traceback (most recent call last):
  File "/build/pyhst2-2020c/.pybuild/cpython3_3.9_pyhst2/build/PyHST2_2020c/third_party/six.py", line 46, in <module>
    from ._local.six import *  # noqa
ModuleNotFoundError: No module named 'PyHST2_2020c.third_party._local'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/unittest/loader.py", line 470, in _find_test_path
    package = self._get_module_from_name(name)
  File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/build/pyhst2-2020c/.pybuild/cpython3_3.9_pyhst2/build/PyHST2_2020c/test/__init__.py", line 44, in <module>
    from . import utilstest
  File "/build/pyhst2-2020c/.pybuild/cpython3_3.9_pyhst2/build/PyHST2_2020c/test/utilstest.py", line 50, in <module>
    from ..third_party import six
  File "/build/pyhst2-2020c/.pybuild/cpython3_3.9_pyhst2/build/PyHST2_2020c/third_party/six.py", line 49, in <module>
    from six import *  # noqa
ModuleNotFoundError: No module named 'six'


----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd /build/pyhst2-2020c/.pybuild/cpython3_3.9_pyhst2/build; python3.9 -m unittest discover -v 
dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13
make: *** [debian/rules:11: build] Error 25


This looks like the package is missing an explicit
  Build-Depends: python3-six
as that package is no longer pulled in transitively.


Andreas



More information about the debian-science-maintainers mailing list