diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7e864ea5e36..55dea1216a5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -180,7 +180,7 @@ repos: - id: validate-topic name: "'Topic' must be for a valid sub-index" language: pygrep - entry: '^Topic:(?:(?! +(Packaging|Typing|Packaging, Typing)$))' + entry: '^Topic:(?:(?! +(Packaging|Typing|Release)(, (Packaging|Typing|Release))*$))' files: '^pep-\d+\.(rst|txt)$' types: [text] diff --git a/pep-0160.txt b/pep-0160.txt index ca43b29c7fa..7e88df99397 100644 --- a/pep-0160.txt +++ b/pep-0160.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Fred L. Drake, Jr. Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 25-Jul-2000 Python-Version: 1.6 diff --git a/pep-0200.txt b/pep-0200.txt index a29e6fd3aa5..e1b156a64d5 100644 --- a/pep-0200.txt +++ b/pep-0200.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Jeremy Hylton Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 12-Jul-2000 Python-Version: 2.0 diff --git a/pep-0226.txt b/pep-0226.txt index f357b3329e6..67ebac99013 100644 --- a/pep-0226.txt +++ b/pep-0226.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Jeremy Hylton Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 16-Oct-2000 Python-Version: 2.1 diff --git a/pep-0251.txt b/pep-0251.txt index 6d6cafd85d9..89302cc1d62 100644 --- a/pep-0251.txt +++ b/pep-0251.txt @@ -3,6 +3,7 @@ Title: Python 2.2 Release Schedule Author: Barry Warsaw , Guido van Rossum Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 17-Apr-2001 Python-Version: 2.2 diff --git a/pep-0283.txt b/pep-0283.txt index 2d2ed5961a5..42910b64f7f 100644 --- a/pep-0283.txt +++ b/pep-0283.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Guido van Rossum Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 27-Feb-2002 Python-Version: 2.3 diff --git a/pep-0320.txt b/pep-0320.txt index 76de30c7e62..d225ca92d12 100644 --- a/pep-0320.txt +++ b/pep-0320.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Barry Warsaw, Raymond Hettinger, Anthony Baxter Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 29-Jul-2003 Python-Version: 2.4 diff --git a/pep-0356.txt b/pep-0356.txt index 28db5149fae..472222fc132 100644 --- a/pep-0356.txt +++ b/pep-0356.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Neal Norwitz, Guido van Rossum, Anthony Baxter Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 07-Feb-2006 Python-Version: 2.5 diff --git a/pep-0361.txt b/pep-0361.txt index 6dff21cd5ba..93738d3fcd3 100644 --- a/pep-0361.txt +++ b/pep-0361.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Neal Norwitz, Barry Warsaw Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 29-Jun-2006 Python-Version: 2.6, 3.0 diff --git a/pep-0373.txt b/pep-0373.txt index c330ee4d407..3a2188b4929 100644 --- a/pep-0373.txt +++ b/pep-0373.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Benjamin Peterson Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 03-Nov-2008 Python-Version: 2.7 diff --git a/pep-0375.txt b/pep-0375.txt index 26b958b15c0..c3929cb9065 100644 --- a/pep-0375.txt +++ b/pep-0375.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Benjamin Peterson Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 08-Feb-2009 Python-Version: 3.1 diff --git a/pep-0392.txt b/pep-0392.txt index 82da4323cfa..6878dcba2ee 100644 --- a/pep-0392.txt +++ b/pep-0392.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Georg Brandl Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 30-Dec-2009 Python-Version: 3.2 diff --git a/pep-0398.txt b/pep-0398.txt index 30d4bf36fe5..6cf800b6779 100644 --- a/pep-0398.txt +++ b/pep-0398.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Georg Brandl Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 23-Mar-2011 Python-Version: 3.3 diff --git a/pep-0429.txt b/pep-0429.txt index be730a4019e..71fb51c9f52 100644 --- a/pep-0429.txt +++ b/pep-0429.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Larry Hastings Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 17-Oct-2012 Python-Version: 3.4 diff --git a/pep-0478.txt b/pep-0478.txt index 1aa417c7328..901c8c16ce1 100644 --- a/pep-0478.txt +++ b/pep-0478.txt @@ -3,8 +3,9 @@ Title: Python 3.5 Release Schedule Version: $Revision$ Last-Modified: $Date$ Author: Larry Hastings -Status: Active +Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 22-Sep-2014 Python-Version: 3.5 diff --git a/pep-0494.txt b/pep-0494.txt index f9dfd4d5cca..e358410a135 100644 --- a/pep-0494.txt +++ b/pep-0494.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Ned Deily Status: Final Type: Informational +Topic: Release Content-Type: text/x-rst Created: 30-May-2015 Python-Version: 3.6 diff --git a/pep-0537.txt b/pep-0537.txt index 2e2b98a6820..8d617a33697 100644 --- a/pep-0537.txt +++ b/pep-0537.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Ned Deily Status: Active Type: Informational +Topic: Release Content-Type: text/x-rst Created: 23-Dec-2016 Python-Version: 3.7 diff --git a/pep-0569.rst b/pep-0569.rst index 47a5fa4f02c..222dfbd3129 100644 --- a/pep-0569.rst +++ b/pep-0569.rst @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Łukasz Langa Status: Active Type: Informational +Topic: Release Content-Type: text/x-rst Created: 27-Jan-2018 Python-Version: 3.8 diff --git a/pep-0596.rst b/pep-0596.rst index 05d4c70ba0c..a985189662f 100644 --- a/pep-0596.rst +++ b/pep-0596.rst @@ -6,6 +6,7 @@ Author: Łukasz Langa Discussions-To: https://discuss.python.org/t/pep-596-python-3-9-release-schedule-doubling-the-release-cadence/1828 Status: Active Type: Informational +Topic: Release Content-Type: text/x-rst Created: 04-Jun-2019 Python-Version: 3.9 diff --git a/pep-0619.rst b/pep-0619.rst index be8dac1c8c2..20b9df874fe 100644 --- a/pep-0619.rst +++ b/pep-0619.rst @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Pablo Galindo Salgado Status: Active Type: Informational +Topic: Release Content-Type: text/x-rst Created: 25-May-2020 Python-Version: 3.10 diff --git a/pep-0664.rst b/pep-0664.rst index 43df6cd189e..d72120beb43 100644 --- a/pep-0664.rst +++ b/pep-0664.rst @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Pablo Galindo Salgado Status: Active Type: Informational +Topic: Release Content-Type: text/x-rst Created: 12-Jul-2021 Python-Version: 3.11 diff --git a/pep-0693.rst b/pep-0693.rst index 41f0b0b0645..514eb53552a 100644 --- a/pep-0693.rst +++ b/pep-0693.rst @@ -3,6 +3,7 @@ Title: Python 3.12 Release Schedule Author: Thomas Wouters Status: Draft Type: Informational +Topic: Release Content-Type: text/x-rst Created: 24-May-2022 Python-Version: 3.12 diff --git a/pep_sphinx_extensions/pep_zero_generator/constants.py b/pep_sphinx_extensions/pep_zero_generator/constants.py index 9e23ddf2ae0..afc658d0dc2 100644 --- a/pep_sphinx_extensions/pep_zero_generator/constants.py +++ b/pep_sphinx_extensions/pep_zero_generator/constants.py @@ -44,6 +44,12 @@ .. _Python Packaging Authority: https://www.pypa.io/ .. _specifications: https://packaging.python.org/en/latest/specifications/ .. _PyPA specification update process: https://www.pypa.io/en/latest/specifications/#specification-update-process +""", + "release": """\ +A PEP is written to specify the release cycle for each feature release of Python. +See the `developer's guide`_ for more information. + +.. _developer's guide: https://devguide.python.org/devcycle/ """, "typing": """\ Many recent PEPs propose changes to Python's static type system