Commit 62b72a6
committed
Tighten regular expression used to validate wheel filenames
Drop the .dist-info file extension. Enforce that each component of the
filename does not contain a dash: dashes are used as separators.
See https://packaging.python.org/en/latest/specifications/binary-distribution-format/#file-name-convention
Remove spurious grouping, while at it.1 parent 2386ca5 commit 62b72a6
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
0 commit comments