-
Notifications
You must be signed in to change notification settings - Fork 271
Closed
Description
Hi all,
I'm implementing a PEP 440 parser in another language and have been using packaging
to validate, and came across this possible corner case.
The specifier ==1.1.0.post0.*
matches the version 1.1.post0
because the version is zero-padded (as expected).
The specifier ==1.1.post0.*
does not match the version 1.1.0.post0
, even though I'd expect it to. My understanding is that the version in the specifier should also get zero-padded and result in a match (for the same reason that ==1.1.post0
is zero-padded to match 1.1.0.post0
).