Skip to content

Commit 0b7879f

Browse files
authored
Merge pull request #1464 from jeanas/standard-changelogs
Consistent changelogs for all specs
2 parents f34c6d1 + c0f078d commit 0b7879f

15 files changed

+105
-57
lines changed

source/specifications/binary-distribution-format.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -418,12 +418,9 @@ Is it possible to import Python code directly from a wheel file?
418418
History
419419
=======
420420

421-
This specification was originally approved as :pep:`427`.
422-
423-
The following changes were applied since the initial version:
424-
425-
- The rules on escaping in wheel filenames were revised, to bring them
426-
into line with what popular tools actually do (February 2021).
421+
- February 2013: This specification was approved through :pep:`427`.
422+
- February 2021: The rules on escaping in wheel filenames were revised, to bring
423+
them into line with what popular tools actually do.
427424

428425

429426
Appendix

source/specifications/core-metadata.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,26 @@ Example::
848848
Obsoletes: Gorgon
849849

850850

851+
History
852+
=======
853+
854+
- March 2001: Core metadata 1.0 was approved through :pep:`241`.
855+
- April 2003: Core metadata 1.1 was approved through :pep:`314`:
856+
- February 2010: Core metadata 1.2 was approved through :pep:`345`.
857+
- February 2018: Core metadata 2.1 was approved through :pep:`566`.
858+
859+
- Added ``Description-Content-Type`` and ``Provides-Extra``.
860+
- Added canonical method for transforming metadata to JSON.
861+
- Restricted the grammar of the ``Name`` field.
862+
863+
- October 2020: Core metadata 2.2 was approved through :pep:`643`.
864+
865+
- Added the ``Dynamic`` field.
866+
867+
- March 2022: Core metadata 2.3 was approved through :pep:`685`.
868+
869+
- Restricted extra names to be normalized.
870+
851871
----
852872

853873
.. [1] reStructuredText markup:

source/specifications/dependency-specifiers.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -472,14 +472,12 @@ A test program - if the grammar is in a string ``grammar``:
472472
print("%s -> %s" % (test, parsed))
473473
474474
475-
Summary of changes to PEP 508
476-
=============================
475+
History
476+
=======
477477

478-
The following changes were made based on feedback after its initial
479-
implementation:
480-
481-
- The definition of ``python_version`` was changed from
482-
``platform.python_version()[:3]`` to
478+
- November 2015: This specification was approved through :pep:`508`.
479+
- July 2019: The definition of ``python_version`` was `changed
480+
<python-version-change_>`_ from ``platform.python_version()[:3]`` to
483481
``'.'.join(platform.python_version_tuple()[:2])``, to accommodate potential
484482
future versions of Python with 2-digit major and minor versions
485483
(e.g. 3.10). [#future_versions]_
@@ -497,3 +495,7 @@ References
497495
.. [#future_versions] Future Python versions might be problematic with the
498496
definition of Environment Marker Variable ``python_version``
499497
(https://github.com/python/peps/issues/560)
498+
499+
500+
501+
.. _python-version-change: https://mail.python.org/pipermail/distutils-sig/2018-January/031920.html

source/specifications/direct-url-data-structure.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,15 @@ Local directory in editable mode:
262262
}
263263
}
264264
265+
265266
History
266267
=======
267268

268-
- March 2020: this data structure was originally specified as part of the
269-
``direct_url.json`` metadata file in :pep:`610` and is formally documented here.
270-
- January 2023: Added the ``archive_info.hashes`` key
271-
([discussion](https://discuss.python.org/t/22299)).
269+
- March 2020: This specification was approved through :pep:`610`, defining
270+
the ``direct_url.json`` metadata file.
271+
- January 2023: Added the ``archive_info.hashes`` key (`discussion
272+
<archive-info-hashes_>`_).
273+
274+
275+
276+
.. _archive-info-hashes: https://discuss.python.org/t/22299

source/specifications/direct-url.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Commands that *do not* generate a ``direct_url.json``
6262
* ``pip install app``
6363
* ``pip install app --no-index --find-links https://example.com/``
6464

65+
6566
History
6667
=======
6768

68-
- March 2020: the ``direct_url.json`` metadata file was originally specified in
69-
:pep:`610` and is formally documented here.
69+
- March 2020: This specification was approved through :pep:`610`.

source/specifications/entry-points.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,14 @@ which defines where command-line tools are found.
158158
As files are created from the names, and some filesystems are case-insensitive,
159159
packages should avoid using names in these groups which differ only in case.
160160
The behaviour of install tools when names differ only in case is undefined.
161+
162+
163+
History
164+
=======
165+
166+
- October 2017: This specification was written to formalize the existing
167+
entry points feature of setuptools (discussion_).
168+
169+
170+
171+
.. _discussion: https://mail.python.org/pipermail/distutils-sig/2017-October/031585.html

source/specifications/externally-managed-environments.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,4 +471,4 @@ CC0-1.0-Universal license, whichever is more permissive.
471471
History
472472
=======
473473

474-
This specification was originally approved as :pep:`668`.
474+
- June 2022: This specification was approved through :pep:`668`.

source/specifications/inline-script-metadata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,4 +238,4 @@ the highest available version of Python that is compatible with the script's
238238
History
239239
=======
240240

241-
This specification was originally defined as :pep:`723`.
241+
- October 2023: This specification was conditionally approved through :pep:`723`.

source/specifications/name-normalization.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,7 @@ This means that the following names are all equivalent:
4141
History
4242
=======
4343

44-
- `September 2015 <https://mail.python.org/pipermail/distutils-sig/2015-September/026899.html>`_: normalized name was originally specified in :pep:`503#normalized-names`.
45-
- `November 2015 <https://mail.python.org/pipermail/distutils-sig/2015-November/027868.html>`_: valid non-normalized name was originally specified in :pep:`508#names`.
44+
- September 2015: The specification of name normalized was approved through
45+
:pep:`503 <503#normalized-names>`.
46+
- November 2015: The specification of valid names was approved through
47+
:pep:`508 <508#names>`.

source/specifications/platform-compatibility-tags.rst

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ Platform compatibility tags allow build tools to mark distributions as being
99
compatible with specific platforms, and allows installers to understand which
1010
distributions are compatible with the system they are running on.
1111

12-
The following PEPs contributed to this spec:
13-
14-
1. :pep:`425`
15-
2. :pep:`513`
16-
3. :pep:`571`
17-
4. :pep:`599`
18-
5. :pep:`600`
1912

2013
Overview
2114
========
@@ -302,3 +295,15 @@ Why is the ABI tag (the second tag) sometimes "none" in the reference implementa
302295
implementation at the time of writing guesses "none". Ideally it
303296
would detect "py27(d|m|u)" analogous to newer versions of Python,
304297
but in the meantime "none" is a good enough way to say "don't know".
298+
299+
300+
History
301+
=======
302+
303+
- February 2013: The original version of this specification was approved through
304+
:pep:`425`.
305+
- January 2016: The ``manylinux1`` tag was approved through :pep:`513`.
306+
- April 2018: The ``manylinux2010`` tag was approved through :pep:`571`.
307+
- July 2019: The ``manylinux2014`` tag was approved through :pep:`599`.
308+
- November 2019: The ``manylinux_x_y`` perennial tag was approved through
309+
:pep:`600`.

0 commit comments

Comments
 (0)