Bug#972374: qiskit-terra ftbfs with python3.9 as supported python3 version

Matthias Klose doko at debian.org
Sat Oct 17 10:06:15 BST 2020


Package: src:qiskit-terra
Version: 0.12.0-2
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9

qiskit-terra ftbfs with python3.9 as supported python3 version:

[...]
   dh_auto_test -a -O--buildsystem=pybuild
	pybuild --test -i python{version} -p "3.9 3.8"
I: pybuild pybuild:284: cp -r /<<PKGBUILDDIR>>/qiskit/schemas/examples
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/qiskit/schemas
I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9
-m pytest test/python -k "not (test_generate_latex or TestLatexSourceGenerator
or test_jupyter_jobs_pbars)"
============================= test session starts ==============================
platform linux -- Python 3.9.0+, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
rootdir: /<<PKGBUILDDIR>>
collected 0 items / 166 errors

==================================== ERRORS ====================================
_ ERROR collecting .pybuild/cpython3_3.9/build/test/python/test_dagcircuit.py __
/usr/lib/python3/dist-packages/py/_path/local.py:704: in pyimport
    __import__(modname)
test/__init__.py:18: in <module>
    from qiskit.test.utils import generate_cases
qiskit/test/__init__.py:17: in <module>
    from .base import QiskitTestCase
qiskit/test/base.py:29: in <module>
    from .utils import Path, _AssertNoLogsContext, setup_test_logging
qiskit/test/utils.py:71: in <module>
    class _AssertNoLogsContext(unittest.case._AssertLogsContext):
E   AttributeError: module 'unittest.case' has no attribute '_AssertLogsContext'
__ ERROR collecting .pybuild/cpython3_3.9/build/test/python/test_examples.py ___
/usr/lib/python3/dist-packages/py/_path/local.py:704: in pyimport
    __import__(modname)
test/__init__.py:18: in <module>
    from qiskit.test.utils import generate_cases
qiskit/test/__init__.py:17: in <module>
    from .base import QiskitTestCase
qiskit/test/base.py:29: in <module>
    from .utils import Path, _AssertNoLogsContext, setup_test_logging
qiskit/test/utils.py:71: in <module>
    class _AssertNoLogsContext(unittest.case._AssertLogsContext):
E   AttributeError: module 'unittest.case' has no attribute '_AssertLogsContext'
_ ERROR collecting .pybuild/cpython3_3.9/build/test/python/test_qasm_parser.py _



More information about the debian-science-maintainers mailing list