Source: python-argh
Version: 0.26.2-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230726 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
> I: pybuild base:240: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
> copying argh/completion.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
> copying argh/compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
> copying argh/io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
> copying argh/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
> copying argh/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
> copying argh/dispatching.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
> copying argh/interaction.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
> copying argh/constants.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
> copying argh/exceptions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
> copying argh/helpers.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
> copying argh/decorators.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
> copying argh/assembling.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build/argh
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build; 
> python3.11 -m pytest test
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
> rootdir: /<<PKGBUILDDIR>>
> collected 81 items
> 
> test/test_assembling.py .....ss.........                                 [ 
> 19%]
> test/test_compat.py .                                                    [ 
> 20%]
> test/test_decorators.py ......                                           [ 
> 28%]
> test/test_dispatching.py ..                                              [ 
> 30%]
> test/test_integration.py x.......xxx..................................F. [ 
> 88%]
>                                                                          [ 
> 88%]
> test/test_interaction.py ...                                             [ 
> 92%]
> test/test_regressions.py ......                                          
> [100%]
> 
> =================================== FAILURES 
> ===================================
> __________________________________ test_prog 
> ___________________________________
> 
>     def test_prog():
>         "Program name propagates from sys.argv[0]"
>     
>         def cmd(foo=1):
>             return foo
>     
>         p = DebugArghParser()
>         p.add_commands([cmd])
>     
>         usage = get_usage_string()
>     
> >       capture = py.io.StdCapture()
> E       AttributeError: module 'py' has no attribute 'io'
> 
> test/test_integration.py:775: AttributeError
> =========================== short test summary info 
> ============================
> FAILED test/test_integration.py::test_prog - AttributeError: module 'py' has 
> ...
> ============== 1 failed, 74 passed, 2 skipped, 4 xfailed in 0.79s 
> ==============
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_argh/build; python3.11 -m pytest test
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/python-argh_0.26.2-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&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.

Reply via email to