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
This commit is contained in:
Shawn Wang 2023-02-13 20:55:15 -08:00
parent 44ac0a020a
commit cbbb782084
No known key found for this signature in database
GPG Key ID: C98A86CC967E89A7

View File

@ -1,7 +1,8 @@
[tox] [tox]
envlist = py37,pep8 envlist = py38,pep8
minversion = 2.0 minversion = 2.0
skipsdist = True skipsdist = True
ignore_base_python_conflict = True
[testenv] [testenv]
install_command = pip install {opts} {packages} install_command = pip install {opts} {packages}