@@ -101,7 +101,7 @@ aside from always being the lowest possible value in the version ordering.
101
101
across existing public and private Python projects.
102
102
103
103
Accordingly, some of the versioning practices which are technically
104
- permitted by the PEP are strongly discouraged for new projects. Where
104
+ permitted by the specification are strongly discouraged for new projects. Where
105
105
this is the case, the relevant details are noted in the following
106
106
sections.
107
107
@@ -631,7 +631,7 @@ are permitted and MUST be ordered as shown::
631
631
Note that ``c `` is considered to be semantically equivalent to ``rc `` and must
632
632
be sorted as if it were ``rc ``. Tools MAY reject the case of having the same
633
633
``N `` for both a ``c `` and a ``rc `` in the same release segment as ambiguous
634
- and remain in compliance with the PEP .
634
+ and remain in compliance with the specification .
635
635
636
636
Within an alpha (``1.0a1 ``), beta (``1.0b1 ``), or release candidate
637
637
(``1.0rc1 ``, ``1.0c1 ``), the following suffixes are permitted and MUST be
@@ -692,9 +692,9 @@ versions of a project.
692
692
693
693
Due to the above, this specification MUST be used for all versions of metadata and
694
694
supersedes :pep: `386 ` even for metadata v1.2. Tools SHOULD ignore any versions
695
- which cannot be parsed by the rules in this PEP , but MAY fall back to
695
+ which cannot be parsed by the rules in this specification , but MAY fall back to
696
696
implementation defined version parsing and ordering schemes if no versions
697
- complying with this PEP are available.
697
+ complying with this specification are available.
698
698
699
699
Distribution users may wish to explicitly remove non-compliant versions from
700
700
any private package indexes they control.
@@ -705,7 +705,7 @@ Compatibility with other version schemes
705
705
706
706
Some projects may choose to use a version scheme which requires
707
707
translation in order to comply with the public version scheme defined in
708
- this PEP . In such cases, the project specific version can be stored in the
708
+ this specification . In such cases, the project specific version can be stored in the
709
709
metadata while the translated public version is published in the version field.
710
710
711
711
This allows automated distribution tools to provide consistently correct
@@ -717,15 +717,15 @@ Semantic versioning
717
717
~~~~~~~~~~~~~~~~~~~
718
718
719
719
`Semantic versioning `_ is a popular version identification scheme that is
720
- more prescriptive than this PEP regarding the significance of different
720
+ more prescriptive than this specification regarding the significance of different
721
721
elements of a release number. Even if a project chooses not to abide by
722
722
the details of semantic versioning, the scheme is worth understanding as
723
723
it covers many of the issues that can arise when depending on other
724
724
distributions, and when publishing a distribution that others rely on.
725
725
726
- The "Major.Minor.Patch" (described in this PEP as "major.minor.micro")
726
+ The "Major.Minor.Patch" (described in this specification as "major.minor.micro")
727
727
aspects of semantic versioning (clauses 1-8 in the 2.0.0 specification)
728
- are fully compatible with the version scheme defined in this PEP , and abiding
728
+ are fully compatible with the version scheme defined in this specification , and abiding
729
729
by these aspects is encouraged.
730
730
731
731
Semantic versions containing a hyphen (pre-releases - clause 10) or a
@@ -1011,10 +1011,10 @@ local versions. This operator also does not support prefix matching as the
1011
1011
``== `` operator does.
1012
1012
1013
1013
The primary use case for arbitrary equality is to allow for specifying a
1014
- version which cannot otherwise be represented by this PEP . This operator is
1014
+ version which cannot otherwise be represented by this specification . This operator is
1015
1015
special and acts as an escape hatch to allow someone using a tool which
1016
- implements this PEP to still install a legacy version which is otherwise
1017
- incompatible with this PEP .
1016
+ implements this specification to still install a legacy version which is otherwise
1017
+ incompatible with this specification .
1018
1018
1019
1019
An example would be ``===foobar `` which would match a version of ``foobar ``.
1020
1020
@@ -1178,16 +1178,16 @@ Summary of differences from pkg_resources.parse_version
1178
1178
the time :pep: `440 ` was written. After the PEP was accepted, setuptools 6.0 and
1179
1179
later versions adopted the behaviour described here.
1180
1180
1181
- * Local versions sort differently, this PEP requires that they sort as greater
1181
+ * Local versions sort differently, this specification requires that they sort as greater
1182
1182
than the same version without a local version, whereas
1183
1183
``pkg_resources.parse_version `` considers it a pre-release marker.
1184
1184
1185
- * This PEP purposely restricts the syntax which constitutes a valid version
1185
+ * This specification purposely restricts the syntax which constitutes a valid version
1186
1186
while ``pkg_resources.parse_version `` attempts to provide some meaning from
1187
1187
*any * arbitrary string.
1188
1188
1189
1189
* ``pkg_resources.parse_version `` allows arbitrarily deeply nested version
1190
- signifiers like ``1.0.dev1.post1.dev5 ``. This PEP however allows only a
1190
+ signifiers like ``1.0.dev1.post1.dev5 ``. This specification however allows only a
1191
1191
single use of each type and they must exist in a certain order.
1192
1192
1193
1193
0 commit comments