Running with Python 3.12 failed because imp was removed.
Bug #2054133 reported by
Dominik Viererbe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libapache2-mod-python (Debian) |
Fix Released
|
Unknown
|
|||
libapache2-mod-python (Ubuntu) |
Fix Released
|
Undecided
|
Dominik Viererbe | ||
Noble |
Fix Released
|
Undecided
|
Dominik Viererbe |
Bug Description
Running libapache2-
This is caused by the missing library imp in Python 3.12.
The Python library imp is marked as deprecated since Python 3.4 and was removed in Python 3.12. The documentation recommends replacing it with importlib. See https:/
Related branches
~dviererbe/ubuntu/+source/libapache2-mod-python:fix-lp2054133
Rejected
for merging
into
ubuntu/+source/libapache2-mod-python:ubuntu/devel
- Graham Inggs (community): Disapprove
- git-ubuntu import: Pending requested
-
Diff: 166 lines (+78/-19)4 files modifieddebian/changelog (+11/-0)
debian/patches/13_replace-imp.patch (+22/-7)
debian/tests/control (+1/-1)
debian/tests/smoke (+44/-11)
Changed in libapache2-mod-python (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Dominik Viererbe (dviererbe) |
summary: |
- Rebuild with Python 3.12 failed because imp was removed. + Running with Python 3.12 failed because imp was removed. |
description: | updated |
Changed in libapache2-mod-python (Debian): | |
status: | Unknown → New |
Changed in libapache2-mod-python (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
I am currently building a patch in a PPA: https:/ /launchpad. net/~dviererbe/ +archive/ ubuntu/ lp2054133