Fix: Add missing Python 3.x dependencies for tests 98/132998/1
authorMatthew Watkins <mwatkins@linuxfoundation.org>
Tue, 24 Jan 2023 13:48:46 +0000 (13:48 +0000)
committerMatthew Watkins <mwatkins@linuxfoundation.org>
Tue, 24 Jan 2023 13:48:46 +0000 (13:48 +0000)
Add argparse and webtest dependencies, do not update tox

Issue-ID: CIMAN-33
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: Ie0607937921774cb7f18ab5d20ec649421437935

jjb/global-templates-python.yaml

index 5c44bda..acf99bc 100644 (file)
@@ -63,7 +63,7 @@
           source ~/lf-env.sh
 
           lf-activate-venv --python python3.8 --venv-file /tmp/.toxenv \
-            tox==3.27.1 tox-pyenv virtualenv
+            tox==3.27.1 tox-pyenv virtualenv argparse webtest
 
           if [[ -d /opt/pyenv ]]; then
             echo "---> Setting up pyenv"
@@ -75,7 +75,6 @@
           fi
 
           python -m pip install --upgrade pip
-          python -m pip install --upgrade tox argparse
 
           # Useful debugging
           python --version