From 71d3c3750c89820c9e759b5f00b403a19836d77a Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Tue, 17 Apr 2018 10:57:02 +0100 Subject: xci: install-lib: Make sure pip is upgraded first We need to make sure that pip is the first thing we upgrade in the virtual environment because old pip releases do not support the '-c' option which we use to install the rest of the required components. Change-Id: I8b3ec080617324bfefbec2a6cdfa6ef58afb7c20 Signed-off-by: Markos Chandras --- xci/files/install-lib.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'xci') diff --git a/xci/files/install-lib.sh b/xci/files/install-lib.sh index 1a6c0b2f..cd9aa73e 100644 --- a/xci/files/install-lib.sh +++ b/xci/files/install-lib.sh @@ -134,6 +134,7 @@ function install_ansible() { set -u # We are inside the virtualenv now so we should be good to use pip and python from it. + pip -q install --upgrade pip==9.0.3 # We need a version which supports the '-c' parameter pip -q install --upgrade -c $uc ara virtualenv pip setuptools ansible==$XCI_ANSIBLE_PIP_VERSION ansible-lint==3.4.21 ara_location=$(python -c "import os,ara; print(os.path.dirname(ara.__file__))") -- cgit 1.2.3-korg