X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Ftox-install.sh;h=e4bb50dbea9edfc2ba5b57386994d78c4fe2ca92;hb=refs%2Ftags%2Fv0.85.0;hp=cc815ccda79819ec0d0216331914e396308bf580;hpb=3ca80e4b7818ebe309abc3ddcabe7086f1ed2d18;p=releng%2Fglobal-jjb.git diff --git a/shell/tox-install.sh b/shell/tox-install.sh index cc815ccd..e4bb50db 100644 --- a/shell/tox-install.sh +++ b/shell/tox-install.sh @@ -14,13 +14,10 @@ echo "---> tox-install.sh" # Use -x to show value of $PYTHON in output set -eux -o pipefail -# Tox version is pulled in through detox to mitigate version conflict +# shellcheck disable=SC1090 +source ~/lf-env.sh -if [[ $PYTHON == "python2" ]]; then - $PYTHON -m pip install --user --quiet --upgrade tox tox-pyenv virtualenv more-itertools~=5.0.0 -else - $PYTHON -m pip install --user --quiet --upgrade tox tox-pyenv virtualenv -fi +lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv # installs are silent, show version details in log $PYTHON --version