From: Dan Prince Date: Fri, 7 Sep 2012 01:54:16 +0000 (-0400) Subject: Nail the pip requirement at 1.1. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b51265a9f61c8ef445fba4110ea5684bc918e682;p=openstack-build%2Fcinder-build.git 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 Cinder .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: I8d831f747b0d25b5d0f6e74a234e764ff448965b --- diff --git a/tools/install_venv.py b/tools/install_venv.py index ad6288549..bd324efd5 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -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