sarugaku / requirementslib

A tool for converting between pip-style and pipfile requirements - maintained by the pipenv team
MIT License
84 stars 28 forks source link

Requirement equality #69

Open uranusjr opened 6 years ago

uranusjr commented 6 years ago

Currently the == operator on requirement is not very useful, since it includes a lot of information. It would be useful if there is a more practical equality check, e.g. ignores hashes if only one has them, consolidate URL and path-based specifications, etc.

techalchemy commented 6 years ago

for praticality's sake it should probably just do a comparison against equivalent cache key