Add a new Sphinx soft-deprecated directive#148630
Conversation
StanFromIreland
left a comment
There was a problem hiding this comment.
This is great Hugo, I also had been dreaming of this recently!
Sorry, something went wrong.
Co-authored-by: Stan Ulbrych <stan@python.org>
|
Would you mind also updating C API entries that only reference For example:
I'm also happy to do this in a follow-up if you'd rather land this PR sooner. |
Sorry, something went wrong.
|
@ZeroIntensity I've done those three, but there's quite a lot so I'll let you do the rest in a follow-up :) Alternatively, you're welcome to push to this branch or open a PR against mine. |
Sorry, something went wrong.
StanFromIreland
left a comment
There was a problem hiding this comment.
$${\color{purple}LGTM}$$!
We haven't covered all entries that are :term:`soft deprected` , but I think they can be done in follow ups.
Sorry, something went wrong.
|
Yeah, let's get this merged. I'll handle the remaining C API entries later. |
Sorry, something went wrong.
e9bbf86
into
python:main
Apr 18, 2026
|
Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, something went wrong.
|
Sorry, @hugovk, I could not cleanly backport this to |
Sorry, something went wrong.
|
Sorry, @hugovk, I could not cleanly backport this to |
Sorry, something went wrong.
(cherry picked from commit e9bbf86) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Stan Ulbrych <stan@python.org>
(cherry picked from commit e9bbf86) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Stan Ulbrych <stan@python.org>
Co-authored-by: Stan Ulbrych <stan@python.org>
Follow on from #86519 and #148100.
Add a new Sphinx
soft-deprecateddirective, which explicitly links to the glossary definition, and is yellow instead of red because it does not indicate removal.📚 Documentation preview 📚: https://cpython-previews--148630.org.readthedocs.build/