-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow case insensitive marker evaluation #508
Allow case insensitive marker evaluation #508
Conversation
I don't know this code well enough to do a review right now, but do note that linting failed. |
Linting is now passing, I assume that the other check will pass again, but I'll double check tomorrow. |
All checks passed |
This would deviate from what PEP 508 states:
The behaviour of IIUC, the motivation here is similar to what is being discussed in https://discuss.python.org/t/7614/ -- and the resolution will likely go down the same path as that discussion. x-ref pypa/pip#10889 as well. Two GitHub workflow notes:
|
Note that marker casing should no longer be a problem with metadata version 2.3 because PEP 685 mandates the extras must be normalised in both sides of the marker expression. |
@jeroendecroos did you want to try and resolve the merge conflicts and address the comment from Pradyun? And is this still a concern with the changes made to support PEP 685? |
Hi @brettcannon I saw that 53dbb25 should provide the functionality required. I've ran my tests with only those changes and the test has passed. I think the tests added in that commit should be sufficient to verify my use case so we can close this PR and ticket according to me. |
Closes #507
Not sure if this is the ideal way to solve the problem, but I've run the ´nox -s tests-3.10´ tests and they all pass, including the new tests to demonstrate the bug.