From c508f9012b504d85711480dac54d9c5b04c3bd90 Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Sat, 13 Dec 2014 16:02:44 -0500 Subject: [PATCH] Small clarification that the grammar is only for the cannonical versions --- pep-0440.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pep-0440.txt b/pep-0440.txt index 7215cd476..6739c4491 100644 --- a/pep-0440.txt +++ b/pep-0440.txt @@ -61,7 +61,8 @@ run the software. Public version identifiers -------------------------- -Public version identifiers MUST comply with the following scheme:: +The canonical public version identifiers MUST comply with the following +scheme:: [N!]N(.N)*[{a|b|c}N][.postN][.devN] @@ -70,8 +71,9 @@ Public version identifiers MUST NOT include leading or trailing whitespace. Public version identifiers MUST be unique within a given distribution. Installation tools SHOULD ignore any public versions which do not comply with -this scheme. Installation tools MAY warn the user when non-compliant -or ambiguous versions are detected. +this scheme but MUST also include the normalizations specified below. +Installation tools MAY warn the user when non-compliant or ambiguous versions +are detected. Public version identifiers are separated into up to five segments: