Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize upgrade of already-satisfied pinned requirement #7132

Merged
merged 1 commit into from
Oct 7, 2019

Commits on Oct 5, 2019

  1. 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>
    andersk committed Oct 5, 2019
    Configuration menu
    Copy the full SHA
    0492e80 View commit details
    Browse the repository at this point in the history