ansiwrap
ansiwrap copied to clipboard
module `inp` has been deprecated in favor of `importlib`
The following warning gets issued when using this library:
.venv/lib/python3.8/site-packages/ansiwrap/core.py:6
.../.venv/lib/python3.8/site-packages/ansiwrap/core.py:6: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Was deprecated back in Python 3.4 and removed in 3.12. A simple try except change should suffice.
Was deprecated back in Python 3.4 and removed in 3.12. A simple try except change should suffice.
https://github.com/jonathaneunice/ansiwrap/pull/20 includes a proposed fix.