Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize upgrade of already-satisfied pinned requirement
Example: after installing six 1.12.0, `pip install -Uv six==1.12.0` now returns immediately, instead of going to the index to check for a version that can’t possibly be considered better. This optimization is most significant when upgrading via a requirements file with many pinned versions and some non-pinned versions. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
- Loading branch information