From: Kevin Sandi Date: Fri, 9 Dec 2022 02:36:30 +0000 (-0600) Subject: Fix: pin tox version X-Git-Tag: v0.83.1^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F85%2F71085%2F2;p=releng%2Fglobal-jjb.git Fix: pin tox version Signed-off-by: Kevin Sandi Change-Id: Ic015a210ec2d9af2d6b7ce182a6121d8c37b984b --- diff --git a/releasenotes/notes/pin-tox-cf1c1766b0cd6506.yaml b/releasenotes/notes/pin-tox-cf1c1766b0cd6506.yaml new file mode 100644 index 00000000..a1e13391 --- /dev/null +++ b/releasenotes/notes/pin-tox-cf1c1766b0cd6506.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Pin tox version until tox>=4.0.2 and tox-pyenv>=1.1.0 compatibility + issues and bugs are resolved. diff --git a/shell/tox-install.sh b/shell/tox-install.sh index 5e527b3f..488b5c8e 100644 --- a/shell/tox-install.sh +++ b/shell/tox-install.sh @@ -17,7 +17,7 @@ set -eux -o pipefail # shellcheck disable=SC1090 source ~/lf-env.sh -lf-activate-venv --python python3.8 --venv-file /tmp/.toxenv tox tox-pyenv virtualenv +lf-activate-venv --python python3.8 --venv-file /tmp/.toxenv tox==3.27.1 tox-pyenv virtualenv # installs are silent, show version details in log $PYTHON --version diff --git a/shell/tox-run.sh b/shell/tox-run.sh index 758759b1..56c450f0 100644 --- a/shell/tox-run.sh +++ b/shell/tox-run.sh @@ -24,7 +24,7 @@ cd "$WORKSPACE/$TOX_DIR" || exit 1 # shellcheck disable=SC1090 source ~/lf-env.sh -lf-activate-venv --python python3.8 --venv-file /tmp/.toxenv tox tox-pyenv virtualenv +lf-activate-venv --python python3.8 --venv-file /tmp/.toxenv tox==3.27.1 tox-pyenv virtualenv if [[ -d /opt/pyenv ]]; then echo "---> Setting up pyenv"