File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Release Notes
4
4
**UNRELEASED **
5
5
6
6
- Fixed build number appearing in the ``.dist-info `` directory name
7
+ - Made wheel file name parsing more permissive
7
8
8
9
**0.32.1 **
9
10
Original file line number Diff line number Diff line change 14
14
# Non-greedy matching of an optional build number may be too clever (more
15
15
# invalid wheel filenames will match). Separate regex for .dist-info?
16
16
WHEEL_INFO_RE = re .compile (
17
- r"""^(?P<namever>(?P<name>.+? )-(?P<ver>\d.*? ))(-(?P<build>\d.*? ))?
18
- -(?P<pyver>[a-z].+? )-(?P<abi>.+? )-(?P<plat>.+?)( \.whl|\.dist-info) $""" ,
17
+ r"""^(?P<namever>(?P<name>[\w\d.]+ )-(?P<ver>[\w\d.]+ ))(-(?P<build>\d[\w\d.]* ))?
18
+ -(?P<pyver>[\w\d.]+ )-(?P<abi>[\w\d.]+ )-(?P<plat>[\w\d.]+) \.whl$""" ,
19
19
re .VERBOSE )
20
20
21
21
You can’t perform that action at this time.
0 commit comments