[Debian-med-packaging] Bug#1074664: python-questplus: FTBFS: AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

Lucas Nussbaum lucas at debian.org
Tue Jul 2 13:45:04 BST 2024


Source: python-questplus
Version: 2019.4-6
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at 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):
>  debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:311: python3.12 setup.py clean 
> /<<PKGBUILDDIR>>/versioneer.py:421: SyntaxWarning: invalid escape sequence '\s'
>   LONG_VERSION_PY['git'] = '''
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 12, in <module>
>     version=versioneer.get_version(),
>             ^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/versioneer.py", line 1480, in get_version
>     return get_versions()["version"]
>            ^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/versioneer.py", line 1412, in get_versions
>     cfg = get_config_from_root(root)
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/versioneer.py", line 342, in get_config_from_root
>     parser = configparser.SafeConfigParser()
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
> E: pybuild pybuild:389: clean: plugin distutils failed with: exit code=1: python3.12 setup.py clean 
> dh_auto_clean: error: pybuild --clean -i python{version} -p 3.12 returned exit code 13
> make: *** [debian/rules:11: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2024/07/02/python-questplus_2019.4-6_unstable.log

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



More information about the Debian-med-packaging mailing list