Enforce pip version during installation 03/54203/3
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Tue, 20 Mar 2018 14:26:09 +0000 (14:26 +0000)
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Tue, 20 Mar 2018 14:42:31 +0000 (14:42 +0000)
Currently there is a reported problem in pip library [1]. To avoid this
problem, the pip version should be enforced during the installation.

[1]https://github.com/pypa/pip/issues/5079

JIRA: YARDSTICK-1087

Change-Id: I2ee28749f146cd3b0e1bf4ed92b51cbe6db8b2f3
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
install.sh
requirements.txt

index 5cd8367..1dbf64d 100755 (executable)
@@ -96,7 +96,7 @@ git config --global http.sslVerify false
 
 
 # install yardstick + dependencies
-easy_install -U pip
+easy_install -U pip==9.0.1
 pip install -r requirements.txt
 pip install -e .
 
index d45e4b1..409bcd8 100644 (file)
@@ -43,7 +43,7 @@ oslo.utils==3.28.0      # OSI Approved  Apache Software License
 paramiko==2.2.1         # LGPL; OSI Approved  GNU Library or Lesser General Public License (LGPL)
 pbr==3.1.1              # OSI Approved  Apache Software License; Apache License, Version 2.0
 pika==0.10.0            # BSD; OSI Approved  BSD License
-pip==9.0.1;python_version=='2.7'        # MIT
+pip==9.0.1              # MIT
 positional==1.1.2       # OSI Approved  Apache Software License
 pycrypto==2.6.1         # Public Domain
 pyparsing==2.2.0        # MIT License; OSI Approved  MIT License