Closed cho-m closed 9 months ago
When migrating some mercurial-dependent formulae in Homebrew to Python 3.12 (https://github.com/Homebrew/homebrew-core/pull/152277), the CI found that this package is incompatible with Python 3.12 at least due to usage of removed imp https://github.com/frej/fast-export/blob/0d0e90d3280e83580e5531d70ca54450b9593a89/pluginloader/__init__.py#L2
mercurial
imp
Removal documented at https://docs.python.org/3/whatsnew/3.12.html#imp along with recommended importlib equivalent.
importlib
imp has been deprecated since Python 3.4. Given documented support for Python 3.5+, it is probably ideal to use supported importlib module when running Python 3.
When migrating some
mercurial
-dependent formulae in Homebrew to Python 3.12 (https://github.com/Homebrew/homebrew-core/pull/152277), the CI found that this package is incompatible with Python 3.12 at least due to usage of removedimp
https://github.com/frej/fast-export/blob/0d0e90d3280e83580e5531d70ca54450b9593a89/pluginloader/__init__.py#L2Removal documented at https://docs.python.org/3/whatsnew/3.12.html#imp along with recommended
importlib
equivalent.imp
has been deprecated since Python 3.4. Given documented support for Python 3.5+, it is probably ideal to use supportedimportlib
module when running Python 3.