Description
- Pip version: 8.1.{0,1,2}
- Python version: 2.7
- Operating System: CentOS 6
Description:
When PIP 8.1 introduced support for manylinux1 wheels, few issues started to show up when attempting to build wheels. We use custom Python installation, installed in other than system Python location. When we upgrade our package requirements, we re-build wheels ourself using command below:
$ pip wheel -w /path/to/wheel -f /path/to/wheel --use-wheel -r requirements.txt
Pre-PIP 8.1, this command did what I expected: build wheels for new packages in the requirements.txt file. After PIP 8.1, it just download manylinux wheels despite the fact that /path/to/wheel
already has an wheel for the requirement.
Let's take an example: One of the packages we use is numpy. Requirements string looks like this: numpy==1.10.4
. This ensures we use only this package version. What PIP pre-8.1 did: It detected that wheel for numpy 1.10.4 was already built and did nothing else. What PIP 8.1.x does: it downloads manylinux1 wheel, despite the fact that I already have wheel for 1.10.4 and wasn't updating numpy wheel.
You might suggest adding --no-binary numpy
, but that won't solve my problem either -- I don't want to rebuild numpy package every time I build wheels, and I don't want to select only updated packages to build wheels. I like what I had before: -r requirements.txt
and it did the job.
So what I'm asking here is either of two:
- If wheel already built -- just skip it, don't attempt to download manylinux wheel.
- Option to disable download of manylinux wheels.