From 07c62baeee27086343152a9c89093ca99a9f99d9 Mon Sep 17 00:00:00 2001 From: Kevin Sandi Date: Thu, 8 Dec 2022 20:36:30 -0600 Subject: [PATCH] Fix: pin tox version Signed-off-by: Kevin Sandi Change-Id: Ic015a210ec2d9af2d6b7ce182a6121d8c37b984b --- releasenotes/notes/pin-tox-cf1c1766b0cd6506.yaml | 5 +++++ shell/tox-install.sh | 2 +- shell/tox-run.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/pin-tox-cf1c1766b0cd6506.yaml 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" -- 2.16.6