-
Notifications
You must be signed in to change notification settings - Fork 98
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
Drop requirements-parser in favor of pep508 #645
Conversation
In a way, I still prefer this PR over #647 Even through the alternative means we have to care less, I feel like it opens us up to more issues in the long run. And I think the dep on |
They are supposed to be the same: https://pip.pypa.io/en/stable/reference/requirement-specifiers/. Do you know of any differences? |
Here are a few things that work in a pip
|
@sivel PEP 508 talks about individual package specifiers, not |
A fresh idea: could also implement a draft version of PEP 735 and be done with it. It's a way forward in the wider ecosystem, anyway. |
FWIW, this PR still allows use of So the advantage of this PR (that I can see) is just the 1-to-1 replacement of |
Closing in favor of #663 |
This PR is not backwards compatible, as it changes the expectations of what a "requirement" are, from the pip definition, to the definition dictated by pep508. Although it should be mentioned that we never gauranteed full support of pip requirements.txt, so with that in mind, this is technically not a breaking PR, but should be noted that it could break some uses.
See: