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

Infra: Add directives to show warning banner for deprecated PEPs by hugovk · Pull Request #3682 · python/peps · GitHub

Repository navigation

Infra: Add directives to show warning banner for deprecated PEPs - #3682

Merged
hugovk merged 20 commits into
python:mainfrom
hugovk:deprecated-directives
Apr 14, 2024
Merged

hugovk merged 20 commits into
python:mainfrom
hugovk:deprecated-directives

Conversation

hugovk commented Feb 18, 2024 •
edited
Loading

Copy link
Copy Markdown
Member

For #2719.

(Draft to avoid pinging codeowners.)

Add directives for abandoned, rejected, superseded or withdrawn PEPs.

Apply the directive to the first few as a demo.


📚 Documentation preview 📚: https://pep-previews--3682.org.readthedocs.build/#abandoned-withdrawn-and-rejected-peps

CAM-Gerlach self-requested a review February 26, 2024 04:22
CAM-Gerlach added enhancement infra Core infrastructure for building and rendering PEPs labels Feb 26, 2024

CAM-Gerlach 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

This is a great improvement overall; thanks @hugovk ! I just had a few comments on the implementation and on some of the individual PEP notices. Thanks!

Comment thread peps/pep-0042.rst Outdated
Comment thread peps/pep-0042.rst Outdated
Comment thread peps/pep-0003.rst
Comment thread pep_sphinx_extensions/__init__.py Outdated
Comment thread peps/pep-0239.rst Outdated
Comment thread peps/pep-0242.rst Outdated
Comment thread peps/pep-0242.rst Outdated
Comment thread peps/pep-0363.rst
Comment thread peps/pep-0426.rst

hugovk commented Feb 26, 2024

Copy link
Copy Markdown
Member Author

Thanks for the review! I'll follow up on the other items tomorrow :)

Comment thread peps/pep-0215.rst Outdated
Comment thread peps/pep-0241.rst Outdated

hugovk commented Feb 27, 2024

Copy link
Copy Markdown
Member Author

@CAM-Gerlach Review comments addressed, thanks!

hugovk commented Apr 9, 2024

Copy link
Copy Markdown
Member Author

If there's no further comments let's merge and work on the remainder in batches.

hugovk marked this pull request as ready for review April 14, 2024 13:32
hugovk merged commit 3e66308 into python:main Apr 14, 2024
hugovk deleted the deprecated-directives branch April 14, 2024 13:35

Copy link
Copy Markdown
Member

LGTM, but I would have waited more than just 3 minutes for reviews of all the PEP owners 😄

hugovk commented Apr 14, 2024

Copy link
Copy Markdown
Member Author

Ah sorry, will wait longer for the next batch!

And to further teach me a lesson, I've actually noticed a problem, it's only rendering the "Important" header and not the text saying "This PEP has been withdrawn etc".:

https://peps.python.org/pep-0003/

It should be:

It was okay originally, and I think I must have checked a cached version after updating the branch from main just before merge. I think what is needed is a newline between the directive and the text, I'll get onto it immediately.

hugovk commented Apr 14, 2024

Copy link
Copy Markdown
Member Author

Please see PR #3756 as a followup.

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

Labels

enhancement infra Core infrastructure for building and rendering PEPs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL