Merge "Fix!: Un-pin tox version from 3.27.1 and remove tox-pyenv"
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 9 Mar 2023 16:18:23 +0000 (16:18 +0000)
committerGerrit Code Review <gerrit@linuxfoundation.org>
Thu, 9 Mar 2023 16:18:23 +0000 (16:18 +0000)
releasenotes/notes/unpin-tox-ver-rm-tox-pyenv-bf5d731d6c2ce77f.yaml [new file with mode: 0644]
shell/rtd-verify.sh
shell/tox-install.sh
shell/tox-run.sh

diff --git a/releasenotes/notes/unpin-tox-ver-rm-tox-pyenv-bf5d731d6c2ce77f.yaml b/releasenotes/notes/unpin-tox-ver-rm-tox-pyenv-bf5d731d6c2ce77f.yaml
new file mode 100644 (file)
index 0000000..734bf2f
--- /dev/null
@@ -0,0 +1,11 @@
+---
+fixes:
+  - |
+    Un-pin tox version from 3.27.1 and remove tox-pyenv. Testing has
+    demonstrated that tox-pyenv is no longer required to obtain correct
+    Python runtime versions when running tests. Also, removed Python 3.8
+    from the VENV setup where it was being specifically requested.
+
+    Due to unpinning of the tox version, tox.ini configuration files may
+    need modifying to reflect a change in configuration syntax; where
+    whitelist_externals needs to be replaced with allowlist_externals.
index b1a83fa..2894122 100644 (file)
@@ -37,7 +37,7 @@ done
 # shellcheck disable=SC1090
 . ~/lf-env.sh
 
-lf-activate-venv --python python3.8 --venv-file /tmp/.toxenv tox==3.27.1 tox-pyenv virtualenv
+lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv
 
 # When a new commands are added in lftools, the docs verify job needs to
 # run the new command which requires installing the lftools dev version
index 488b5c8..e4bb50d 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==3.27.1 tox-pyenv virtualenv
+lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv
 
 # installs are silent, show version details in log
 $PYTHON --version
index 56c450f..ce527cf 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==3.27.1 tox-pyenv virtualenv
+lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv
 
 if [[ -d /opt/pyenv ]]; then
     echo "---> Setting up pyenv"