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.
Issue-ID: RELENG-4539
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: Ifdd49de2a8e5054dad4a5d52125ede537049ad8e
--- /dev/null
+---
+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.
# 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
# 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
# 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"