Compatibility with Python 3.12, ModuleNotFoundError: No module named 'imp'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Breezy |
Fix Released
|
Undecided
|
Jelmer Vernooij |
Bug Description
Hello,
the imp module was removed from Python 3.12 and it breaks breezy. It would be good to port Breezy to use importlib instead. As a stopgap measure, in Fedora, we are adding a dependency on zombie-imp package.
https:/
<mock-chroot> sh-5.2# brz
Traceback (most recent call last):
File "/usr/bin/brz", line 75, in <module>
main()
File "/usr/lib64/
import breezy.commands
File "/usr/lib64/
from .plugin import disable_plugins, load_plugins, plugin_name
File "/usr/lib64/
import imp
ModuleNotFoundE
Which version of breezy is this? I don't see any imports of imp in 3.3.3.