Package: src:python-argh Version: 0.31.3-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-argh, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --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:131: Building wheel for python3.14 with "build" module I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_argh * Building wheel... Successfully built argh-0.31.3-py3-none-any.whl I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with "installer" module I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" module I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_argh * Building wheel... Successfully built argh-0.31.3-py3-none-any.whl I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_argh/build; python3.14 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_argh/build configfile: pyproject.toml collected 170 items tests/test_assembling.py ...................................... [ 22%] tests/test_completion.py ... [ 24%] tests/test_decorators.py ...... [ 27%] tests/test_dispatching.py ........ [ 32%] tests/test_dto.py .... [ 34%] tests/test_integration.py ...........................................F.. [ 61%] ......... [ 67%] tests/test_interaction.py ..... [ 70%] tests/test_mapping_policies.py .......................... [ 85%] tests/test_regressions.py ............. [ 92%] tests/test_typing_hints.py ........ [ 97%] tests/test_utils.py .... [100%] =================================== FAILURES =================================== __________________________________ test_prog ___________________________________ capsys = <_pytest.capture.CaptureFixture object at 0x7f8e35f5f8c0> def test_prog(capsys: pytest.CaptureFixture[str]): "Program name propagates from sys.argv[0]" def cmd(*, foo=1): return foo parser = DebugArghParser() parser.add_commands([cmd]) usage = get_usage_string() assert run(parser, "-h", exit=True) == 0 captured = capsys.readouterr() > assert captured.out.startswith(usage) E AssertionError: assert False E + where False = <built-in method startswith of str object at 0x7f8e35b399b0>('usage: __main__.py [-h] {cmd} ...\n\n') E + where <built-in method startswith of str object at 0x7f8e35b399b0> = 'usage: python3.14 -m pytest [-h] {cmd} ...\n\npositional arguments:\n {cmd}\n cmd\n\noptions:\n -h, --help show this help message and exit\n'.startswith E + where 'usage: python3.14 -m pytest [-h] {cmd} ...\n\npositional arguments:\n {cmd}\n cmd\n\noptions:\n -h, --help show this help message and exit\n' = CaptureResult(out='usage: python3.14 -m pytest [-h] {cmd} ...\n\npositional arguments:\n {cmd}\n cmd\n\noptions:\n -h, --help show this help message and exit\n', err='').out tests/test_integration.py:815: AssertionError =============================== warnings summary =============================== tests/test_dispatching.py::test_dispatch_command_two_stage /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_argh/build/argh/dispatching.py:168: DeprecationWarning: The argument `namespace` in `dispatch()` is deprecated. It will be removed in the next minor version after v0.31. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_integration.py::test_prog - AssertionError: assert False =================== 1 failed, 169 passed, 1 warning in 0.29s =================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_argh/build; python3.14 -m pytest tests I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_argh/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_argh/build configfile: pyproject.toml collected 170 items tests/test_assembling.py ...................................... [ 22%] tests/test_completion.py ... [ 24%] tests/test_decorators.py ...... [ 27%] tests/test_dispatching.py ........ [ 32%] tests/test_dto.py .... [ 34%] tests/test_integration.py .............................................. [ 61%] ......... [ 67%] tests/test_interaction.py ..... [ 70%] tests/test_mapping_policies.py .......................... [ 85%] tests/test_regressions.py ............. [ 92%] tests/test_typing_hints.py ........ [ 97%] tests/test_utils.py .... [100%] =============================== warnings summary =============================== tests/test_dispatching.py::test_dispatch_command_two_stage /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_argh/build/argh/dispatching.py:168: DeprecationWarning: The argument `namespace` in `dispatch()` is deprecated. It will be removed in the next minor version after v0.31. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================== 170 passed, 1 warning in 0.28s ======================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:13: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

