Skip to content

Port imp.load_source to importlib#96

Open
jstvz wants to merge 1 commit intoboakley:masterfrom
jstvz:use-importlib
Open

Port imp.load_source to importlib#96
jstvz wants to merge 1 commit intoboakley:masterfrom
jstvz:use-importlib

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