From a43407500e496929a295cd99c7cd025bad92ad43 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Sat, 14 Apr 2018 13:10:25 -0400 Subject: [PATCH] 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 --- shell/gerrit-fetch-dependencies.sh | 2 +- shell/lftools-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.16.6