mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
01e0700e68
This check only applies to explicit requirements since we avoid downloading the dist from finder altogether when there is a matching installation (although the check wouldn’t change the behaviour in that case anyway). We can do this when we build the `ExplicitRequirement` instead, like how we did for `SpecifierRequirement`, but that would require us to resolve the direct requirement’s version eagerly, which I don’t want to. The implemented approach checks the version only after resolution, at which point the distribution is already built anyway and the operation is cheap. |
||
---|---|---|
.. | ||
data | ||
functional | ||
lib | ||
unit | ||
yaml | ||
__init__.py | ||
conftest.py |