Add support for '3.7.*' == python_full_version-style markers#18974
Add support for '3.7.*' == python_full_version-style markers#18974charliermarsh wants to merge 1 commit intomainfrom
'3.7.*' == python_full_version-style markers#18974Conversation
8804eb3 to
075e791
Compare
|
I wouldn't support this, my read is that PEP 440 is directional (e.g. with |
|
I disagree because |
|
(I don't think this requires us to support |
|
PEP 440 is mathematically strange is the sense that By limiting the LHS to versions and keeping clauses to operator and RHS, we IMHO exclude a good chunk of additional complexity without additional use cases in the already complex PEP 508 logic. |
|
But |
|
Do you think we should instead be rejecting all markers with versions on the LHS regardless of operator? |
|
I have some split thoughts about this: On one hand, this change doesn't add any new capabilities: You can (and many do) already use Otoh, this is a simple change. It doesn't add much burden, for our implementation at least, and I can't really block this change on that basis. |
Summary
There's a comment here that suggests these aren't valid per PEP 440, but I think these are valid?
See: pypa/packaging#1126.