From 0ea120e58c444c850d08830ac77f4b64730bdc93 Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Wed, 11 Jan 2023 12:01:46 -0500 Subject: [PATCH] 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. Even though [1] is fixed we are still seeing this failure. [1] https://github.com/tox-dev/tox/issues/2811 Change-Id: I351870695b1c6706888d8a51fa33ea0fcbc63cd7 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 487a67171..475f3dbe2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.18.0 -envlist = docs,py38 +envlist = docs,py3 [testenv] basepython = python3