Pin pip so download cache location works

The new release of pip does not allow you to specify
a dowload cache location - it is deprecated. This means
that the tarball mirror cannot be created because it
relies on the download cache being in the configured
location. This change pins the versin of pip to 1.5.6
so the download cache location still works.

Change-Id: Ib4d058f27de3c37e0c58c50516e6af2b3f8188a5
This commit is contained in:
Mike Heald 2015-01-14 12:37:06 +00:00
parent 39cae68129
commit ea821ee683
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class Mirror(object):
self.run_command(
venv_format % dict(
extra_search_dir=pip_cache_dir, venv_dir=venv))
for requirement in ["pip", "wheel", "virtualenv"]:
for requirement in ["pip==1.5.6", "wheel", "virtualenv"]:
for extra_args in ("", "--no-use-wheel"):
self.run_command(
upgrade_format % dict(