From cbbb782084b800f626615175b282bc15abc5db37 Mon Sep 17 00:00:00 2001 From: Shawn Wang Date: Mon, 13 Feb 2023 20:55:15 -0800 Subject: [PATCH] Fix issues with tox 4.2.4 tox 4.2.4 starts to fail if basepython mismatches with python env[1]. This change works around the issue by setting [tox] ignore_base_python_conflict. Also changing envlist from py37 to py38 given the Zuul env using py3.8 now. [1] https://github.com/tox-dev/tox/pull/2824/ Change-Id: I380c1073a4b1f5b8d8a066345c7512061bd007fb --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d01d6597..78a9f635 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,8 @@ [tox] -envlist = py37,pep8 +envlist = py38,pep8 minversion = 2.0 skipsdist = True +ignore_base_python_conflict = True [testenv] install_command = pip install {opts} {packages}