# Use -x to show value of $PYTHON in output
set -eux -o pipefail
-# Tox version is pulled in through detox to mitigate version conflict
+# shellcheck disable=SC1090
+source ~/lf-env.sh
-if [[ $PYTHON == "python2" ]]; then
- $PYTHON -m pip install --user --quiet --upgrade tox tox-pyenv virtualenv more-itertools~=5.0.0
-else
- $PYTHON -m pip install --user --quiet --upgrade tox tox-pyenv virtualenv
-fi
+lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15
# installs are silent, show version details in log
$PYTHON --version