[Debian-med-packaging] Bug#1056037: python-sqt ftbfs with Python 3.12

Matthias Klose doko at debian.org
Thu Nov 16 08:36:58 GMT 2023


Package: src:python-sqt
Version: 0.8.0-6
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12

python-sqt ftbfs with Python 3.12:

[...]
dh clean --with python3 --buildsystem=pybuild
    dh_auto_clean -O--buildsystem=pybuild
	pybuild --clean -i python{version} -p "3.12 3.11"
I: pybuild base:310: python3.12 setup.py clean
/<<PKGBUILDDIR>>/versioneer.py:485: SyntaxWarning: invalid escape 
sequence '\s'
   LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
   File "/<<PKGBUILDDIR>>/setup.py", line 95, in <module>
     version = versioneer.get_version(),
               ^^^^^^^^^^^^^^^^^^^^^^^^
   File "/<<PKGBUILDDIR>>/versioneer.py", line 1473, in get_version
     return get_versions()["version"]
            ^^^^^^^^^^^^^^
   File "/<<PKGBUILDDIR>>/versioneer.py", line 1406, in get_versions
     cfg = get_config_from_root(root)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/<<PKGBUILDDIR>>/versioneer.py", line 412, in get_config_from_root
     parser = configparser.SafeConfigParser()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 
'SafeConfigParser'. Did you mean: 'RawConfigParser'?
E: pybuild pybuild:395: 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 3.11" 
returned exit code 13



More information about the Debian-med-packaging mailing list