Nail the pip requirement at 1.1.

The most recent version of pip (1.2.1 as of a couple days ago) fails
to install the required Nova .venv packages. Nailing the installed
pip version when using run_tests.sh seems like a reasonable solution
to this issue.

Fixes LP Bug #1047120.

Change-Id: Ic947c04603cf9423c0cf2835351785d4fe795c4b
This commit is contained in:
Dan Prince 2012-09-06 21:40:44 -04:00
parent 37cc45b8fd
commit 4fc05bff1f

View File

@ -183,7 +183,10 @@ def install_dependencies(venv=VENV):
print 'Installing dependencies with pip (this can take a while)...'
# First things first, make sure our venv has the latest pip and distribute.
pip_install('pip')
# NOTE: we keep pip at version 1.1 since the most recent version causes
# the .venv creation to fail. See:
# https://bugs.launchpad.net/nova/+bug/1047120
pip_install('pip==1.1')
pip_install('distribute')
# Install greenlet by hand - just listing it in the requires file does not