[INTEGRATION] Pin tox.ini basepython to 3.8 18/134218/2
authorMarek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
Tue, 18 Apr 2023 13:14:49 +0000 (15:14 +0200)
committerMarek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
Tue, 18 Apr 2023 13:28:09 +0000 (15:28 +0200)
Change in tox.ini that binds python version
used to 3.8

Issue-ID: INT-2222
Change-Id: I8f93067785d84e9b3233044d2b7667a0e3a21832
Signed-off-by: Marek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
infra-healthcheck/tox.ini
tox.ini

index fbbbf13..d1e9f4c 100644 (file)
@@ -10,11 +10,11 @@ deps =
 install_command = pip install {opts} {packages}
 
 [testenv:pep8]
-basepython = python3
+basepython = python3.8
 commands = flake8
 
 [testenv:pylint]
-basepython = python3
+basepython = python3.8
 allowlist_externals = pylint
 modules =
   infra_healthcheck
@@ -23,7 +23,7 @@ commands =
 
 [testenv:yamllint]
 allowlist_externals = yamllint
-basepython = python3
+basepython = python3.8
 files =
   docker
 commands =
@@ -31,7 +31,7 @@ commands =
 
 [testenv:py3]
 allowlist_externals = nosetests
-basepython = python3
+basepython = python3.8
 commands = nosetests --with-xunit \
   --with-coverage \
   --cover-tests \
@@ -42,7 +42,7 @@ commands = nosetests --with-xunit \
 
 [testenv:bashate]
 allowlist_externals = bashate
-basepython = python3
+basepython = python3.8
 files =
   scripts/check_onap_k8s.sh
   scripts/check_onap_helm.sh
diff --git a/tox.ini b/tox.ini
index 22177a9..d41da20 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -5,7 +5,7 @@ skipsdist = true
 requires = pip >= 8
 
 [testenv]
-basepython = python3
+basepython = python3.8
 allowlist_externals =
   git
   bash
@@ -47,7 +47,7 @@ commands =
     /bin/bash -c "coala --non-interactive --disable-caching --no-autoapply-warn md --files $(</tmp/.coalist_md) \ "
 
 [testenv:gitlint]
-basepython = python3
+basepython = python3.8
 deps =
   gitlint
 commands =