Source: python-markdown2 Version: 2.4.1-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231212 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary --with python3 --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > pybuild --configure -i python{version} -p "3.12 3.11" > I: pybuild base:310: python3.12 setup.py config > running config > I: pybuild base:310: python3.11 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > pybuild --build -i python{version} -p "3.12 3.11" > I: pybuild base:310: /usr/bin/python3.12 setup.py build > running build > running build_py > copying lib/markdown2.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_markdown2/build > running build_scripts > creating build > creating build/scripts-3.12 > copying and adjusting bin/markdown2 -> build/scripts-3.12 > changing mode of build/scripts-3.12/markdown2 from 644 to 755 > I: pybuild base:310: /usr/bin/python3 setup.py build > running build > running build_py > copying lib/markdown2.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_markdown2/build > running build_scripts > creating build/scripts-3.11 > copying and adjusting bin/markdown2 -> build/scripts-3.11 > changing mode of build/scripts-3.11/markdown2 from 644 to 755 > dh_auto_test -O--buildsystem=pybuild > pybuild --test --test-pytest -i python{version} -p "3.12 3.11" > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_markdown2/build; python3.12 -m pytest > test > ============================= test session starts > ============================== > platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > collected 0 items / 1 error > > ==================================== ERRORS > ==================================== > _ ERROR collecting > .pybuild/cpython3_3.12_markdown2/build/test/test_markdown2.py _ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_markdown2/build/test/test_markdown2.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: > /usr/lib/python3.12/importlib/__init__.py:90: in import_module > return _bootstrap._gcd_import(name[level:], package, level) > test/test_markdown2.py:19: in <module> > from testlib import TestError, TestSkipped, tag > test/testlib.py:67: in <module> > import imp > E ModuleNotFoundError: No module named 'imp' > =========================== short test summary info > ============================ > ERROR test/test_markdown2.py > !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection > !!!!!!!!!!!!!!!!!!!! > =============================== 1 error in 0.17s > =============================== > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_markdown2/build; python3.12 -m pytest > test > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_markdown2/build; python3.11 -m pytest > test > ============================= test session starts > ============================== > platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > collected 8 items > > test/test_markdown2.py .......x > [100%] > > =============================== warnings summary > =============================== > test/testlib.py:67 > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_markdown2/build/test/testlib.py:67: > DeprecationWarning: the imp module is deprecated in favour of importlib and > slated for removal in Python 3.12; see the module's documentation for > alternative uses > import imp > > .pybuild/cpython3_3.11_markdown2/build/test/test_markdown2.py:586 > .pybuild/cpython3_3.11_markdown2/build/test/test_markdown2.py:586: > PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_cases > will be ignored > > test/testlib.py:83 > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_markdown2/build/test/testlib.py:83: > PytestCollectionWarning: cannot collect test class 'TestError' because it has > a __init__ constructor (from: > .pybuild/cpython3_3.11_markdown2/build/test/test_markdown2.py) > class TestError(Exception): > > test/testlib.py:86 > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_markdown2/build/test/testlib.py:86: > PytestCollectionWarning: cannot collect test class 'TestSkipped' because it > has a __init__ constructor (from: > .pybuild/cpython3_3.11_markdown2/build/test/test_markdown2.py) > class TestSkipped(Exception): > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =================== 7 passed, 1 xfailed, 4 warnings in 0.20s > =================== > rm -fr -- /tmp/dh-xdg-rundir-oYcCQbgg > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 > 3.11" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/12/12/python-markdown2_2.4.1-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.