[Bug 2044383] [NEW] khmer 3.0.0 FTBFS against Python 3.12

Launchpad Bug Tracker 2044383 at bugs.launchpad.net
Sun Nov 26 20:22:15 UTC 2023


You have been subscribed to a public bug by Olivier Gayot (ogayot):

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.

** Affects: khmer (Ubuntu)
     Importance: High
     Assignee: Olivier Gayot (ogayot)
         Status: Fix Committed

** Affects: khmer (Debian)
     Importance: Unknown
         Status: New

-- 
khmer 3.0.0 FTBFS against Python 3.12
https://bugs.launchpad.net/bugs/2044383
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list