From 52779ea7b425b6849d42d9c8a54c7bd8a506c4de Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Fri, 6 May 2022 00:02:51 +0100 Subject: [PATCH 01/14] Support subindices --- .pre-commit-config.yaml | 7 ++ contents.rst | 1 + .../pep_zero_generator/constants.py | 14 ++++ .../pep_zero_generator/parser.py | 18 ++++- .../pep_zero_generator/pep_index_generator.py | 49 +++++-------- .../pep_zero_generator/subindices.py | 71 +++++++++++++++++++ .../pep_zero_generator/writer.py | 23 +++--- .../tests/pep_zero_generator/test_parser.py | 20 +++--- .../test_pep_index_generator.py | 3 +- .../tests/pep_zero_generator/test_writer.py | 7 +- 10 files changed, 153 insertions(+), 60 deletions(-) create mode 100644 pep_sphinx_extensions/pep_zero_generator/subindices.py diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bb2ed78a06b..aa2a77974c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -176,6 +176,13 @@ repos: files: '^pep-\d+\.(rst|txt)$' types: [text] + - id: validate-topic + name: "'Topic' must be for a valid sub-index" + language: pygrep + entry: '^Type:(?:(?! +(Packaging)$))' + files: '^pep-\d+\.(rst|txt)$' + types: [text] + - id: validate-content-type name: "'Content-Type' must be 'text/x-rst'" language: pygrep diff --git a/contents.rst b/contents.rst index aa1bf01d493..3aa0d788dc4 100644 --- a/contents.rst +++ b/contents.rst @@ -16,3 +16,4 @@ This is an internal Sphinx page; please go to the :doc:`PEP Index `. docs/* pep-* + topic/* diff --git a/pep_sphinx_extensions/pep_zero_generator/constants.py b/pep_sphinx_extensions/pep_zero_generator/constants.py index 5b3ea5f6f91..134dee44631 100644 --- a/pep_sphinx_extensions/pep_zero_generator/constants.py +++ b/pep_sphinx_extensions/pep_zero_generator/constants.py @@ -32,3 +32,17 @@ TYPE_VALUES = {TYPE_STANDARDS, TYPE_INFO, TYPE_PROCESS} # Active PEPs can only be for Informational or Process PEPs. ACTIVE_ALLOWED = {TYPE_PROCESS, TYPE_INFO} + +# map of topic -> additional description +SUBINDICES_BY_TOPIC = { + "packaging": """\ +The canonical, up-to-date packaging specifications can be found on the +`Python Packaging Authority`_ (PyPA's) `Specifications page`_. +Packaging PEPs follow the `PyPA specification update process`_. +They are used to propose major additions or changes to the PyPA specifications. + +.. _Specifications page: https://packaging.python.org/en/latest/specifications/ +.. _Python Packaging Authority: https://www.pypa.io/ +.. _PyPA specification update process: https://www.pypa.io/en/latest/specifications/#specification-update-process +""", +} diff --git a/pep_sphinx_extensions/pep_zero_generator/parser.py b/pep_sphinx_extensions/pep_zero_generator/parser.py index 620319b3d80..56e800f0b57 100644 --- a/pep_sphinx_extensions/pep_zero_generator/parser.py +++ b/pep_sphinx_extensions/pep_zero_generator/parser.py @@ -2,6 +2,7 @@ from __future__ import annotations +import csv from email.parser import HeaderParser from pathlib import Path import re @@ -22,6 +23,14 @@ from pep_sphinx_extensions.pep_zero_generator.author import Author +# AUTHOR_OVERRIDES.csv is an exception file for PEP0 name parsing +AUTHOR_OVERRIDES: dict[str, dict[str, str]] = {} +with open("AUTHOR_OVERRIDES.csv", "r", encoding="utf-8") as f: + for line in csv.DictReader(f): + full_name = line.pop("Overridden Name") + AUTHOR_OVERRIDES[full_name] = line + + class PEP: """Representation of PEPs. @@ -37,7 +46,7 @@ class PEP: # The required RFC 822 headers for all PEPs. required_headers = {"PEP", "Title", "Author", "Status", "Type", "Created"} - def __init__(self, filename: Path, authors_overrides: dict): + def __init__(self, filename: Path): """Init object from an open PEP file object. pep_file is full text of the PEP file, filename is path of the PEP file, author_lookup is author exceptions file @@ -88,7 +97,11 @@ def __init__(self, filename: Path, authors_overrides: dict): self.status: str = status # Parse PEP authors - self.authors: list[Author] = _parse_authors(self, metadata["Author"], authors_overrides) + self.authors: list[Author] = _parse_authors(self, metadata["Author"], AUTHOR_OVERRIDES) + + # Topic (for sub-indicies) + _topic = metadata.get("Topic", "").lower().split(",") + self.topic: set[str] = {topic for topic_raw in _topic if (topic := topic_raw.strip())} # Other headers self.created = metadata["Created"] @@ -136,6 +149,7 @@ def full_details(self) -> dict[str, str]: "discussions_to": self.discussions_to, "status": self.status, "type": self.pep_type, + "topic": ", ".join(sorted(self.topic)), "created": self.created, "python_version": self.python_version, "post_history": self.post_history, diff --git a/pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py b/pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py index 6292bd8a70b..70ee7c557a6 100644 --- a/pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py +++ b/pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py @@ -17,13 +17,13 @@ """ from __future__ import annotations -import csv import json from pathlib import Path -import re from typing import TYPE_CHECKING +from pep_sphinx_extensions.pep_zero_generator.constants import SUBINDICES_BY_TOPIC from pep_sphinx_extensions.pep_zero_generator import parser +from pep_sphinx_extensions.pep_zero_generator import subindices from pep_sphinx_extensions.pep_zero_generator import writer if TYPE_CHECKING: @@ -31,48 +31,35 @@ from sphinx.environment import BuildEnvironment -def create_pep_json(peps: list[parser.PEP]) -> str: - return json.dumps({pep.number: pep.full_details for pep in peps}, indent=1) - - -def create_pep_zero(app: Sphinx, env: BuildEnvironment, docnames: list[str]) -> None: +def _parse_peps() -> list[parser.PEP]: # Read from root directory path = Path(".") - - pep_zero_filename = "pep-0000" peps: list[parser.PEP] = [] - pep_pat = re.compile(r"pep-\d{4}") # Path.match() doesn't support regular expressions - - # AUTHOR_OVERRIDES.csv is an exception file for PEP0 name parsing - with open("AUTHOR_OVERRIDES.csv", "r", encoding="utf-8") as f: - authors_overrides = {} - for line in csv.DictReader(f): - full_name = line.pop("Overridden Name") - authors_overrides[full_name] = line for file_path in path.iterdir(): if not file_path.is_file(): continue # Skip directories etc. if file_path.match("pep-0000*"): continue # Skip pre-existing PEP 0 files - if pep_pat.match(str(file_path)) and file_path.suffix in {".txt", ".rst"}: - pep = parser.PEP(path.joinpath(file_path).absolute(), authors_overrides) + if file_path.match("pep-????.???") and file_path.suffix in {".txt", ".rst"}: + pep = parser.PEP(path.joinpath(file_path).absolute()) peps.append(pep) - peps = sorted(peps) + return sorted(peps) - pep0_text = writer.PEPZeroWriter().write_pep0(peps) - pep0_path = Path(f"{pep_zero_filename}.rst") - pep0_path.write_text(pep0_text, encoding="utf-8") - peps.append(parser.PEP(pep0_path, authors_overrides)) +def create_pep_json(peps: list[parser.PEP]) -> str: + return json.dumps({pep.number: pep.full_details for pep in peps}, indent=1) + + +def create_pep_zero(app: Sphinx, env: BuildEnvironment, docnames: list[str]) -> None: + peps = _parse_peps() + + pep0_text = writer.PEPZeroWriter().write_pep0(peps) + pep0_path = subindices.update_sphinx("pep-0000", pep0_text, docnames, env) + peps.append(parser.PEP(pep0_path)) - # Add to files for builder - docnames.insert(1, pep_zero_filename) - # Add to files for writer - env.found_docs.add(pep_zero_filename) + subindices.generate_subindices(SUBINDICES_BY_TOPIC, peps, docnames, env) # Create peps.json - json_path = Path(app.outdir, "api", "peps.json").resolve() - json_path.parent.mkdir(exist_ok=True) - json_path.write_text(create_pep_json(peps), encoding="utf-8") + Path(app.outdir, "peps.json").write_text(create_pep_json(peps), encoding="utf-8") diff --git a/pep_sphinx_extensions/pep_zero_generator/subindices.py b/pep_sphinx_extensions/pep_zero_generator/subindices.py new file mode 100644 index 00000000000..88a5421f958 --- /dev/null +++ b/pep_sphinx_extensions/pep_zero_generator/subindices.py @@ -0,0 +1,71 @@ +"""Utilities to support sub-indices for PEPs.""" + +from __future__ import annotations + +from pathlib import Path +from typing import TYPE_CHECKING + +from pep_sphinx_extensions.pep_zero_generator import writer + +if TYPE_CHECKING: + from sphinx.environment import BuildEnvironment + + from pep_sphinx_extensions.pep_zero_generator.parser import PEP + + +def update_sphinx(filename: str, text: str, docnames: list[str], env: BuildEnvironment) -> Path: + file_path = Path(f"{filename}.rst").resolve() + file_path.parent.mkdir(parents=True, exist_ok=True) + file_path.write_text(text, encoding="utf-8") + + # Add to files for builder + docnames.insert(1, filename) + # Add to files for writer + env.found_docs.add(filename) + + return file_path + + +def generate_subindices( + subindices: dict[str, str], + peps: list[PEP], + docnames: list[str], + env: BuildEnvironment, +) -> None: + # Create sub index page + generate_topic_contents(docnames, env) + + for subindex, additional_description in subindices.items(): + header_text = f"{subindex.title()} PEPs" + header_line = "#" * len(header_text) + header = header_text + "\n" + header_line + "\n" + + topic = subindex.lower() + filtered_peps = [pep for pep in peps if topic in pep.topic] + subindex_intro = f"""\ +This is the index of all Python Enhancement Proposals (PEPs) labelled +under the '{subindex.title()}' topic. This is a sub-index of :pep:`0`, +the PEP index. + +{additional_description} +""" + subindex_text = writer.PEPZeroWriter().write_pep0( + filtered_peps, header, subindex_intro, is_pep0=False, + ) + update_sphinx(f"topic/{subindex}", subindex_text, docnames, env) + + +def generate_topic_contents(docnames: list[str], env: BuildEnvironment): + update_sphinx(f"topic/index", """\ +Topic Index +*********** + +PEPs are indexed by topic on the pages below: + +.. toctree:: + :maxdepth: 1 + :titlesonly: + :glob: + + * +""", docnames, env) diff --git a/pep_sphinx_extensions/pep_zero_generator/writer.py b/pep_sphinx_extensions/pep_zero_generator/writer.py index a48a337c0dd..e74fb90cb98 100644 --- a/pep_sphinx_extensions/pep_zero_generator/writer.py +++ b/pep_sphinx_extensions/pep_zero_generator/writer.py @@ -25,7 +25,7 @@ if TYPE_CHECKING: from pep_sphinx_extensions.pep_zero_generator.parser import PEP -header = f"""\ +HEADER = f"""\ PEP: 0 Title: Index of Python Enhancement Proposals (PEPs) Last-Modified: {datetime.date.today()} @@ -36,7 +36,7 @@ Created: 13-Jul-2000 """ -intro = """\ +INTRO = """\ This PEP contains the index of all Python Enhancement Proposals, known as PEPs. PEP numbers are :pep:`assigned <1#pep-editors>` by the PEP editors, and once assigned are never changed. The @@ -112,7 +112,7 @@ def emit_pep_category(self, category: str, peps: list[PEP]) -> None: self.emit_text(" -") self.emit_newline() - def write_pep0(self, peps: list[PEP]): + def write_pep0(self, peps: list[PEP], header: str = HEADER, intro: str = INTRO, is_pep0: bool = True): # PEP metadata self.emit_text(header) @@ -138,7 +138,10 @@ def write_pep0(self, peps: list[PEP]): ("Abandoned, Withdrawn, and Rejected PEPs", dead), ] for (category, peps_in_category) in pep_categories: - self.emit_pep_category(category, peps_in_category) + # For subindices, only emit categories with entries. + # For PEP 0, emit every category + if is_pep0 or len(peps_in_category) > 0: + self.emit_pep_category(category, peps_in_category) self.emit_newline() @@ -151,12 +154,14 @@ def write_pep0(self, peps: list[PEP]): self.emit_newline() # Reserved PEP numbers - self.emit_title("Reserved PEP Numbers") - self.emit_column_headers() - for number, claimants in sorted(self.RESERVED.items()): - self.emit_pep_row(type="", status="", number=number, title="RESERVED", authors=claimants) + if is_pep0: + self.emit_title("Reserved PEP Numbers") + self.emit_column_headers() + for number, claimants in sorted(self.RESERVED.items()): + self.emit_pep_row(type="", status="", number=number, title="RESERVED", authors=claimants) - self.emit_newline() + + self.emit_newline() # PEP types key self.emit_title("PEP Types Key") diff --git a/pep_sphinx_extensions/tests/pep_zero_generator/test_parser.py b/pep_sphinx_extensions/tests/pep_zero_generator/test_parser.py index 8165abcd087..e84dd98ddec 100644 --- a/pep_sphinx_extensions/tests/pep_zero_generator/test_parser.py +++ b/pep_sphinx_extensions/tests/pep_zero_generator/test_parser.py @@ -9,27 +9,27 @@ def test_pep_repr(): - pep8 = parser.PEP(Path("pep-0008.txt"), AUTHORS_OVERRIDES) + pep8 = parser.PEP(Path("pep-0008.txt")) assert repr(pep8) == "" def test_pep_less_than(): - pep8 = parser.PEP(Path("pep-0008.txt"), AUTHORS_OVERRIDES) - pep3333 = parser.PEP(Path("pep-3333.txt"), AUTHORS_OVERRIDES) + pep8 = parser.PEP(Path("pep-0008.txt")) + pep3333 = parser.PEP(Path("pep-3333.txt")) assert pep8 < pep3333 def test_pep_equal(): - pep_a = parser.PEP(Path("pep-0008.txt"), AUTHORS_OVERRIDES) - pep_b = parser.PEP(Path("pep-0008.txt"), AUTHORS_OVERRIDES) + pep_a = parser.PEP(Path("pep-0008.txt")) + pep_b = parser.PEP(Path("pep-0008.txt")) assert pep_a == pep_b -def test_pep_details(): - pep8 = parser.PEP(Path("pep-0008.txt"), AUTHORS_OVERRIDES) +def test_pep_details(monkeypatch): + pep8 = parser.PEP(Path("pep-0008.txt")) assert pep8.details == { "authors": "GvR, Warsaw, Coghlan", @@ -64,10 +64,10 @@ def test_pep_details(): ) def test_parse_authors(test_input, expected): # Arrange - pep = parser.PEP(Path("pep-0160.txt"), AUTHORS_OVERRIDES) + dummy_object = parser.PEP(Path("pep-0160.txt")) # Act - out = parser._parse_authors(pep, test_input, AUTHORS_OVERRIDES) + out = parser._parse_authors(dummy_object, test_input, AUTHORS_OVERRIDES) # Assert assert out == expected @@ -75,7 +75,7 @@ def test_parse_authors(test_input, expected): def test_parse_authors_invalid(): - pep = parser.PEP(Path("pep-0008.txt"), AUTHORS_OVERRIDES) + pep = parser.PEP(Path("pep-0008.txt")) with pytest.raises(PEPError, match="no authors found"): parser._parse_authors(pep, "", AUTHORS_OVERRIDES) diff --git a/pep_sphinx_extensions/tests/pep_zero_generator/test_pep_index_generator.py b/pep_sphinx_extensions/tests/pep_zero_generator/test_pep_index_generator.py index 35a6a937c79..c2e15844fe4 100644 --- a/pep_sphinx_extensions/tests/pep_zero_generator/test_pep_index_generator.py +++ b/pep_sphinx_extensions/tests/pep_zero_generator/test_pep_index_generator.py @@ -1,11 +1,10 @@ from pathlib import Path from pep_sphinx_extensions.pep_zero_generator import parser, pep_index_generator -from pep_sphinx_extensions.tests.utils import AUTHORS_OVERRIDES def test_create_pep_json(): - peps = [parser.PEP(Path("pep-0008.txt"), AUTHORS_OVERRIDES)] + peps = [parser.PEP(Path("pep-0008.txt"))] out = pep_index_generator.create_pep_json(peps) diff --git a/pep_sphinx_extensions/tests/pep_zero_generator/test_writer.py b/pep_sphinx_extensions/tests/pep_zero_generator/test_writer.py index 9cae97a0a2e..19eeca2d959 100644 --- a/pep_sphinx_extensions/tests/pep_zero_generator/test_writer.py +++ b/pep_sphinx_extensions/tests/pep_zero_generator/test_writer.py @@ -3,7 +3,6 @@ import pytest from pep_sphinx_extensions.pep_zero_generator import parser, writer -from pep_sphinx_extensions.tests.utils import AUTHORS_OVERRIDES def test_pep_zero_writer_emit_text_newline(): @@ -48,11 +47,7 @@ def test_pep_zero_writer_emit_title(): ) def test_verify_email_addresses(test_input, expected): # Arrange - peps = [ - parser.PEP( - Path(f"pep_sphinx_extensions/tests/peps/{test_input}"), AUTHORS_OVERRIDES - ) - ] + peps = [parser.PEP(Path(f"pep_sphinx_extensions/tests/peps/{test_input}"))] # Act out = writer._verify_email_addresses(peps) From 382bc54edb1bb3b6660aa2b5b078d1592599c979 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Fri, 6 May 2022 00:52:56 +0100 Subject: [PATCH 02/14] Add Topic: Packaging --- pep-0241.txt | 1 + pep-0243.txt | 1 + pep-0250.txt | 1 + pep-0262.txt | 1 + pep-0273.txt | 1 + pep-0301.txt | 1 + pep-0314.txt | 1 + pep-0345.txt | 1 + pep-0365.txt | 1 + pep-0370.txt | 1 + pep-0376.txt | 1 + pep-0381.txt | 1 + pep-0382.txt | 1 + pep-0386.txt | 1 + pep-0390.txt | 1 + pep-0394.txt | 1 + pep-0395.txt | 1 + pep-0396.txt | 1 + pep-0402.txt | 1 + pep-0405.txt | 1 + pep-0420.txt | 1 + pep-0423.txt | 1 + pep-0425.txt | 1 + pep-0426.txt | 1 + pep-0427.txt | 1 + pep-0438.txt | 1 + pep-0439.txt | 1 + pep-0440.txt | 1 + pep-0441.txt | 1 + pep-0449.txt | 1 + pep-0453.txt | 1 + pep-0458.txt | 1 + pep-0459.txt | 1 + pep-0464.txt | 1 + pep-0470.txt | 1 + pep-0477.txt | 1 + pep-0480.txt | 1 + pep-0491.txt | 1 + pep-0496.txt | 1 + pep-0503.txt | 1 + pep-0508.txt | 1 + pep-0513.txt | 1 + pep-0516.txt | 1 + pep-0517.txt | 1 + pep-0518.txt | 1 + pep-0527.txt | 1 + pep-0541.txt | 1 + pep-0561.rst | 1 + pep-0566.rst | 1 + pep-0571.rst | 1 + pep-0582.rst | 1 + pep-0592.rst | 1 + pep-0599.rst | 1 + pep-0600.rst | 1 + pep-0609.rst | 1 + pep-0610.rst | 1 + pep-0621.rst | 1 + pep-0625.rst | 1 + pep-0627.rst | 1 + pep-0629.rst | 1 + pep-0631.rst | 1 + pep-0632.rst | 1 + pep-0633.rst | 1 + pep-0639.rst | 1 + pep-0643.rst | 1 + pep-0650.rst | 1 + pep-0656.rst | 1 + pep-0658.rst | 1 + pep-0660.rst | 1 + pep-0662.rst | 1 + pep-0665.rst | 1 + pep-0668.rst | 1 + pep-0685.rst | 1 + pep-3147.txt | 1 + pep-3149.txt | 1 + 75 files changed, 75 insertions(+) diff --git a/pep-0241.txt b/pep-0241.txt index 5f197892734..41a4c757f4a 100644 --- a/pep-0241.txt +++ b/pep-0241.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: A.M. Kuchling Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 12-Mar-2001 Post-History: 19-Mar-2001 diff --git a/pep-0243.txt b/pep-0243.txt index 94b20b55aac..40b0fabf874 100644 --- a/pep-0243.txt +++ b/pep-0243.txt @@ -6,6 +6,7 @@ Author: jafo-pep@tummy.com (Sean Reifschneider) Discussions-To: distutils-sig@python.org Status: Withdrawn Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 18-Mar-2001 Python-Version: 2.1 diff --git a/pep-0250.txt b/pep-0250.txt index 688c5ee41cc..a8c1fa11579 100644 --- a/pep-0250.txt +++ b/pep-0250.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: p.f.moore@gmail.com (Paul Moore) Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 30-Mar-2001 Python-Version: 2.2 diff --git a/pep-0262.txt b/pep-0262.txt index 6b3c71a0ddf..116d5e9db39 100644 --- a/pep-0262.txt +++ b/pep-0262.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: A.M. Kuchling Status: Deferred Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 08-Jul-2001 Post-History: 27-Mar-2002 diff --git a/pep-0273.txt b/pep-0273.txt index 7565d691e28..e7c2cee68b6 100644 --- a/pep-0273.txt +++ b/pep-0273.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: jim@interet.com (James C. Ahlstrom) Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 11-Oct-2001 Python-Version: 2.3 diff --git a/pep-0301.txt b/pep-0301.txt index f09f64b2823..b748e843e3d 100644 --- a/pep-0301.txt +++ b/pep-0301.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Richard Jones Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 24-Oct-2002 Python-Version: 2.3 diff --git a/pep-0314.txt b/pep-0314.txt index 10930556560..71a713c5da9 100644 --- a/pep-0314.txt +++ b/pep-0314.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: A.M. Kuchling, Richard Jones Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 12-Apr-2003 Python-Version: 2.5 diff --git a/pep-0345.txt b/pep-0345.txt index e9cd3b24324..a28fb1aa80b 100644 --- a/pep-0345.txt +++ b/pep-0345.txt @@ -6,6 +6,7 @@ Author: Richard Jones Discussions-To: distutils-sig@python.org Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 28-Apr-2005 Python-Version: 2.5 diff --git a/pep-0365.txt b/pep-0365.txt index f52a617a11b..5fa99916718 100644 --- a/pep-0365.txt +++ b/pep-0365.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Phillip J. Eby Status: Rejected Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 30-Apr-2007 Post-History: 30-Apr-2007 diff --git a/pep-0370.txt b/pep-0370.txt index 84b42259704..f72dca4a219 100644 --- a/pep-0370.txt +++ b/pep-0370.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Christian Heimes Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 11-Jan-2008 Python-Version: 2.6, 3.0 diff --git a/pep-0376.txt b/pep-0376.txt index 9372c8b9443..6afb128f827 100644 --- a/pep-0376.txt +++ b/pep-0376.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Tarek Ziadé Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 22-Feb-2009 Python-Version: 2.7, 3.2 diff --git a/pep-0381.txt b/pep-0381.txt index 02f8ade34d7..2bfad7c1e31 100644 --- a/pep-0381.txt +++ b/pep-0381.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Tarek Ziadé , Martin v. Löwis Status: Withdrawn Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 21-Mar-2009 Post-History: diff --git a/pep-0382.txt b/pep-0382.txt index 520c33c0135..b2a68a8e84f 100644 --- a/pep-0382.txt +++ b/pep-0382.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Martin v. Löwis Status: Rejected Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 02-Apr-2009 Python-Version: 3.2 diff --git a/pep-0386.txt b/pep-0386.txt index 52917a707ad..aa7f964cb04 100644 --- a/pep-0386.txt +++ b/pep-0386.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Tarek Ziadé Status: Superseded Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 04-Jun-2009 Superseded-By: 440 diff --git a/pep-0390.txt b/pep-0390.txt index 536abc86468..f10d4fd5386 100644 --- a/pep-0390.txt +++ b/pep-0390.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Rejected Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 10-Oct-2009 Python-Version: 2.7, 3.2 diff --git a/pep-0394.txt b/pep-0394.txt index 10ad8a911ba..ff3318c5083 100644 --- a/pep-0394.txt +++ b/pep-0394.txt @@ -10,6 +10,7 @@ Author: Kerrick Staley , Carol Willing , Status: Active Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 02-Mar-2011 Post-History: 04-Mar-2011, 20-Jul-2011, 16-Feb-2012, 30-Sep-2014, 28-Apr-2018, diff --git a/pep-0395.txt b/pep-0395.txt index f35a2658e66..3a19b2e8e66 100644 --- a/pep-0395.txt +++ b/pep-0395.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Nick Coghlan Status: Withdrawn Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 04-Mar-2011 Python-Version: 3.4 diff --git a/pep-0396.txt b/pep-0396.txt index 842c347ce6d..bc022971f2b 100644 --- a/pep-0396.txt +++ b/pep-0396.txt @@ -5,6 +5,7 @@ Last-Modified: $Date: 2008-08-10 09:59:20 -0400 (Sun, 10 Aug 2008) $ Author: Barry Warsaw Status: Rejected Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 16-Mar-2011 Post-History: 05-Apr-2011 diff --git a/pep-0402.txt b/pep-0402.txt index 1396118205b..0d8a9544040 100644 --- a/pep-0402.txt +++ b/pep-0402.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: P.J. Eby Status: Rejected Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 12-Jul-2011 Python-Version: 3.3 diff --git a/pep-0405.txt b/pep-0405.txt index 44c40eee244..22e0a262433 100644 --- a/pep-0405.txt +++ b/pep-0405.txt @@ -6,6 +6,7 @@ Author: Carl Meyer BDFL-Delegate: Nick Coghlan Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 13-Jun-2011 Python-Version: 3.3 diff --git a/pep-0420.txt b/pep-0420.txt index 0f0baa73319..d094abdc6a1 100644 --- a/pep-0420.txt +++ b/pep-0420.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Eric V. Smith Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 19-Apr-2012 Python-Version: 3.3 diff --git a/pep-0423.txt b/pep-0423.txt index 1108312bd06..094fef505b0 100644 --- a/pep-0423.txt +++ b/pep-0423.txt @@ -6,6 +6,7 @@ Author: Benoit Bryon Discussions-To: distutils-sig@python.org Status: Deferred Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 24-May-2012 Post-History: diff --git a/pep-0425.txt b/pep-0425.txt index 29bf97da547..43d420a06ca 100644 --- a/pep-0425.txt +++ b/pep-0425.txt @@ -6,6 +6,7 @@ Author: Daniel Holth BDFL-Delegate: Nick Coghlan Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 27-Jul-2012 Python-Version: 3.4 diff --git a/pep-0426.txt b/pep-0426.txt index 7e09f7bee4f..56308b32859 100644 --- a/pep-0426.txt +++ b/pep-0426.txt @@ -9,6 +9,7 @@ BDFL-Delegate: Donald Stufft Discussions-To: distutils-sig@python.org Status: Withdrawn Type: Informational +Topic: Packaging Content-Type: text/x-rst Requires: 440, 508, 518 Created: 30-Aug-2012 diff --git a/pep-0427.txt b/pep-0427.txt index aecae3f3ed4..423fc11d4b7 100644 --- a/pep-0427.txt +++ b/pep-0427.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 20-Sep-2012 Post-History: 18-Oct-2012, 15-Feb-2013 diff --git a/pep-0438.txt b/pep-0438.txt index 1f1b1588a1c..30ee2d530f0 100644 --- a/pep-0438.txt +++ b/pep-0438.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Richard Jones Discussions-To: distutils-sig@python.org Status: Superseded Type: Process +Topic: Packaging Content-Type: text/x-rst Created: 15-Mar-2013 Post-History: 19-May-2013 diff --git a/pep-0439.txt b/pep-0439.txt index 90c1650d452..d354c3da427 100644 --- a/pep-0439.txt +++ b/pep-0439.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Rejected Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 18-Mar-2013 Python-Version: 3.4 diff --git a/pep-0440.txt b/pep-0440.txt index cae1ad38504..8d262b5bbf5 100644 --- a/pep-0440.txt +++ b/pep-0440.txt @@ -7,6 +7,7 @@ Author: Nick Coghlan , BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Active +Topic: Packaging Type: Informational Content-Type: text/x-rst Created: 18-Mar-2013 diff --git a/pep-0441.txt b/pep-0441.txt index f894c82b7d6..3725b18775e 100644 --- a/pep-0441.txt +++ b/pep-0441.txt @@ -7,6 +7,7 @@ Author: Daniel Holth , Discussions-To: https://mail.python.org/pipermail/python-dev/2015-February/138277.html Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 30-Mar-2013 Post-History: 30-Mar-2013, 01-Apr-2013, 16-Feb-2015 diff --git a/pep-0449.txt b/pep-0449.txt index c383daa0d1b..bad7446c4d0 100644 --- a/pep-0449.txt +++ b/pep-0449.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Richard Jones Discussions-To: distutils-sig@python.org Status: Final Type: Process +Topic: Packaging Content-Type: text/x-rst Created: 04-Aug-2013 Post-History: 04-Aug-2013 diff --git a/pep-0453.txt b/pep-0453.txt index 94ee35db6b5..04954b92242 100644 --- a/pep-0453.txt +++ b/pep-0453.txt @@ -7,6 +7,7 @@ Author: Donald Stufft , BDFL-Delegate: Martin von Löwis Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 10-Aug-2013 Post-History: 30-Aug-2013, 15-Sep-2013, 18-Sep-2013, 19-Sep-2013, diff --git a/pep-0458.txt b/pep-0458.txt index 400843b36ea..ed4387cec27 100644 --- a/pep-0458.txt +++ b/pep-0458.txt @@ -14,6 +14,7 @@ BDFL-Delegate: Donald Stufft Discussions-To: https://discuss.python.org/t/pep-458-secure-pypi-downloads-with-package-signing/2648 Status: Accepted Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 27-Sep-2013 Post-History: 06-Jan-2019, 13-Nov-2019 diff --git a/pep-0459.txt b/pep-0459.txt index a35a84201ab..98399fa9da2 100644 --- a/pep-0459.txt +++ b/pep-0459.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Withdrawn Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Requires: 426 Created: 11-Nov-2013 diff --git a/pep-0464.txt b/pep-0464.txt index 89d1b062b4e..cbc696a716e 100644 --- a/pep-0464.txt +++ b/pep-0464.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Richard Jones Discussions-To: distutils-sig@python.org Status: Final Type: Process +Topic: Packaging Content-Type: text/x-rst Created: 02-Mar-2014 Post-History: 04-Mar-2014 diff --git a/pep-0470.txt b/pep-0470.txt index 53fb707921f..9ad243a22ef 100644 --- a/pep-0470.txt +++ b/pep-0470.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Paul Moore Discussions-To: distutils-sig@python.org Status: Final Type: Process +Topic: Packaging Content-Type: text/x-rst Created: 12-May-2014 Post-History: 14-May-2014, 05-Jun-2014, 03-Oct-2014, 13-Oct-2014, 26-Aug-2015 diff --git a/pep-0477.txt b/pep-0477.txt index 4356e351f6f..d2514d4468e 100644 --- a/pep-0477.txt +++ b/pep-0477.txt @@ -7,6 +7,7 @@ Author: Donald Stufft , BDFL-Delegate: Benjamin Peterson Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 26-Aug-2014 Post-History: 01-Sep-2014 diff --git a/pep-0480.txt b/pep-0480.txt index 821f714861c..669644fda6b 100644 --- a/pep-0480.txt +++ b/pep-0480.txt @@ -9,6 +9,7 @@ BDFL-Delegate: Donald Stufft Discussions-To: https://discuss.python.org/t/5666 Status: Draft Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Requires: 458 Created: 08-Oct-2014 diff --git a/pep-0491.txt b/pep-0491.txt index d348cbde44f..8062a6befb0 100644 --- a/pep-0491.txt +++ b/pep-0491.txt @@ -6,6 +6,7 @@ Author: Daniel Holth Discussions-To: distutils-sig@python.org Status: Deferred Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 16-Apr-2015 diff --git a/pep-0496.txt b/pep-0496.txt index 556c370ce77..53068cfc2b3 100644 --- a/pep-0496.txt +++ b/pep-0496.txt @@ -6,6 +6,7 @@ Author: James Polley BDFL-Delegate: Nick Coghlan Status: Rejected Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 03-Jul-2015 diff --git a/pep-0503.txt b/pep-0503.txt index ba567b6b5d1..2e370666e6c 100644 --- a/pep-0503.txt +++ b/pep-0503.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Donald Stufft Discussions-To: distutils-sig@python.org Status: Accepted Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 04-Sep-2015 Post-History: 04-Sep-2015 diff --git a/pep-0508.txt b/pep-0508.txt index f2b099c9824..999c95eb482 100644 --- a/pep-0508.txt +++ b/pep-0508.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Donald Stufft Discussions-To: distutils-sig@python.org Status: Active Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 11-Nov-2015 Post-History: 05-Nov-2015, 16-Nov-2015 diff --git a/pep-0513.txt b/pep-0513.txt index f4f2e939c5d..bae964a836e 100644 --- a/pep-0513.txt +++ b/pep-0513.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Superseded Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 19-Jan-2016 Post-History: 19-Jan-2016, 25-Jan-2016, 29-Jan-2016 diff --git a/pep-0516.txt b/pep-0516.txt index 9a7260a176d..de209ada097 100644 --- a/pep-0516.txt +++ b/pep-0516.txt @@ -8,6 +8,7 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Rejected Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 26-Oct-2015 Resolution: https://mail.python.org/pipermail/distutils-sig/2017-May/030517.html diff --git a/pep-0517.txt b/pep-0517.txt index 472689b3c42..295c55c0f50 100644 --- a/pep-0517.txt +++ b/pep-0517.txt @@ -8,6 +8,7 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 30-Sep-2015 Post-History: 01-Oct-2015, 25-Oct-2015, 19-May-2017, 11-Sep-2017 diff --git a/pep-0518.txt b/pep-0518.txt index c3f74483e83..c2d74764af7 100644 --- a/pep-0518.txt +++ b/pep-0518.txt @@ -9,6 +9,7 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 10-May-2016 Post-History: 10-May-2016, diff --git a/pep-0527.txt b/pep-0527.txt index 9eb4ffaa824..bd0eb66cae0 100644 --- a/pep-0527.txt +++ b/pep-0527.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Final Type: Process +Topic: Packaging Content-Type: text/x-rst Created: 23-Aug-2016 Post-History: 23-Aug-2016 diff --git a/pep-0541.txt b/pep-0541.txt index 45675642f2d..76c78b12403 100644 --- a/pep-0541.txt +++ b/pep-0541.txt @@ -7,6 +7,7 @@ BDFL-Delegate: Mark Mangoba Discussions-To: distutils-sig@python.org Status: Final Type: Process +Topic: Packaging Content-Type: text/x-rst Created: 12-Jan-2017 Post-History: diff --git a/pep-0561.rst b/pep-0561.rst index 80880d95617..7f924afdd68 100644 --- a/pep-0561.rst +++ b/pep-0561.rst @@ -3,6 +3,7 @@ Title: Distributing and Packaging Type Information Author: Ethan Smith Status: Accepted Type: Standards Track +Topic: Packaging, Typing Content-Type: text/x-rst Created: 09-Sep-2017 Python-Version: 3.7 diff --git a/pep-0566.rst b/pep-0566.rst index f782a947c42..f84e040b77d 100644 --- a/pep-0566.rst +++ b/pep-0566.rst @@ -7,6 +7,7 @@ BDFL-Delegate: Daniel Holth Discussions-To: distutils-sig@python.org Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 01-Dec-2017 Python-Version: 3.x diff --git a/pep-0571.rst b/pep-0571.rst index 4ac19983f17..e112292f161 100644 --- a/pep-0571.rst +++ b/pep-0571.rst @@ -9,6 +9,7 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Superseded Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 05-Feb-2018 Post-History: diff --git a/pep-0582.rst b/pep-0582.rst index 6781fabef09..978346f3f08 100644 --- a/pep-0582.rst +++ b/pep-0582.rst @@ -7,6 +7,7 @@ Author: Kushal Das , Steve Dower , Discussions-To: https://discuss.python.org/t/pep-582-python-local-packages-directory/963/ Status: Draft Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 16-May-2018 Python-Version: 3.8 diff --git a/pep-0592.rst b/pep-0592.rst index 76d72b00dc7..298720e6aec 100644 --- a/pep-0592.rst +++ b/pep-0592.rst @@ -5,6 +5,7 @@ BDFL-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/1629 Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 07-May-2019 Resolution: https://discuss.python.org/t/pep-592-support-for-yanked-files-in-the-simple-repository-api/1629/30 diff --git a/pep-0599.rst b/pep-0599.rst index f61317f95ee..1c22a643e2e 100644 --- a/pep-0599.rst +++ b/pep-0599.rst @@ -8,6 +8,7 @@ BDFL-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/the-next-manylinux-specification/1043 Status: Superseded Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 29-Apr-2019 Post-History: 29-Apr-2019 diff --git a/pep-0600.rst b/pep-0600.rst index 18885c94014..09771e84f29 100644 --- a/pep-0600.rst +++ b/pep-0600.rst @@ -9,6 +9,7 @@ BDFL-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/the-next-manylinux-specification/1043 Status: Accepted Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 03-May-2019 Post-History: 03-May-2019 diff --git a/pep-0609.rst b/pep-0609.rst index b40be5dae7d..51a9b8f6b8e 100644 --- a/pep-0609.rst +++ b/pep-0609.rst @@ -9,6 +9,7 @@ Sponsor: Paul Ganssle Discussions-To: https://discuss.python.org/t/pep-609-pypa-governance/2619 Status: Active Type: Process +Topic: Packaging Content-Type: text/x-rst Created: 05-Nov-2019 Post-History: 05-Nov-2019 diff --git a/pep-0610.rst b/pep-0610.rst index 810cad81f86..27b0cf2ada7 100644 --- a/pep-0610.rst +++ b/pep-0610.rst @@ -6,6 +6,7 @@ BDFL-Delegate: Pradyun Gedam Discussions-To: https://discuss.python.org/t/recording-the-source-url-of-an-installed-distribution/1535 Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 21-Apr-2019 Post-History: diff --git a/pep-0621.rst b/pep-0621.rst index 8935f0345b7..b1405e830f7 100644 --- a/pep-0621.rst +++ b/pep-0621.rst @@ -10,6 +10,7 @@ Author: Brett Cannon , Discussions-To: https://discuss.python.org/t/pep-621-round-3/5472 Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 22-Jun-2020 Post-History: 22-Jun-2020, diff --git a/pep-0625.rst b/pep-0625.rst index dcebad94e63..499011d57bb 100644 --- a/pep-0625.rst +++ b/pep-0625.rst @@ -5,6 +5,7 @@ Author: Tzu-ping Chung , Discussions-To: https://discuss.python.org/t/draft-pep-file-name-of-a-source-distribution/4686 Status: Draft Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 08-Jul-2020 Post-History: 08-Jul-2020 diff --git a/pep-0627.rst b/pep-0627.rst index 239ecfc81bd..b194cfb09ae 100644 --- a/pep-0627.rst +++ b/pep-0627.rst @@ -5,6 +5,7 @@ BDFL-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/pep-627/4126 Status: Accepted Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 15-Jul-2020 Resolution: https://discuss.python.org/t/pep-627/4126/42 diff --git a/pep-0629.rst b/pep-0629.rst index a58c0f730c0..2d0f99f5cc0 100644 --- a/pep-0629.rst +++ b/pep-0629.rst @@ -5,6 +5,7 @@ BDFL-Delegate: Brett Cannon Discussions-To: https://discuss.python.org/t/pep-629-versioning-pypis-simple-api/4720 Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 16-Jul-2020 Post-History: 16-Jul-2020 diff --git a/pep-0631.rst b/pep-0631.rst index 5b712f66856..0324f7a4460 100644 --- a/pep-0631.rst +++ b/pep-0631.rst @@ -5,6 +5,7 @@ Sponsor: Paul Ganssle Discussions-To: https://discuss.python.org/t/5018 Status: Superseded Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 20-Aug-2020 Post-History: 20-Aug-2020 diff --git a/pep-0632.rst b/pep-0632.rst index efd40ec6eed..bacb2e1a424 100644 --- a/pep-0632.rst +++ b/pep-0632.rst @@ -4,6 +4,7 @@ Author: Steve Dower Discussions-To: https://discuss.python.org/t/pep-632-deprecate-distutils-module/5134 Status: Accepted Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 03-Sep-2020 Python-Version: 3.10 diff --git a/pep-0633.rst b/pep-0633.rst index 2ab1c3c4c94..becf2af9932 100644 --- a/pep-0633.rst +++ b/pep-0633.rst @@ -6,6 +6,7 @@ Sponsor: Brett Cannon Discussions-To: https://discuss.python.org/t/dependency-specification-in-pyproject-toml-using-an-exploded-toml-table/5123/ Status: Rejected Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 02-Sep-2020 Post-History: 02-Sep-2020 diff --git a/pep-0639.rst b/pep-0639.rst index 7e98750c4bd..39c9f693139 100644 --- a/pep-0639.rst +++ b/pep-0639.rst @@ -7,6 +7,7 @@ PEP-Delegate: Brett Cannon Discussions-To: https://discuss.python.org/t/12622 Status: Draft Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 15-Aug-2019 Post-History: `15-Aug-2019 `__, diff --git a/pep-0643.rst b/pep-0643.rst index 0b2a0aed631..15d9d07b0e5 100644 --- a/pep-0643.rst +++ b/pep-0643.rst @@ -5,6 +5,7 @@ BDFL-Delegate: Paul Ganssle Discussions-To: https://discuss.python.org/t/pep-643-metadata-for-package-source-distributions/5577 Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 24-Oct-2020 Post-History: 24-Oct-2020, 01-Nov-2020, 02-Nov-2020, 14-Nov-2020 diff --git a/pep-0650.rst b/pep-0650.rst index 5897591190e..86beea8d011 100644 --- a/pep-0650.rst +++ b/pep-0650.rst @@ -6,6 +6,7 @@ Author: Vikram Jayanthi , Discussions-To: https://discuss.python.org/t/pep-650-specifying-installer-requirements-for-python-projects/6657 Status: Draft Type: Process +Topic: Packaging Content-Type: text/x-rst Created: 16-Jul-2020 Post-History: 14-Jan-2021 diff --git a/pep-0656.rst b/pep-0656.rst index 8ae839b8d40..a52108df488 100644 --- a/pep-0656.rst +++ b/pep-0656.rst @@ -6,6 +6,7 @@ PEP-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/7165 Status: Accepted Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 17-Mar-2021 Post-History: 17-Mar-2021, 18-Apr-2021 diff --git a/pep-0658.rst b/pep-0658.rst index 6adcbcf8bef..84b9834a5e6 100644 --- a/pep-0658.rst +++ b/pep-0658.rst @@ -6,6 +6,7 @@ PEP-Delegate: Donald Stufft Discussions-To: https://discuss.python.org/t/8651 Status: Accepted Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 10-May-2021 Post-History: 10-May-2021 diff --git a/pep-0660.rst b/pep-0660.rst index 90f79eec220..d30e773a631 100644 --- a/pep-0660.rst +++ b/pep-0660.rst @@ -5,6 +5,7 @@ Sponsor: Paul Moore Discussions-To: https://discuss.python.org/t/draft-pep-editable-installs-for-pep-517-style-build-backends/8510 Status: Accepted Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 30-Mar-2021 Post-History: diff --git a/pep-0662.rst b/pep-0662.rst index 6aa702bd39e..54b83157d4a 100644 --- a/pep-0662.rst +++ b/pep-0662.rst @@ -5,6 +5,7 @@ Sponsor: Brett Cannon Discussions-To: https://discuss.python.org/t/discuss-tbd-editable-installs-by-gaborbernat/9071 Status: Rejected Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 28-May-2021 Post-History: diff --git a/pep-0665.rst b/pep-0665.rst index deb901d7ba2..ac984660b0d 100644 --- a/pep-0665.rst +++ b/pep-0665.rst @@ -7,6 +7,7 @@ PEP-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/9911 Status: Rejected Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 29-Jul-2021 Post-History: 29-Jul-2021, 03-Nov-2021, 25-Nov-2021 diff --git a/pep-0668.rst b/pep-0668.rst index 32d5c53d185..25e3fc22577 100644 --- a/pep-0668.rst +++ b/pep-0668.rst @@ -11,6 +11,7 @@ Author: Geoffrey Thomas , Discussions-To: https://discuss.python.org/t/graceful-cooperation-between-external-and-python-package-managers-pep-668/10302 Status: Draft Type: Informational +Topic: Packaging Content-Type: text/x-rst Created: 18-May-2021 Post-History: 28-May-2021 diff --git a/pep-0685.rst b/pep-0685.rst index 45d6cc73a2c..373f9a9961c 100644 --- a/pep-0685.rst +++ b/pep-0685.rst @@ -5,6 +5,7 @@ PEP-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/14141 Status: Accepted Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 08-Mar-2022 Post-History: `08-Mar-2022 `__ diff --git a/pep-3147.txt b/pep-3147.txt index e8c5a303df6..58bf54a651a 100644 --- a/pep-3147.txt +++ b/pep-3147.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Barry Warsaw Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 16-Dec-2009 Python-Version: 3.2 diff --git a/pep-3149.txt b/pep-3149.txt index a7d64707ce8..410ead13690 100644 --- a/pep-3149.txt +++ b/pep-3149.txt @@ -5,6 +5,7 @@ Last-Modified: $Date$ Author: Barry Warsaw Status: Final Type: Standards Track +Topic: Packaging Content-Type: text/x-rst Created: 09-Jul-2010 Python-Version: 3.2 From 88cf334da603027e9e24c15c8d65ba6abd2501c4 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 8 Jun 2022 18:50:54 +0100 Subject: [PATCH 03/14] Fix lint rule --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aa2a77974c4..1bfb2e30765 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -179,7 +179,7 @@ repos: - id: validate-topic name: "'Topic' must be for a valid sub-index" language: pygrep - entry: '^Type:(?:(?! +(Packaging)$))' + entry: '^Topic:(?:(?! +(Packaging)$))' files: '^pep-\d+\.(rst|txt)$' types: [text] From 4b415dc2cdf595d3f9c9448297ed4e8f47eae3e4 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 8 Jun 2022 18:55:28 +0100 Subject: [PATCH 04/14] Revert peps.json location change (for now!) --- .../pep_zero_generator/pep_index_generator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py b/pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py index 70ee7c557a6..4ebaf0cbf9c 100644 --- a/pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py +++ b/pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py @@ -62,4 +62,6 @@ def create_pep_zero(app: Sphinx, env: BuildEnvironment, docnames: list[str]) -> subindices.generate_subindices(SUBINDICES_BY_TOPIC, peps, docnames, env) # Create peps.json - Path(app.outdir, "peps.json").write_text(create_pep_json(peps), encoding="utf-8") + json_path = Path(app.outdir, "api", "peps.json").resolve() + json_path.parent.mkdir(exist_ok=True) + json_path.write_text(create_pep_json(peps), encoding="utf-8") From ad10433e81f65477ab02d92d886fa8a83caa72a8 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 8 Jun 2022 18:57:06 +0100 Subject: [PATCH 05/14] Fix lint rule (second attempt) --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1bfb2e30765..be8e93d938b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -179,7 +179,8 @@ repos: - id: validate-topic name: "'Topic' must be for a valid sub-index" language: pygrep - entry: '^Topic:(?:(?! +(Packaging)$))' + entry: '^Topic:(?:(?! +(Packaging|Typing)$))' + args: [ '--negate', '--multiline' ] files: '^pep-\d+\.(rst|txt)$' types: [text] From e97e241c518185d15d6077547b36035c56990caf Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 8 Jun 2022 18:58:18 +0100 Subject: [PATCH 06/14] Append docnames --- pep_sphinx_extensions/pep_zero_generator/subindices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep_sphinx_extensions/pep_zero_generator/subindices.py b/pep_sphinx_extensions/pep_zero_generator/subindices.py index 88a5421f958..62e138d1797 100644 --- a/pep_sphinx_extensions/pep_zero_generator/subindices.py +++ b/pep_sphinx_extensions/pep_zero_generator/subindices.py @@ -19,7 +19,7 @@ def update_sphinx(filename: str, text: str, docnames: list[str], env: BuildEnvir file_path.write_text(text, encoding="utf-8") # Add to files for builder - docnames.insert(1, filename) + docnames.append(filename) # Add to files for writer env.found_docs.add(filename) From 3582a19b64194b24a8b27d49337e11f8b8e625bb Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 8 Jun 2022 18:59:50 +0100 Subject: [PATCH 07/14] Trois --- .pre-commit-config.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index be8e93d938b..a4c436d0efe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -179,8 +179,7 @@ repos: - id: validate-topic name: "'Topic' must be for a valid sub-index" language: pygrep - entry: '^Topic:(?:(?! +(Packaging|Typing)$))' - args: [ '--negate', '--multiline' ] + entry: '^Topic:(?:(?! +(Packaging|Typing|Packaging, Typing)$))' files: '^pep-\d+\.(rst|txt)$' types: [text] From baa91b16552160f0e758e99e596e03b9e4c9af3c Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 8 Jun 2022 19:11:22 +0100 Subject: [PATCH 08/14] Revert "Add Topic: Packaging" This reverts commit 382bc54edb1bb3b6660aa2b5b078d1592599c979. --- pep-0241.txt | 1 - pep-0243.txt | 1 - pep-0250.txt | 1 - pep-0262.txt | 1 - pep-0273.txt | 1 - pep-0301.txt | 1 - pep-0314.txt | 1 - pep-0345.txt | 1 - pep-0365.txt | 1 - pep-0370.txt | 1 - pep-0376.txt | 1 - pep-0381.txt | 1 - pep-0382.txt | 1 - pep-0386.txt | 1 - pep-0390.txt | 1 - pep-0394.txt | 1 - pep-0395.txt | 1 - pep-0396.txt | 1 - pep-0402.txt | 1 - pep-0405.txt | 1 - pep-0420.txt | 1 - pep-0423.txt | 1 - pep-0425.txt | 1 - pep-0426.txt | 1 - pep-0427.txt | 1 - pep-0438.txt | 1 - pep-0439.txt | 1 - pep-0440.txt | 1 - pep-0441.txt | 1 - pep-0449.txt | 1 - pep-0453.txt | 1 - pep-0458.txt | 1 - pep-0459.txt | 1 - pep-0464.txt | 1 - pep-0470.txt | 1 - pep-0477.txt | 1 - pep-0480.txt | 1 - pep-0491.txt | 1 - pep-0496.txt | 1 - pep-0503.txt | 1 - pep-0508.txt | 1 - pep-0513.txt | 1 - pep-0516.txt | 1 - pep-0517.txt | 1 - pep-0518.txt | 1 - pep-0527.txt | 1 - pep-0541.txt | 1 - pep-0561.rst | 1 - pep-0566.rst | 1 - pep-0571.rst | 1 - pep-0582.rst | 1 - pep-0592.rst | 1 - pep-0599.rst | 1 - pep-0600.rst | 1 - pep-0609.rst | 1 - pep-0610.rst | 1 - pep-0621.rst | 1 - pep-0625.rst | 1 - pep-0627.rst | 1 - pep-0629.rst | 1 - pep-0631.rst | 1 - pep-0632.rst | 1 - pep-0633.rst | 1 - pep-0639.rst | 1 - pep-0643.rst | 1 - pep-0650.rst | 1 - pep-0656.rst | 1 - pep-0658.rst | 1 - pep-0660.rst | 1 - pep-0662.rst | 1 - pep-0665.rst | 1 - pep-0668.rst | 1 - pep-0685.rst | 1 - pep-3147.txt | 1 - pep-3149.txt | 1 - 75 files changed, 75 deletions(-) diff --git a/pep-0241.txt b/pep-0241.txt index 41a4c757f4a..5f197892734 100644 --- a/pep-0241.txt +++ b/pep-0241.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: A.M. Kuchling Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 12-Mar-2001 Post-History: 19-Mar-2001 diff --git a/pep-0243.txt b/pep-0243.txt index 40b0fabf874..94b20b55aac 100644 --- a/pep-0243.txt +++ b/pep-0243.txt @@ -6,7 +6,6 @@ Author: jafo-pep@tummy.com (Sean Reifschneider) Discussions-To: distutils-sig@python.org Status: Withdrawn Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 18-Mar-2001 Python-Version: 2.1 diff --git a/pep-0250.txt b/pep-0250.txt index a8c1fa11579..688c5ee41cc 100644 --- a/pep-0250.txt +++ b/pep-0250.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: p.f.moore@gmail.com (Paul Moore) Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 30-Mar-2001 Python-Version: 2.2 diff --git a/pep-0262.txt b/pep-0262.txt index 116d5e9db39..6b3c71a0ddf 100644 --- a/pep-0262.txt +++ b/pep-0262.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: A.M. Kuchling Status: Deferred Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 08-Jul-2001 Post-History: 27-Mar-2002 diff --git a/pep-0273.txt b/pep-0273.txt index e7c2cee68b6..7565d691e28 100644 --- a/pep-0273.txt +++ b/pep-0273.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: jim@interet.com (James C. Ahlstrom) Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 11-Oct-2001 Python-Version: 2.3 diff --git a/pep-0301.txt b/pep-0301.txt index b748e843e3d..f09f64b2823 100644 --- a/pep-0301.txt +++ b/pep-0301.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: Richard Jones Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 24-Oct-2002 Python-Version: 2.3 diff --git a/pep-0314.txt b/pep-0314.txt index 71a713c5da9..10930556560 100644 --- a/pep-0314.txt +++ b/pep-0314.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: A.M. Kuchling, Richard Jones Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 12-Apr-2003 Python-Version: 2.5 diff --git a/pep-0345.txt b/pep-0345.txt index a28fb1aa80b..e9cd3b24324 100644 --- a/pep-0345.txt +++ b/pep-0345.txt @@ -6,7 +6,6 @@ Author: Richard Jones Discussions-To: distutils-sig@python.org Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 28-Apr-2005 Python-Version: 2.5 diff --git a/pep-0365.txt b/pep-0365.txt index 5fa99916718..f52a617a11b 100644 --- a/pep-0365.txt +++ b/pep-0365.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: Phillip J. Eby Status: Rejected Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 30-Apr-2007 Post-History: 30-Apr-2007 diff --git a/pep-0370.txt b/pep-0370.txt index f72dca4a219..84b42259704 100644 --- a/pep-0370.txt +++ b/pep-0370.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: Christian Heimes Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 11-Jan-2008 Python-Version: 2.6, 3.0 diff --git a/pep-0376.txt b/pep-0376.txt index 6afb128f827..9372c8b9443 100644 --- a/pep-0376.txt +++ b/pep-0376.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: Tarek Ziadé Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 22-Feb-2009 Python-Version: 2.7, 3.2 diff --git a/pep-0381.txt b/pep-0381.txt index 2bfad7c1e31..02f8ade34d7 100644 --- a/pep-0381.txt +++ b/pep-0381.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: Tarek Ziadé , Martin v. Löwis Status: Withdrawn Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 21-Mar-2009 Post-History: diff --git a/pep-0382.txt b/pep-0382.txt index b2a68a8e84f..520c33c0135 100644 --- a/pep-0382.txt +++ b/pep-0382.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: Martin v. Löwis Status: Rejected Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 02-Apr-2009 Python-Version: 3.2 diff --git a/pep-0386.txt b/pep-0386.txt index aa7f964cb04..52917a707ad 100644 --- a/pep-0386.txt +++ b/pep-0386.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: Tarek Ziadé Status: Superseded Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 04-Jun-2009 Superseded-By: 440 diff --git a/pep-0390.txt b/pep-0390.txt index f10d4fd5386..536abc86468 100644 --- a/pep-0390.txt +++ b/pep-0390.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Rejected Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 10-Oct-2009 Python-Version: 2.7, 3.2 diff --git a/pep-0394.txt b/pep-0394.txt index ff3318c5083..10ad8a911ba 100644 --- a/pep-0394.txt +++ b/pep-0394.txt @@ -10,7 +10,6 @@ Author: Kerrick Staley , Carol Willing , Status: Active Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 02-Mar-2011 Post-History: 04-Mar-2011, 20-Jul-2011, 16-Feb-2012, 30-Sep-2014, 28-Apr-2018, diff --git a/pep-0395.txt b/pep-0395.txt index 3a19b2e8e66..f35a2658e66 100644 --- a/pep-0395.txt +++ b/pep-0395.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: Nick Coghlan Status: Withdrawn Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 04-Mar-2011 Python-Version: 3.4 diff --git a/pep-0396.txt b/pep-0396.txt index bc022971f2b..842c347ce6d 100644 --- a/pep-0396.txt +++ b/pep-0396.txt @@ -5,7 +5,6 @@ Last-Modified: $Date: 2008-08-10 09:59:20 -0400 (Sun, 10 Aug 2008) $ Author: Barry Warsaw Status: Rejected Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 16-Mar-2011 Post-History: 05-Apr-2011 diff --git a/pep-0402.txt b/pep-0402.txt index 0d8a9544040..1396118205b 100644 --- a/pep-0402.txt +++ b/pep-0402.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: P.J. Eby Status: Rejected Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 12-Jul-2011 Python-Version: 3.3 diff --git a/pep-0405.txt b/pep-0405.txt index 22e0a262433..44c40eee244 100644 --- a/pep-0405.txt +++ b/pep-0405.txt @@ -6,7 +6,6 @@ Author: Carl Meyer BDFL-Delegate: Nick Coghlan Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 13-Jun-2011 Python-Version: 3.3 diff --git a/pep-0420.txt b/pep-0420.txt index d094abdc6a1..0f0baa73319 100644 --- a/pep-0420.txt +++ b/pep-0420.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: Eric V. Smith Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 19-Apr-2012 Python-Version: 3.3 diff --git a/pep-0423.txt b/pep-0423.txt index 094fef505b0..1108312bd06 100644 --- a/pep-0423.txt +++ b/pep-0423.txt @@ -6,7 +6,6 @@ Author: Benoit Bryon Discussions-To: distutils-sig@python.org Status: Deferred Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 24-May-2012 Post-History: diff --git a/pep-0425.txt b/pep-0425.txt index 43d420a06ca..29bf97da547 100644 --- a/pep-0425.txt +++ b/pep-0425.txt @@ -6,7 +6,6 @@ Author: Daniel Holth BDFL-Delegate: Nick Coghlan Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 27-Jul-2012 Python-Version: 3.4 diff --git a/pep-0426.txt b/pep-0426.txt index 56308b32859..7e09f7bee4f 100644 --- a/pep-0426.txt +++ b/pep-0426.txt @@ -9,7 +9,6 @@ BDFL-Delegate: Donald Stufft Discussions-To: distutils-sig@python.org Status: Withdrawn Type: Informational -Topic: Packaging Content-Type: text/x-rst Requires: 440, 508, 518 Created: 30-Aug-2012 diff --git a/pep-0427.txt b/pep-0427.txt index 423fc11d4b7..aecae3f3ed4 100644 --- a/pep-0427.txt +++ b/pep-0427.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 20-Sep-2012 Post-History: 18-Oct-2012, 15-Feb-2013 diff --git a/pep-0438.txt b/pep-0438.txt index 30ee2d530f0..1f1b1588a1c 100644 --- a/pep-0438.txt +++ b/pep-0438.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Richard Jones Discussions-To: distutils-sig@python.org Status: Superseded Type: Process -Topic: Packaging Content-Type: text/x-rst Created: 15-Mar-2013 Post-History: 19-May-2013 diff --git a/pep-0439.txt b/pep-0439.txt index d354c3da427..90c1650d452 100644 --- a/pep-0439.txt +++ b/pep-0439.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Rejected Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 18-Mar-2013 Python-Version: 3.4 diff --git a/pep-0440.txt b/pep-0440.txt index 8d262b5bbf5..cae1ad38504 100644 --- a/pep-0440.txt +++ b/pep-0440.txt @@ -7,7 +7,6 @@ Author: Nick Coghlan , BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Active -Topic: Packaging Type: Informational Content-Type: text/x-rst Created: 18-Mar-2013 diff --git a/pep-0441.txt b/pep-0441.txt index 3725b18775e..f894c82b7d6 100644 --- a/pep-0441.txt +++ b/pep-0441.txt @@ -7,7 +7,6 @@ Author: Daniel Holth , Discussions-To: https://mail.python.org/pipermail/python-dev/2015-February/138277.html Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 30-Mar-2013 Post-History: 30-Mar-2013, 01-Apr-2013, 16-Feb-2015 diff --git a/pep-0449.txt b/pep-0449.txt index bad7446c4d0..c383daa0d1b 100644 --- a/pep-0449.txt +++ b/pep-0449.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Richard Jones Discussions-To: distutils-sig@python.org Status: Final Type: Process -Topic: Packaging Content-Type: text/x-rst Created: 04-Aug-2013 Post-History: 04-Aug-2013 diff --git a/pep-0453.txt b/pep-0453.txt index 04954b92242..94ee35db6b5 100644 --- a/pep-0453.txt +++ b/pep-0453.txt @@ -7,7 +7,6 @@ Author: Donald Stufft , BDFL-Delegate: Martin von Löwis Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 10-Aug-2013 Post-History: 30-Aug-2013, 15-Sep-2013, 18-Sep-2013, 19-Sep-2013, diff --git a/pep-0458.txt b/pep-0458.txt index ed4387cec27..400843b36ea 100644 --- a/pep-0458.txt +++ b/pep-0458.txt @@ -14,7 +14,6 @@ BDFL-Delegate: Donald Stufft Discussions-To: https://discuss.python.org/t/pep-458-secure-pypi-downloads-with-package-signing/2648 Status: Accepted Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 27-Sep-2013 Post-History: 06-Jan-2019, 13-Nov-2019 diff --git a/pep-0459.txt b/pep-0459.txt index 98399fa9da2..a35a84201ab 100644 --- a/pep-0459.txt +++ b/pep-0459.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Withdrawn Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Requires: 426 Created: 11-Nov-2013 diff --git a/pep-0464.txt b/pep-0464.txt index cbc696a716e..89d1b062b4e 100644 --- a/pep-0464.txt +++ b/pep-0464.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Richard Jones Discussions-To: distutils-sig@python.org Status: Final Type: Process -Topic: Packaging Content-Type: text/x-rst Created: 02-Mar-2014 Post-History: 04-Mar-2014 diff --git a/pep-0470.txt b/pep-0470.txt index 9ad243a22ef..53fb707921f 100644 --- a/pep-0470.txt +++ b/pep-0470.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Paul Moore Discussions-To: distutils-sig@python.org Status: Final Type: Process -Topic: Packaging Content-Type: text/x-rst Created: 12-May-2014 Post-History: 14-May-2014, 05-Jun-2014, 03-Oct-2014, 13-Oct-2014, 26-Aug-2015 diff --git a/pep-0477.txt b/pep-0477.txt index d2514d4468e..4356e351f6f 100644 --- a/pep-0477.txt +++ b/pep-0477.txt @@ -7,7 +7,6 @@ Author: Donald Stufft , BDFL-Delegate: Benjamin Peterson Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 26-Aug-2014 Post-History: 01-Sep-2014 diff --git a/pep-0480.txt b/pep-0480.txt index 669644fda6b..821f714861c 100644 --- a/pep-0480.txt +++ b/pep-0480.txt @@ -9,7 +9,6 @@ BDFL-Delegate: Donald Stufft Discussions-To: https://discuss.python.org/t/5666 Status: Draft Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Requires: 458 Created: 08-Oct-2014 diff --git a/pep-0491.txt b/pep-0491.txt index 8062a6befb0..d348cbde44f 100644 --- a/pep-0491.txt +++ b/pep-0491.txt @@ -6,7 +6,6 @@ Author: Daniel Holth Discussions-To: distutils-sig@python.org Status: Deferred Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 16-Apr-2015 diff --git a/pep-0496.txt b/pep-0496.txt index 53068cfc2b3..556c370ce77 100644 --- a/pep-0496.txt +++ b/pep-0496.txt @@ -6,7 +6,6 @@ Author: James Polley BDFL-Delegate: Nick Coghlan Status: Rejected Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 03-Jul-2015 diff --git a/pep-0503.txt b/pep-0503.txt index 2e370666e6c..ba567b6b5d1 100644 --- a/pep-0503.txt +++ b/pep-0503.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Donald Stufft Discussions-To: distutils-sig@python.org Status: Accepted Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 04-Sep-2015 Post-History: 04-Sep-2015 diff --git a/pep-0508.txt b/pep-0508.txt index 999c95eb482..f2b099c9824 100644 --- a/pep-0508.txt +++ b/pep-0508.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Donald Stufft Discussions-To: distutils-sig@python.org Status: Active Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 11-Nov-2015 Post-History: 05-Nov-2015, 16-Nov-2015 diff --git a/pep-0513.txt b/pep-0513.txt index bae964a836e..f4f2e939c5d 100644 --- a/pep-0513.txt +++ b/pep-0513.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Superseded Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 19-Jan-2016 Post-History: 19-Jan-2016, 25-Jan-2016, 29-Jan-2016 diff --git a/pep-0516.txt b/pep-0516.txt index de209ada097..9a7260a176d 100644 --- a/pep-0516.txt +++ b/pep-0516.txt @@ -8,7 +8,6 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Rejected Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 26-Oct-2015 Resolution: https://mail.python.org/pipermail/distutils-sig/2017-May/030517.html diff --git a/pep-0517.txt b/pep-0517.txt index 295c55c0f50..472689b3c42 100644 --- a/pep-0517.txt +++ b/pep-0517.txt @@ -8,7 +8,6 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 30-Sep-2015 Post-History: 01-Oct-2015, 25-Oct-2015, 19-May-2017, 11-Sep-2017 diff --git a/pep-0518.txt b/pep-0518.txt index c2d74764af7..c3f74483e83 100644 --- a/pep-0518.txt +++ b/pep-0518.txt @@ -9,7 +9,6 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 10-May-2016 Post-History: 10-May-2016, diff --git a/pep-0527.txt b/pep-0527.txt index bd0eb66cae0..9eb4ffaa824 100644 --- a/pep-0527.txt +++ b/pep-0527.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Final Type: Process -Topic: Packaging Content-Type: text/x-rst Created: 23-Aug-2016 Post-History: 23-Aug-2016 diff --git a/pep-0541.txt b/pep-0541.txt index 76c78b12403..45675642f2d 100644 --- a/pep-0541.txt +++ b/pep-0541.txt @@ -7,7 +7,6 @@ BDFL-Delegate: Mark Mangoba Discussions-To: distutils-sig@python.org Status: Final Type: Process -Topic: Packaging Content-Type: text/x-rst Created: 12-Jan-2017 Post-History: diff --git a/pep-0561.rst b/pep-0561.rst index 7f924afdd68..80880d95617 100644 --- a/pep-0561.rst +++ b/pep-0561.rst @@ -3,7 +3,6 @@ Title: Distributing and Packaging Type Information Author: Ethan Smith Status: Accepted Type: Standards Track -Topic: Packaging, Typing Content-Type: text/x-rst Created: 09-Sep-2017 Python-Version: 3.7 diff --git a/pep-0566.rst b/pep-0566.rst index f84e040b77d..f782a947c42 100644 --- a/pep-0566.rst +++ b/pep-0566.rst @@ -7,7 +7,6 @@ BDFL-Delegate: Daniel Holth Discussions-To: distutils-sig@python.org Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 01-Dec-2017 Python-Version: 3.x diff --git a/pep-0571.rst b/pep-0571.rst index e112292f161..4ac19983f17 100644 --- a/pep-0571.rst +++ b/pep-0571.rst @@ -9,7 +9,6 @@ BDFL-Delegate: Nick Coghlan Discussions-To: distutils-sig@python.org Status: Superseded Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 05-Feb-2018 Post-History: diff --git a/pep-0582.rst b/pep-0582.rst index 978346f3f08..6781fabef09 100644 --- a/pep-0582.rst +++ b/pep-0582.rst @@ -7,7 +7,6 @@ Author: Kushal Das , Steve Dower , Discussions-To: https://discuss.python.org/t/pep-582-python-local-packages-directory/963/ Status: Draft Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 16-May-2018 Python-Version: 3.8 diff --git a/pep-0592.rst b/pep-0592.rst index 298720e6aec..76d72b00dc7 100644 --- a/pep-0592.rst +++ b/pep-0592.rst @@ -5,7 +5,6 @@ BDFL-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/1629 Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 07-May-2019 Resolution: https://discuss.python.org/t/pep-592-support-for-yanked-files-in-the-simple-repository-api/1629/30 diff --git a/pep-0599.rst b/pep-0599.rst index 1c22a643e2e..f61317f95ee 100644 --- a/pep-0599.rst +++ b/pep-0599.rst @@ -8,7 +8,6 @@ BDFL-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/the-next-manylinux-specification/1043 Status: Superseded Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 29-Apr-2019 Post-History: 29-Apr-2019 diff --git a/pep-0600.rst b/pep-0600.rst index 09771e84f29..18885c94014 100644 --- a/pep-0600.rst +++ b/pep-0600.rst @@ -9,7 +9,6 @@ BDFL-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/the-next-manylinux-specification/1043 Status: Accepted Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 03-May-2019 Post-History: 03-May-2019 diff --git a/pep-0609.rst b/pep-0609.rst index 51a9b8f6b8e..b40be5dae7d 100644 --- a/pep-0609.rst +++ b/pep-0609.rst @@ -9,7 +9,6 @@ Sponsor: Paul Ganssle Discussions-To: https://discuss.python.org/t/pep-609-pypa-governance/2619 Status: Active Type: Process -Topic: Packaging Content-Type: text/x-rst Created: 05-Nov-2019 Post-History: 05-Nov-2019 diff --git a/pep-0610.rst b/pep-0610.rst index 27b0cf2ada7..810cad81f86 100644 --- a/pep-0610.rst +++ b/pep-0610.rst @@ -6,7 +6,6 @@ BDFL-Delegate: Pradyun Gedam Discussions-To: https://discuss.python.org/t/recording-the-source-url-of-an-installed-distribution/1535 Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 21-Apr-2019 Post-History: diff --git a/pep-0621.rst b/pep-0621.rst index b1405e830f7..8935f0345b7 100644 --- a/pep-0621.rst +++ b/pep-0621.rst @@ -10,7 +10,6 @@ Author: Brett Cannon , Discussions-To: https://discuss.python.org/t/pep-621-round-3/5472 Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 22-Jun-2020 Post-History: 22-Jun-2020, diff --git a/pep-0625.rst b/pep-0625.rst index 499011d57bb..dcebad94e63 100644 --- a/pep-0625.rst +++ b/pep-0625.rst @@ -5,7 +5,6 @@ Author: Tzu-ping Chung , Discussions-To: https://discuss.python.org/t/draft-pep-file-name-of-a-source-distribution/4686 Status: Draft Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 08-Jul-2020 Post-History: 08-Jul-2020 diff --git a/pep-0627.rst b/pep-0627.rst index b194cfb09ae..239ecfc81bd 100644 --- a/pep-0627.rst +++ b/pep-0627.rst @@ -5,7 +5,6 @@ BDFL-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/pep-627/4126 Status: Accepted Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 15-Jul-2020 Resolution: https://discuss.python.org/t/pep-627/4126/42 diff --git a/pep-0629.rst b/pep-0629.rst index 2d0f99f5cc0..a58c0f730c0 100644 --- a/pep-0629.rst +++ b/pep-0629.rst @@ -5,7 +5,6 @@ BDFL-Delegate: Brett Cannon Discussions-To: https://discuss.python.org/t/pep-629-versioning-pypis-simple-api/4720 Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 16-Jul-2020 Post-History: 16-Jul-2020 diff --git a/pep-0631.rst b/pep-0631.rst index 0324f7a4460..5b712f66856 100644 --- a/pep-0631.rst +++ b/pep-0631.rst @@ -5,7 +5,6 @@ Sponsor: Paul Ganssle Discussions-To: https://discuss.python.org/t/5018 Status: Superseded Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 20-Aug-2020 Post-History: 20-Aug-2020 diff --git a/pep-0632.rst b/pep-0632.rst index bacb2e1a424..efd40ec6eed 100644 --- a/pep-0632.rst +++ b/pep-0632.rst @@ -4,7 +4,6 @@ Author: Steve Dower Discussions-To: https://discuss.python.org/t/pep-632-deprecate-distutils-module/5134 Status: Accepted Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 03-Sep-2020 Python-Version: 3.10 diff --git a/pep-0633.rst b/pep-0633.rst index becf2af9932..2ab1c3c4c94 100644 --- a/pep-0633.rst +++ b/pep-0633.rst @@ -6,7 +6,6 @@ Sponsor: Brett Cannon Discussions-To: https://discuss.python.org/t/dependency-specification-in-pyproject-toml-using-an-exploded-toml-table/5123/ Status: Rejected Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 02-Sep-2020 Post-History: 02-Sep-2020 diff --git a/pep-0639.rst b/pep-0639.rst index 39c9f693139..7e98750c4bd 100644 --- a/pep-0639.rst +++ b/pep-0639.rst @@ -7,7 +7,6 @@ PEP-Delegate: Brett Cannon Discussions-To: https://discuss.python.org/t/12622 Status: Draft Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 15-Aug-2019 Post-History: `15-Aug-2019 `__, diff --git a/pep-0643.rst b/pep-0643.rst index 15d9d07b0e5..0b2a0aed631 100644 --- a/pep-0643.rst +++ b/pep-0643.rst @@ -5,7 +5,6 @@ BDFL-Delegate: Paul Ganssle Discussions-To: https://discuss.python.org/t/pep-643-metadata-for-package-source-distributions/5577 Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 24-Oct-2020 Post-History: 24-Oct-2020, 01-Nov-2020, 02-Nov-2020, 14-Nov-2020 diff --git a/pep-0650.rst b/pep-0650.rst index 86beea8d011..5897591190e 100644 --- a/pep-0650.rst +++ b/pep-0650.rst @@ -6,7 +6,6 @@ Author: Vikram Jayanthi , Discussions-To: https://discuss.python.org/t/pep-650-specifying-installer-requirements-for-python-projects/6657 Status: Draft Type: Process -Topic: Packaging Content-Type: text/x-rst Created: 16-Jul-2020 Post-History: 14-Jan-2021 diff --git a/pep-0656.rst b/pep-0656.rst index a52108df488..8ae839b8d40 100644 --- a/pep-0656.rst +++ b/pep-0656.rst @@ -6,7 +6,6 @@ PEP-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/7165 Status: Accepted Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 17-Mar-2021 Post-History: 17-Mar-2021, 18-Apr-2021 diff --git a/pep-0658.rst b/pep-0658.rst index 84b9834a5e6..6adcbcf8bef 100644 --- a/pep-0658.rst +++ b/pep-0658.rst @@ -6,7 +6,6 @@ PEP-Delegate: Donald Stufft Discussions-To: https://discuss.python.org/t/8651 Status: Accepted Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 10-May-2021 Post-History: 10-May-2021 diff --git a/pep-0660.rst b/pep-0660.rst index d30e773a631..90f79eec220 100644 --- a/pep-0660.rst +++ b/pep-0660.rst @@ -5,7 +5,6 @@ Sponsor: Paul Moore Discussions-To: https://discuss.python.org/t/draft-pep-editable-installs-for-pep-517-style-build-backends/8510 Status: Accepted Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 30-Mar-2021 Post-History: diff --git a/pep-0662.rst b/pep-0662.rst index 54b83157d4a..6aa702bd39e 100644 --- a/pep-0662.rst +++ b/pep-0662.rst @@ -5,7 +5,6 @@ Sponsor: Brett Cannon Discussions-To: https://discuss.python.org/t/discuss-tbd-editable-installs-by-gaborbernat/9071 Status: Rejected Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 28-May-2021 Post-History: diff --git a/pep-0665.rst b/pep-0665.rst index ac984660b0d..deb901d7ba2 100644 --- a/pep-0665.rst +++ b/pep-0665.rst @@ -7,7 +7,6 @@ PEP-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/9911 Status: Rejected Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 29-Jul-2021 Post-History: 29-Jul-2021, 03-Nov-2021, 25-Nov-2021 diff --git a/pep-0668.rst b/pep-0668.rst index 25e3fc22577..32d5c53d185 100644 --- a/pep-0668.rst +++ b/pep-0668.rst @@ -11,7 +11,6 @@ Author: Geoffrey Thomas , Discussions-To: https://discuss.python.org/t/graceful-cooperation-between-external-and-python-package-managers-pep-668/10302 Status: Draft Type: Informational -Topic: Packaging Content-Type: text/x-rst Created: 18-May-2021 Post-History: 28-May-2021 diff --git a/pep-0685.rst b/pep-0685.rst index 373f9a9961c..45d6cc73a2c 100644 --- a/pep-0685.rst +++ b/pep-0685.rst @@ -5,7 +5,6 @@ PEP-Delegate: Paul Moore Discussions-To: https://discuss.python.org/t/14141 Status: Accepted Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 08-Mar-2022 Post-History: `08-Mar-2022 `__ diff --git a/pep-3147.txt b/pep-3147.txt index 58bf54a651a..e8c5a303df6 100644 --- a/pep-3147.txt +++ b/pep-3147.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: Barry Warsaw Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 16-Dec-2009 Python-Version: 3.2 diff --git a/pep-3149.txt b/pep-3149.txt index 410ead13690..a7d64707ce8 100644 --- a/pep-3149.txt +++ b/pep-3149.txt @@ -5,7 +5,6 @@ Last-Modified: $Date$ Author: Barry Warsaw Status: Final Type: Standards Track -Topic: Packaging Content-Type: text/x-rst Created: 09-Jul-2010 Python-Version: 3.2 From 9e5cbc3fe68107725350b0b2e0996e621fdbe8d8 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 8 Jun 2022 19:23:33 +0100 Subject: [PATCH 09/14] Fix 0 pages case --- pep_sphinx_extensions/pep_processor/html/pep_html_builder.py | 2 +- pep_sphinx_extensions/pep_zero_generator/writer.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pep_sphinx_extensions/pep_processor/html/pep_html_builder.py b/pep_sphinx_extensions/pep_processor/html/pep_html_builder.py index 6a8447cfe64..f95d904113e 100644 --- a/pep_sphinx_extensions/pep_processor/html/pep_html_builder.py +++ b/pep_sphinx_extensions/pep_processor/html/pep_html_builder.py @@ -36,7 +36,7 @@ def get_doc_context(self, docname: str, body: str, _metatags: str) -> dict: # local table of contents toc_tree = self.env.tocs[docname].deepcopy() - if len(toc_tree[0]) > 1: + if len(toc_tree) and len(toc_tree[0]) > 1: toc_tree = toc_tree[0][1] # don't include document title del toc_tree[0] # remove contents node for node in toc_tree.findall(nodes.reference): diff --git a/pep_sphinx_extensions/pep_zero_generator/writer.py b/pep_sphinx_extensions/pep_zero_generator/writer.py index e74fb90cb98..ec7da3acc2e 100644 --- a/pep_sphinx_extensions/pep_zero_generator/writer.py +++ b/pep_sphinx_extensions/pep_zero_generator/writer.py @@ -113,6 +113,8 @@ def emit_pep_category(self, category: str, peps: list[PEP]) -> None: self.emit_newline() def write_pep0(self, peps: list[PEP], header: str = HEADER, intro: str = INTRO, is_pep0: bool = True): + if len(peps) == 0: + return "" # PEP metadata self.emit_text(header) From 8772b6454e3ae8b305a00abf7c7cfe7bfd2ec6fc Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 8 Jun 2022 19:54:31 +0100 Subject: [PATCH 10/14] Add PEP 609 --- pep-0609.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/pep-0609.rst b/pep-0609.rst index b40be5dae7d..51a9b8f6b8e 100644 --- a/pep-0609.rst +++ b/pep-0609.rst @@ -9,6 +9,7 @@ Sponsor: Paul Ganssle Discussions-To: https://discuss.python.org/t/pep-609-pypa-governance/2619 Status: Active Type: Process +Topic: Packaging Content-Type: text/x-rst Created: 05-Nov-2019 Post-History: 05-Nov-2019 From b5dbc9aa352a037336c3cfa5781fcdffd2f119ac Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 8 Jun 2022 20:26:30 +0100 Subject: [PATCH 11/14] Hugo's comments --- pep_sphinx_extensions/pep_zero_generator/parser.py | 4 ++-- pep_sphinx_extensions/pep_zero_generator/writer.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pep_sphinx_extensions/pep_zero_generator/parser.py b/pep_sphinx_extensions/pep_zero_generator/parser.py index 56e800f0b57..c1c14e9cc27 100644 --- a/pep_sphinx_extensions/pep_zero_generator/parser.py +++ b/pep_sphinx_extensions/pep_zero_generator/parser.py @@ -23,7 +23,7 @@ from pep_sphinx_extensions.pep_zero_generator.author import Author -# AUTHOR_OVERRIDES.csv is an exception file for PEP0 name parsing +# AUTHOR_OVERRIDES.csv is an exception file for PEP 0 name parsing AUTHOR_OVERRIDES: dict[str, dict[str, str]] = {} with open("AUTHOR_OVERRIDES.csv", "r", encoding="utf-8") as f: for line in csv.DictReader(f): @@ -99,7 +99,7 @@ def __init__(self, filename: Path): # Parse PEP authors self.authors: list[Author] = _parse_authors(self, metadata["Author"], AUTHOR_OVERRIDES) - # Topic (for sub-indicies) + # Topic (for sub-indices) _topic = metadata.get("Topic", "").lower().split(",") self.topic: set[str] = {topic for topic_raw in _topic if (topic := topic_raw.strip())} diff --git a/pep_sphinx_extensions/pep_zero_generator/writer.py b/pep_sphinx_extensions/pep_zero_generator/writer.py index ec7da3acc2e..2ba637213d3 100644 --- a/pep_sphinx_extensions/pep_zero_generator/writer.py +++ b/pep_sphinx_extensions/pep_zero_generator/writer.py @@ -140,7 +140,7 @@ def write_pep0(self, peps: list[PEP], header: str = HEADER, intro: str = INTRO, ("Abandoned, Withdrawn, and Rejected PEPs", dead), ] for (category, peps_in_category) in pep_categories: - # For subindices, only emit categories with entries. + # For sub-indices, only emit categories with entries. # For PEP 0, emit every category if is_pep0 or len(peps_in_category) > 0: self.emit_pep_category(category, peps_in_category) From 991ba56a09f4da1d5c837d4ff88449a904fd0c3d Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 8 Jun 2022 20:28:58 +0100 Subject: [PATCH 12/14] One more --- pep_sphinx_extensions/pep_zero_generator/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep_sphinx_extensions/pep_zero_generator/constants.py b/pep_sphinx_extensions/pep_zero_generator/constants.py index 134dee44631..0be1ed20e27 100644 --- a/pep_sphinx_extensions/pep_zero_generator/constants.py +++ b/pep_sphinx_extensions/pep_zero_generator/constants.py @@ -37,7 +37,7 @@ SUBINDICES_BY_TOPIC = { "packaging": """\ The canonical, up-to-date packaging specifications can be found on the -`Python Packaging Authority`_ (PyPA's) `Specifications page`_. +`Python Packaging Authority`_ (PyPA) `Specifications page`_. Packaging PEPs follow the `PyPA specification update process`_. They are used to propose major additions or changes to the PyPA specifications. From a32af64099e887244155181064193db85ba77d51 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 8 Jun 2022 20:29:55 +0100 Subject: [PATCH 13/14] capitalisation --- pep_sphinx_extensions/pep_zero_generator/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep_sphinx_extensions/pep_zero_generator/constants.py b/pep_sphinx_extensions/pep_zero_generator/constants.py index 0be1ed20e27..8b346c585b7 100644 --- a/pep_sphinx_extensions/pep_zero_generator/constants.py +++ b/pep_sphinx_extensions/pep_zero_generator/constants.py @@ -37,12 +37,12 @@ SUBINDICES_BY_TOPIC = { "packaging": """\ The canonical, up-to-date packaging specifications can be found on the -`Python Packaging Authority`_ (PyPA) `Specifications page`_. +`Python Packaging Authority`_ (PyPA) `specifications`_ page. Packaging PEPs follow the `PyPA specification update process`_. They are used to propose major additions or changes to the PyPA specifications. -.. _Specifications page: https://packaging.python.org/en/latest/specifications/ .. _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 """, } From 57d3ca3ad5804ca329410458827298d1bcd6e576 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Wed, 8 Jun 2022 20:45:56 +0100 Subject: [PATCH 14/14] Add note about the topic index --- pep_sphinx_extensions/pep_zero_generator/writer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pep_sphinx_extensions/pep_zero_generator/writer.py b/pep_sphinx_extensions/pep_zero_generator/writer.py index 2ba637213d3..bd09d9daf10 100644 --- a/pep_sphinx_extensions/pep_zero_generator/writer.py +++ b/pep_sphinx_extensions/pep_zero_generator/writer.py @@ -41,7 +41,8 @@ known as PEPs. PEP numbers are :pep:`assigned <1#pep-editors>` by the PEP editors, and once assigned are never changed. The `version control history `_ of -the PEP texts represent their historical record. +the PEP texts represent their historical record. The PEPs are +:doc:`indexed by topic ` for specialist subjects. """