Skip to content

Commit b0b011f

Browse files
committed
edit pep440: add version id length limit
1 parent d1ad4ad commit b0b011f

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

‎source/specifications/version-specifiers.rst‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,19 @@ indexing and hosting upstream projects, it MUST NOT allow the use of local
173173
version identifiers.
174174

175175

176+
.. _version-identifier-length:
177+
178+
Version identifier length
179+
-------------------------
180+
181+
Version identifiers for new releases MUST NOT exceed 128 characters after
182+
:ref:`normalization <version-specifiers-normalization>`, including any local
183+
version label.
184+
185+
Installation tools MUST NOT reject otherwise valid versions solely because
186+
they exceed this limit.
187+
188+
176189
Final releases
177190
--------------
178191

@@ -1286,3 +1299,5 @@ History
12861299
they are handled.
12871300
- Nov 2025: Make arbitrary equality case insensitivity explicit.
12881301
- Jan 2026: The use of epochs was discouraged.
1302+
- Oct 2026: Limit version identifiers for new releases to 128 characters after
1303+
normalization.

0 commit comments

Comments
 (0)