From b51265a9f61c8ef445fba4110ea5684bc918e682 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Thu, 6 Sep 2012 21:54:16 -0400 Subject: [PATCH] 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 --- tools/install_venv.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.45.2