[Debian-med-packaging] Bug#1055687: khmer ftbfs with Python 3.12
Matthias Klose
doko at debian.org
Fri Nov 10 07:25:49 GMT 2023
Package: src:khmer
Version: 3.0.0~a3+dfsg-5
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12
khmer ftbfs with Python 3.12
[...]
dh_auto_configure -O--buildsystem=pybuild
pybuild --configure -i python{version} -p "3.12 3.11"
I: pybuild base:310: python3.12 setup.py config
/<<PKGBUILDDIR>>/versioneer.py:421: SyntaxWarning: invalid escape
sequence '\s'
LONG_VERSION_PY['git'] = '''
*** NOTE: Found Cython, extension files will be transpiled if this is an
install invocation.
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/setup.py", line 200, in <module>
"define_macros": [("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:395: configure: plugin distutils failed with: exit
code=1: python3.12 setup.py config
dh_auto_configure: error: pybuild --configure -i python{version} -p
"3.12 3.11" returned exit code 13
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
More information about the Debian-med-packaging
mailing list