From: Ry Jones Date: Thu, 5 Apr 2018 15:27:09 +0000 (-0700) Subject: Fix pip version X-Git-Tag: v0.18.0~13 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F51%2F9751%2F2;p=releng%2Fglobal-jjb.git Fix pip version pip has released a beta version which breaks pipdeptree. RELENG-868 Change-Id: I755a2521f28fc6441a69dd0ed93c0f85502b787b Signed-off-by: Ry Jones --- diff --git a/shell/jjb-install.sh b/shell/jjb-install.sh index 728261c4..54501b8e 100644 --- a/shell/jjb-install.sh +++ b/shell/jjb-install.sh @@ -17,7 +17,7 @@ set -e -o pipefail virtualenv "/tmp/v/jjb" # shellcheck source=/tmp/v/jjb/bin/activate disable=SC1091 source "/tmp/v/jjb/bin/activate" -pip install --quiet --upgrade pip setuptools +pip install --quiet --upgrade "pip==9.0.3" setuptools pip install --quiet --upgrade pipdeptree pip install --quiet --upgrade "jenkins-job-builder==$JJB_VERSION" diff --git a/shell/node-install.sh b/shell/node-install.sh index 43aa7b40..008b3824 100644 --- a/shell/node-install.sh +++ b/shell/node-install.sh @@ -17,7 +17,7 @@ set -e -o pipefail virtualenv --quiet "/tmp/v/python" # shellcheck source=/tmp/v/node/bin/activate disable=SC1091 source "/tmp/v/python/bin/activate" -pip install --quiet --upgrade pip setuptools +pip install --quiet --upgrade "pip==9.0.3" setuptools pip install --quiet --upgrade pipdeptree pip install --quiet --upgrade nodeenv diff --git a/shell/pip-install.sh b/shell/pip-install.sh index c75005d4..9770d665 100644 --- a/shell/pip-install.sh +++ b/shell/pip-install.sh @@ -24,7 +24,7 @@ set -e -o pipefail virtualenv "/tmp/v/${PIP_PACKAGES%% *}" # shellcheck source=/tmp/v/venv/bin/activate disable=SC1091 source "/tmp/v/${PIP_PACKAGES%% *}/bin/activate" -pip install --quiet --upgrade pip setuptools +pip install --quiet --upgrade "pip==9.0.3" setuptools pip install --quiet --upgrade pipdeptree # PIP_PACKAGES needs to be passed through as a space separated list of packages diff --git a/shell/tox-install.sh b/shell/tox-install.sh index 77ae4286..96c0fa38 100644 --- a/shell/tox-install.sh +++ b/shell/tox-install.sh @@ -17,7 +17,7 @@ set -e -o pipefail virtualenv --quiet -p "$PYTHON_VERSION" "/tmp/v/tox" # shellcheck source=/tmp/v/tox/bin/activate disable=SC1091 source "/tmp/v/tox/bin/activate" -pip install --quiet --upgrade pip setuptools +pip install --quiet --upgrade "pip==9.0.3" setuptools pip install --quiet --upgrade pipdeptree pip install --quiet --upgrade argparse detox "tox<3.0.0" tox-pyenv