1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/tests
Tzu-ping Chung 01e0700e68 Skip installing if the version matches locally
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.
2020-07-06 11:06:14 +08:00
..
data Updated author email in configuration and tests 2020-05-28 16:51:02 -04:00
functional Skip installing if the version matches locally 2020-07-06 11:06:14 +08:00
lib Merge pull request #8447 from jku/use-valid-signals-on-py38 2020-07-02 12:03:11 -04:00
unit Merge pull request #8501 from uranusjr/refactor-create-link-collector 2020-07-05 21:44:31 -04:00
yaml Fix YAML tests to reflect the new resolver error 2020-06-25 15:00:21 +08:00
__init__.py Port to Python3 2011-03-15 15:49:48 -04:00
conftest.py Set correct envvar for new-resolver tests 2020-07-03 20:11:36 +05:30