Skip to content

pip 6.0 broke "pip install --pre --upgrade --find-links" #2256

@rgommers

Description

@rgommers

TravisCI for numpy started failing after the pip 6.0 release: numpy/numpy#5386

The reason is that pip install --pre --upgrade --find-links dist numpy, where dist contains a wheel built from current master, starts to install numpy 1.9.1 from PyPi instead of that wheel. I have replicated the issue locally in a virtualenv:

$ pip install --pre --upgrade --find-links ../../numpy/dist numpy  # works with 1.5.6
$ pip uninstall numpy
$ pip install --upgrade pip   # installed pip 6.0
$ pip install --pre --upgrade --find-links ../../numpy/dist numpy  # starts downloading from PyPi

I can bisect the issue in pip if needed, but I'm hoping someone can tell me straight away what changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions