Source: ledger-autosync Version: 1.0.3.22.g4edbb5b-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: [email protected] 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 build > dh build --with python3 --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > dh_auto_build -O--buildsystem=pybuild > I: pybuild plugin_pyproject:110: Building wheel for python3.12 with "build" > module > I: pybuild base:310: python3.12 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ledger-autosync > * Building wheel... > Successfully built ledger_autosync-1.0.3-py3-none-any.whl > I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.12 with > "installer" module > I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" > module > I: pybuild base:310: python3.11 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ledger-autosync > * Building wheel... > Successfully built ledger_autosync-1.0.3-py3-none-any.whl > I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with > "installer" module > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ledger-autosync/build; python3.12 -m > pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ledger-autosync/build > configfile: pyproject.toml > collected 78 items / 2 errors > > ==================================== ERRORS > ==================================== > ______________________ ERROR collecting tests/test_cli.py > ______________________ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ledger-autosync/build/tests/test_cli.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) > tests/test_cli.py:29: in <module> > from ledgerautosync.cli import find_ledger_file, run > ledgerautosync/cli.py:24: in <module> > import imp > E ModuleNotFoundError: No module named 'imp' > ___________________ ERROR collecting tests/test_weird_ofx.py > ___________________ > ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ledger-autosync/build/tests/test_weird_ofx.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) > tests/test_weird_ofx.py:27: in <module> > from ledgerautosync.cli import run > ledgerautosync/cli.py:24: in <module> > import imp > E ModuleNotFoundError: No module named 'imp' > =========================== short test summary info > ============================ > ERROR tests/test_cli.py > ERROR tests/test_weird_ofx.py > !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection > !!!!!!!!!!!!!!!!!!!! > ============================== 2 errors in 0.20s > =============================== > E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ledger-autosync/build; python3.12 -m > pytest tests > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ledger-autosync/build; python3.11 -m > pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ledger-autosync/build > configfile: pyproject.toml > collected 101 items > > tests/test_cli.py ....... [ > 6%] > tests/test_converter.py ......... [ > 15%] > tests/test_ledger.py ..................s...........s.s [ > 48%] > tests/test_ofx_formatter.py ......................s.s [ > 73%] > tests/test_sync.py ........... [ > 84%] > tests/test_weird_ofx.py ................ > [100%] > > =============================== warnings summary > =============================== > ledgerautosync/cli.py:24 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ledger-autosync/build/ledgerautosync/cli.py:24: > 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 > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =================== 96 passed, 5 skipped, 1 warning in 3.57s > =================== > 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/ledger-autosync_1.0.3.22.g4edbb5b-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected] or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&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.

