pip-api icon indicating copy to clipboard operation
pip-api copied to clipboard

Reject requirements that are both hashed and editable?

Open woodruffw opened this issue 3 years ago • 1 comments

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?

woodruffw avatar Feb 28 '22 17:02 woodruffw

We should do whatever pip does, but also keep https://github.com/di/pip-api/issues/121 in mind.

di avatar Jul 19 '22 19:07 di