-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
bpo-45173: Keep configparser deprecations until Python 3.12 #30952
bpo-45173: Keep configparser deprecations until Python 3.12 #30952
Conversation
Should this (the second commit specifically) also go into 3.9 and 3.10 for greater visibility? |
cc @gpshead |
I think it seems reasonable for the second commit updating the warning message text to be backported to 3.10, but you should really ask the release manager @pablogsal. I wouldn't bother going as far back as 3.9 with that. |
I am ok backporting the error message to 3.10. For 3.9 you should check with @ambv |
@gpshead @pablogsal: I'm the one who asked for the revert, but I would prefer if someone else merges this PR. Do you want to merge it? |
If the intention is to remove these for good in 3.12, it it worth noting that in the docs for |
I think this is fine. Keeping version numbers straight everywhere and sticking to them is hard enough. The important thing given we have a plan here is that the raised warnings now mention a version. |
Sorry @hugovk and @gpshead, I had trouble checking out the |
feel free to assign warning message update backport PRs to me when you've made them. |
Python 3.10 didn't get a backward, only the doc was updated: ba4d79a |
First commit:
Revert #28292 / 1fc41ae to give projects another year to update before removal of configparser deprecations.
Second commit:
Update the deprecation warnings to explicitly call out that they will be removed in Python 3.12, and mention in What's New and a NEWS file.
Re:
https://bugs.python.org/issue45173