pypi-mirror does not pickup all necessary python packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
Fix Committed
|
Medium
|
Gregory Haynes |
Bug Description
Following all of the directions at:
https:/
Once I went to use the resulting mirror referenced from another system with a fresh checkout of the tripleo-incubator sources, the resulting devtest.sh run would error out complaining there was no suitable pip installable source.
Downloading/
Running setup.py egg_info for package pystache
pystache: using: version '3.3' of <module 'setuptools' from '/root/
Could not find any downloads that satisfy the requirement pip>=1.0 in ./tripleo-
Downloading/
Cleaning up...
No distributions at all found for pip>=1.0 in ./tripleo-
I looked around and found the only files under /mirror/pip/ was an index.html file and a pip-1.5.
To solve the immediate problem I went out to https:/
In short if run-mirror was doing the right thing then I would not have had to do this manual step of adding pip-1.5.4.tar.gz to the mirror.
I am including the $HOME/.pip/pip.log file where the error occurance is shown.
tags: | added: pypi-mirror |
Changed in openstack-ci: | |
status: | In Progress → Won't Fix |
I think the problem here is pip and friends are special cased in pypi-mirror. In that special case they do not use the --no-use-wheel flag to pip so you only get wheels for these packages.
https:/ /git.openstack. org/cgit/ openstack- infra/pypi- mirror/ tree/pypi_ mirror/ cmd/run_ mirror. py#n260 and https:/ /git.openstack. org/cgit/ openstack- infra/pypi- mirror/ tree/pypi_ mirror/ cmd/run_ mirror. py#n310 should probably have --no-use-wheel passed to pip as well. Though that second run on line 310 doesn't have a corresponding pip wheel so you may need to add that to the second run too.