Skip to content

Commit c9cb245

Browse files
authored
Merge pull request pypa#1032 from takluyver/wheel-dist-name-lower
2 parents d52d00d + ef19939 commit c9cb245

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source/specifications/binary-distribution-format.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,12 @@ As the components of the filename are separated by a dash (``-``, HYPHEN-MINUS),
159159
this character cannot appear within any component. This is handled as follows:
160160

161161
- In distribution names, any run of ``-_.`` characters (HYPHEN-MINUS, LOW LINE
162-
and FULL STOP) should be replaced with ``_`` (LOW LINE). This is equivalent
163-
to :pep:`503` normalisation followed by replacing ``-`` with ``_``.
162+
and FULL STOP) should be replaced with ``_`` (LOW LINE), and uppercase
163+
characters should be replaced with corresponding lowercase ones. This is
164+
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.
164168
- Version numbers should be normalised according to :pep:`440`. Normalised
165169
version numbers cannot contain ``-``.
166170
- The remaining components may not contain ``-`` characters, so no escaping

0 commit comments

Comments
 (0)