Fix: pin tox version 85/71085/2 v0.83.1
authorKevin Sandi <ksandi@contractor.linuxfoundation.org>
Fri, 9 Dec 2022 02:36:30 +0000 (20:36 -0600)
committerKevin Sandi <ksandi@contractor.linuxfoundation.org>
Fri, 9 Dec 2022 02:48:11 +0000 (20:48 -0600)
Signed-off-by: Kevin Sandi <ksandi@contractor.linuxfoundation.org>
Change-Id: Ic015a210ec2d9af2d6b7ce182a6121d8c37b984b

releasenotes/notes/pin-tox-cf1c1766b0cd6506.yaml [new file with mode: 0644]
shell/tox-install.sh
shell/tox-run.sh

diff --git a/releasenotes/notes/pin-tox-cf1c1766b0cd6506.yaml b/releasenotes/notes/pin-tox-cf1c1766b0cd6506.yaml
new file mode 100644 (file)
index 0000000..a1e1339
--- /dev/null
@@ -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.
index 5e527b3..488b5c8 100644 (file)
@@ -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
index 758759b..56c450f 100644 (file)
@@ -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"