From: Thanh Ha Date: Sat, 14 Apr 2018 17:10:25 +0000 (-0400) Subject: Pin pip to 9.0.3 X-Git-Tag: v0.18.0~6 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;ds=sidebyside;h=a43407500e496929a295cd99c7cd025bad92ad43;hp=-c;p=releng%2Fglobal-jjb.git Pin pip to 9.0.3 Pin pip versions to 9.0.3 in all scripts that try to install pip. Issue: RELENG-884 Change-Id: I25df8beb412e06d14db88d90debafa46013bb7ac Signed-off-by: Thanh Ha --- a43407500e496929a295cd99c7cd025bad92ad43 diff --git a/shell/gerrit-fetch-dependencies.sh b/shell/gerrit-fetch-dependencies.sh index d7f830b3..1cb51774 100644 --- a/shell/gerrit-fetch-dependencies.sh +++ b/shell/gerrit-fetch-dependencies.sh @@ -30,7 +30,7 @@ set +u # Allow unbound variables for virtualenv virtualenv --quiet "/tmp/v/git-review" # shellcheck source=/tmp/v/git-review/bin/activate disable=SC1091 source "/tmp/v/git-review/bin/activate" -pip install --quiet --upgrade pip setuptools +pip install --quiet --upgrade "pip==9.0.3" setuptools pip install --quiet --upgrade git-review set -u # End git-review workaround diff --git a/shell/lftools-install.sh b/shell/lftools-install.sh index c13086a7..a6792ed7 100644 --- a/shell/lftools-install.sh +++ b/shell/lftools-install.sh @@ -50,7 +50,7 @@ set -e -o pipefail virtualenv --quiet "/tmp/v/lftools" # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091 source "/tmp/v/lftools/bin/activate" -pip install --quiet --upgrade pip setuptools +pip install --quiet --upgrade "pip==9.0.3" setuptools case $LFTOOLS_MODE in gerrit)