Deprecate Use of imp in Favor of importlib on Python >= 3.1
See original GitHub issueThe imp
module is deprecated in favor of importlib
as of Python 3.4 … should update Cement (with backward compat for imp on Python < 3.1).
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
imp module is deprecated in favour of importlib - Stack Overflow
I'm using pandas in my code and in pandas they use the imp nodule. Now I get the following ...
Read more >importlib — The implementation of import — Python 3.11.1 ...
Deprecated since version 3.7: This ABC is deprecated in favour of supporting resource loading through importlib.resources.abc.ResourceReader .
Read more >1663661 – vdsm uses obsolete python module 'imp'
python 3.1 introduced a new module called importlib. imp is deprecated since 3.4. Also some parts of importlib will be deprecated in 3.6....
Read more >[Python] Warnings during pytest - New Relic Explorers Hub
/home/app/.local/lib/python3.8/site-packages/newrelic/core/application.py:26: DeprecationWarning: the imp module is deprecated in favour of ...
Read more >Changelog - pip documentation v22.3.1
Deprecate --install-options which forces pip to use the deprecated ... Enable the importlib.metadata metadata implementation by default on Python 3.11 (or ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I recently stumbled across this issue when googling for a solution for another project with a similar problem. I managed to figure a way of importing by looking at the code for importlib
The
imp
module will be removed in Python 3.12, moving this to Cement 3.2 dev.