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

Update import machinery for Python 3.12 compatibility #28

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

danielkelshaw
Copy link

At the moment, the use of the imp library means that ml_collections cannot be used with python 3.12. This PR removes that limitation by using the importlib library instead. This allows config_flags to work as expected on Python 3.12.

Resolves: #24

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.

Replace deprecated imp module with importlib
1 participant