FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-121970: Make ``DeprecatedRemoved`` a subclass of ``VersionChange`` by AA-Turner · Pull Request #121971 · python/cpython · GitHub

/ cpython Public

GH-121970: Make DeprecatedRemoved a subclass of VersionChange - #121971

Merged
AA-Turner merged 3 commits into
python:mainfrom
AA-Turner:docs/deprecated-removed
Jul 19, 2024
Merged

GH-121970: Make DeprecatedRemoved a subclass of VersionChange#121971
AA-Turner merged 3 commits into
python:mainfrom
AA-Turner:docs/deprecated-removed

Conversation

AA-Turner commented Jul 18, 2024
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Member

The majority of the code was duplicated. A future improvement would be to add some sort of method to VersionChange for determining the version and labels that we could override in this subclass, rather than the somewhat convoluted method here.

Also allow the .. versionremoved:: directive to be used whilst we still support older versions of Sphinx.

A


📚 Documentation preview 📚: https://cpython-previews--121971.org.readthedocs.build/

…ange``

Also allow the ``.. versionremoved::`` directive to be used whilst we still support older versions of Sphinx.
# Conflicts:
#	Doc/tools/extensions/pyspecific.py
Comment thread Doc/tools/extensions/pyspecific.py Outdated

encukou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM. I trust you that this uses the correct Sphinx APIs :)

I checked that it generates the same output (except timestamps and search index data), at least on my Sphinx v7.2.6

AA-Turner merged commit 898e90c into python:main Jul 19, 2024
AA-Turner deleted the docs/deprecated-removed branch July 19, 2024 10:39

Copy link
Copy Markdown

Thanks @AA-Turner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 19, 2024
…ange`` (pythonGH-121971)

(cherry picked from commit 898e90c)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 19, 2024
…ange`` (pythonGH-121971)

(cherry picked from commit 898e90c)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

bedevere-app Bot commented Jul 19, 2024

Copy link
Copy Markdown

GH-122019 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jul 19, 2024

bedevere-app Bot commented Jul 19, 2024

Copy link
Copy Markdown

GH-122020 is a backport of this pull request to the 3.12 branch.

bedevere-app Bot removed the needs backport to 3.12 only security fixes label Jul 19, 2024
AA-Turner added a commit that referenced this pull request Jul 19, 2024
…hange`` (GH-121971) (#122020)

GH-121970: Make ``DeprecatedRemoved`` a subclass of ``VersionChange`` (GH-121971)
(cherry picked from commit 898e90c)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
AA-Turner added a commit that referenced this pull request Jul 19, 2024
…hange`` (GH-121971) (#122019)

GH-121970: Make ``DeprecatedRemoved`` a subclass of ``VersionChange`` (GH-121971)
(cherry picked from commit 898e90c)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL