Skip to content

Commit 263a8c2

Browse files
authored
Mention that tools cannot assume normalised names in existing wheels
1 parent 6d4efbc commit 263a8c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/specifications/binary-distribution-format.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ this character cannot appear within any component. This is handled as follows:
162162
and FULL STOP) should be replaced with ``_`` (LOW LINE), and uppercase
163163
characters should be replaced with corresponding lowercase ones. This is
164164
equivalent to :pep:`503` normalisation followed by replacing ``-`` with ``_``.
165+
Tools consuming wheels must be prepared to accept ``.`` (FULL STOP) and
166+
uppercase letters, however, as these were allowed by an earlier version of
167+
this specification.
165168
- Version numbers should be normalised according to :pep:`440`. Normalised
166169
version numbers cannot contain ``-``.
167170
- The remaining components may not contain ``-`` characters, so no escaping

0 commit comments

Comments
 (0)