[Bug 2044383] Re: khmer 3.0.0 FTBFS against Python 3.12
Bug Watch Updater
2044383 at bugs.launchpad.net
Thu Nov 23 15:41:12 UTC 2023
** Changed in: khmer (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2044383
Title:
khmer 3.0.0 FTBFS against Python 3.12
Status in khmer package in Ubuntu:
New
Status in khmer package in Debian:
New
Bug description:
khmer FTBFS against Python 3.12. See
https://launchpadlibrarian.net/698370219/buildlog_ubuntu-noble-
amd64.khmer_3.0.0~a3+dfsg-5build1_BUILDING.txt.gz
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean || /bin/true
pybuild --clean -i python{version} -p "3.12 3.11"
I: pybuild base:310: python3.12 setup.py clean
/<<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'?
Ever since Python 3.2, configparser.SafeConfigParser has been deprecated in
favor of configparser.ConfigParser. An alias existed for backward compatibility
but the alias was dropped from Python 3.12
The project upstream seems pretty dead (last change is 4 years old)
but if we can make the package build against Python 3.12 with a simple
change, I think that's worth our time.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/khmer/+bug/2044383/+subscriptions
More information about the Ubuntu-sponsors
mailing list