Update envlist for tox4

tox4 even when running specific env with -e option tries
to find python version for all envs defined in envlist[1]
when running with --skip-missing-interpreters=false and
fails if interpreter missing for any of the env.

With py38 in envlist it tries to find python3.8
which is not available in ubuntu-jammy by default
and fails, hence use generic version instead i.e py3
to handle it.

Once [1] is fixed we can update the list as per
default supported py3 version for a release.

[1] https://github.com/tox-dev/tox/issues/2811

Change-Id: I0559fcb1aa3d2c8800c1b9ea04e227dbf246c225
This commit is contained in:
Rodolfo Alonso Hernandez 2023-01-05 21:45:44 +01:00
parent af0209a18f
commit fee33fb322
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
[tox]
minversion = 3.18.0
envlist = docs,py38
envlist = docs,py3
[testenv]
basepython = python3
basepython = {env:TOX_PYTHON:python3}
usedevelop = True
setenv =
VIRTUAL_ENV={envdir}