The tox.ini file edited to explicitly define the python runtime environment

An error occurs while executing local tests if the user has more than one Python3 runtime installed. Currently supported version of python environment for tox tests is 3.8. Basepython was explicitly defined to version 3.8 so the error won't occur due to a different version.

Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
Change-Id: I7219d7d6e974eafbb615da201436c584ca316751
This commit is contained in:
Veronika Fisarova 2022-09-15 11:42:30 +02:00
parent cf0dc62a19
commit ce05cec4c8

View File

@ -2,10 +2,14 @@
minversion = 3.2.0 minversion = 3.2.0
envlist = linters,docs,py envlist = linters,docs,py
skipsdist = True skipsdist = True
# Automatic envs (pyXX) will only use the python version appropriate to that
# env and ignore basepython inherited from [testenv] if we set
# ignore_basepython_conflict.
ignore_basepython_conflict = True ignore_basepython_conflict = True
[testenv] [testenv]
basepython = python3 basepython = python3.8
usedevelop = True usedevelop = True
passenv = TERM passenv = TERM
setenv = setenv =