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

imp module is deprecated #86

Open
gold2718 opened this issue Oct 11, 2024 · 1 comment
Open

imp module is deprecated #86

gold2718 opened this issue Oct 11, 2024 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@gold2718
Copy link

The imp module is deprecated in Python and not available in Python 3.12.

https://discuss.python.org/t/how-do-i-migrate-from-imp/27885

Time to update to a newer version of cime5.6?

@gold2718 gold2718 added the bug Something isn't working label Oct 11, 2024
@gold2718 gold2718 added this to the NorESM2.3 milestone Oct 11, 2024
@gold2718
Copy link
Author

The routine with the problem is run_sub_or_cmd from scripts/lib/CIME/utils.py
We need a substitute for imp.load_source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant