-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
gh-97850: Update the deprecation warning of importlib.abc.Loader.load_module
#129855
Conversation
Thanks @tomasr8 for the PR, and @brettcannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…er.load_module` (pythonGH-129855) (cherry picked from commit aa81a6f) Co-authored-by: Tomas R. <[email protected]>
GH-130013 is a backport of this pull request to the 3.13 branch. |
Sorry, @tomasr8 and @brettcannon, I could not cleanly backport this to
|
I can look into the 3.12 backport later :) |
GH-130017 is a backport of this pull request to the 3.12 branch. |
The deprecation warning was added in 3.10 by #23469.
The warning currently states that the removal is planned for 3.12. I suggest we update it to say 3.15 which, following the 5 releases rule, is the earliest release in which the methods can be removed (whether or not we'll actually be able to do that is another question, but let's at least keep the warnings up to date).
Related discussion: #97850 (comment) , #97850 (comment)
📚 Documentation preview 📚: https://cpython-previews--129855.org.readthedocs.build/