From: Aric Gardner Date: Wed, 22 Jan 2020 20:18:11 +0000 (-0500) Subject: remove --user now that pip is 20.0.x X-Git-Tag: v0.50.0~7 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=8a2651316c6c2f121a32d1121dd3ff7dc0e8ac24;p=releng%2Fglobal-jjb.git remove --user now that pip is 20.0.x I will find the release notes and add them here Signed-off-by: Aric Gardner Change-Id: I321596b2d05bd3d13d9fde9cef598f95084777ea --- diff --git a/shell/check-info-votes.sh b/shell/check-info-votes.sh index 32384be4..fb489afd 100644 --- a/shell/check-info-votes.sh +++ b/shell/check-info-votes.sh @@ -36,10 +36,10 @@ if [ -d "/opt/pyenv" ]; then export PYENV_VERSION="3.6.4" fi -$pip install --user niet -$pip install --user lftools -$pip install --user lftools[nexus] -$pip install --user jsonschema +$pip install niet +$pip install lftools +$pip install lftools[nexus] +$pip install jsonschema echo "Checking votes:" lftools infofile check-votes INFO.yaml "$GERRIT_URL" "$ref" > gerrit_comment.txt diff --git a/shell/python-tools-install.sh b/shell/python-tools-install.sh index e27d64ed..7988c319 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -35,9 +35,9 @@ EOF # Use `python -m pip` to ensure we are using pip from user venv python3 -m venv ~/.local - python3 -m pip install --user --quiet --upgrade pip - python3 -m pip install --user --quiet --no-warn-script-location --upgrade setuptools - python3 -m pip install --user --quiet --no-warn-script-location --upgrade --upgrade-strategy eager -r "$requirements_file" + python3 -m pip install --quiet --upgrade pip + python3 -m pip install --quiet --no-warn-script-location --upgrade setuptools + python3 -m pip install --quiet --no-warn-script-location --upgrade --upgrade-strategy eager -r "$requirements_file" rm -rf "$requirements_file" touch /tmp/pre-build-complete fi diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index 86254a10..ea3aca7e 100644 --- a/shell/rtd-verify.sh +++ b/shell/rtd-verify.sh @@ -32,7 +32,7 @@ git submodule update if [[ $JOB_NAME == "lf-infra-lftools-rtd-verify-any" ]]; then # Install patchset lftools - python3 -m pip install --user -e . + python3 -m pip install -e . fi echo "---> Generating docs" diff --git a/shell/tox-install.sh b/shell/tox-install.sh index f8472cc9..d88c5082 100644 --- a/shell/tox-install.sh +++ b/shell/tox-install.sh @@ -18,9 +18,9 @@ set -eux -o pipefail if [[ $PYTHON == "python2" ]]; then - $PYTHON -m pip install --user --quiet --upgrade tox tox-pyenv virtualenv more-itertools~=5.0.0 + $PYTHON -m pip install --quiet --upgrade tox tox-pyenv virtualenv more-itertools~=5.0.0 else - $PYTHON -m pip install --user --quiet --upgrade tox tox-pyenv virtualenv + $PYTHON -m pip install --quiet --upgrade tox tox-pyenv virtualenv fi