Source: vanguards
Version: 0.3.1-2.4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240702 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom --test-args='cd {build_dir}; python3 -m 
> pytest /<<PKGBUILDDIR>>/tests'
> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; 
> python3 -m pytest /<<PKGBUILDDIR>>/tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0
> rootdir: /<<PKGBUILDDIR>>
> collected 9 items / 1 error
> 
> ==================================== ERRORS 
> ====================================
> _____________________ ERROR collecting tests/test_main.py 
> ______________________
> ImportError while importing test module '/<<PKGBUILDDIR>>/tests/test_main.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> vanguards/config.py:17: in <module>
>     from configparser import SafeConfigParser, Error
> E   ImportError: cannot import name 'SafeConfigParser' from 'configparser' 
> (/usr/lib/python3.12/configparser.py). Did you mean: 'RawConfigParser'?
> 
> During handling of the above exception, another exception occurred:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> ../../../tests/test_main.py:9: in <module>
>     import vanguards.config
> vanguards/config.py:19: in <module>
>     from ConfigParser import SafeConfigParser, Error
> E   ModuleNotFoundError: No module named 'ConfigParser'
> =========================== short test summary info 
> ============================
> ERROR ../../../tests/test_main.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
> !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.37s 
> ===============================
> E: pybuild pybuild:389: test: plugin custom failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3 -m pytest 
> /<<PKGBUILDDIR>>/tests
> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
> python3 -m pytest /<<PKGBUILDDIR>>/tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0
> rootdir: /<<PKGBUILDDIR>>
> collected 9 items / 1 error
> 
> ==================================== ERRORS 
> ====================================
> _____________________ ERROR collecting tests/test_main.py 
> ______________________
> ImportError while importing test module '/<<PKGBUILDDIR>>/tests/test_main.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> vanguards/config.py:17: in <module>
>     from configparser import SafeConfigParser, Error
> E   ImportError: cannot import name 'SafeConfigParser' from 'configparser' 
> (/usr/lib/python3.12/configparser.py). Did you mean: 'RawConfigParser'?
> 
> During handling of the above exception, another exception occurred:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> ../../../tests/test_main.py:9: in <module>
>     import vanguards.config
> vanguards/config.py:19: in <module>
>     from ConfigParser import SafeConfigParser, Error
> E   ModuleNotFoundError: No module named 'ConfigParser'
> =========================== short test summary info 
> ============================
> ERROR ../../../tests/test_main.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
> !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.30s 
> ===============================
> E: pybuild pybuild:389: test: plugin custom failed with: exit code=2: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3 -m pytest 
> /<<PKGBUILDDIR>>/tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 
> 3.12" --system=custom "--test-args=cd {build_dir}; python3 -m pytest 
> /<<PKGBUILDDIR>>/tests" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/07/02/vanguards_0.3.1-2.4_unstable.log

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