ansiwrap
ansiwrap copied to clipboard
Fix Python 3.12 compatibility
This method of replacing the deprecated-and-removed imp
with importlib
seems OK.
Builds on and includes https://github.com/jonathaneunice/ansiwrap/pull/19.
@jonathaneunice may we merge this PR?
The corresponding feedstock in conda-forge has a proposed workaround for Python versions<3.12 (https://github.com/conda-forge/ansiwrap-feedstock/pull/3) and there is a corresponding patch in the metadata preventing installing the package for Python 3.12. The release of this fix will solve the issue.
@jonathaneunice are you still maintaining this package?
Anything preventing this PR from being merged? I am using python 3.12 and am getting ModuleNotFoundError: No module named 'imp'