Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of imp causes deprecation warnings #169

Closed
wimglenn opened this issue Apr 16, 2022 · 4 comments
Closed

Usage of imp causes deprecation warnings #169

wimglenn opened this issue Apr 16, 2022 · 4 comments

Comments

@wimglenn
Copy link
Contributor

Using distlib.wheel now gets warnings

.venv/lib/python3.10/site-packages/distlib/wheel.py:14
  .../.venv/lib/python3.10/site-packages/distlib/wheel.py:14: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
@vsajip
Copy link
Collaborator

vsajip commented May 6, 2022

Unfortunately there's no replacement for imp.load_dynamic(), or at least that's my understanding.

@wimglenn
Copy link
Contributor Author

wimglenn commented May 9, 2022

What's distlib's plan for Python 3.12 support, in that case?

@vsajip
Copy link
Collaborator

vsajip commented May 9, 2022

To look at replacing it with something on top of importlib.

wimglenn added a commit to wimglenn/johnnydep that referenced this issue May 9, 2022
@vsajip
Copy link
Collaborator

vsajip commented May 9, 2022

Should be fixed in 3be4cc0.

@vsajip vsajip closed this as completed May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants