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

Replaced imp module with importlib.util #1675

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dikwickley
Copy link

As imp module was deprecated in favour of importlib, it was breaking for python3.12

I tested it out and had to replace
imp.find_module with importlib.util.spec_from_file_location and
imp.load_module with importlib.util.module_from_spec

Fixes #1673

@ethanwhite can you review this

@henrykironde
Copy link
Contributor

@dikwickley, Thank you for the PR.

Usually, we recommend that the tests pass successfully, and then we review the PR.

If you haven't attempted and are unable to pass the tests, you can ask us to look into what happened.

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.

Installation failing on Python 3.12 due to removal of imp package
2 participants