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

Port imp.load_source to importlib #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jstvz
Copy link

@jstvz jstvz commented Oct 25, 2023

The imp module was removed in Python 3.12. This commit replaces its use with the equivalent importlib version given in the 3.12 release notes.

I do see a failure on running the full test suite, but that's also failing on main.

Fixes #95

PS: 👋🏾

The imp module was removed in Python 3.12. This commit replaces its use
with the equivalent importlib version given in the 3.12 [release notes].

[release notes]: https://docs.python.org/3.12/whatsnew/3.12.html#imp
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

Successfully merging this pull request may close these issues.

imp library no longer supported in python 3.12
2 participants