pip-api
pip-api copied to clipboard
Reject requirements that are both hashed and editable?
The current requirements parser allows a requirement to specify both --hash ... and -e, despite the two being incompatible and rejected by pip itself (https://github.com/pypa/pip/issues/4995).
IMO, we should probably reject these outright with an exception, or perhaps with an UnparsedRequirement. Thoughts?
We should do whatever pip does, but also keep https://github.com/di/pip-api/issues/121 in mind.