Python 3.12, ModuleNotFoundError: No module named 'imp'
Bug #2049942 reported by
Aaron Linville
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ruby Passenger |
Fix Released
|
Unknown
|
|||
passenger (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Attempting to use Passenger with Python 3.12 leads to an error "ModuleNotFound
This was a known bug in passenger and has been fixed in Passenger 6.0.19:
Bug Report: https:/
PR Fix: https:/
Encountered this on focal, but looks like noble is also affected.
Changed in ruby-passenger: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Attached patch that could be used to fix focal (which uses a passenger 5.0.30, which is no longer maintained upstream).
Impact:
Fixes the fatal error with Passenger / Python 3.12 but preserves existing behavior with <=3.11 (which is to just throw a warning). Compatible w/ Python 2.7 also.
Haven't tested full package yet.