Adjust tox.ini for tox4
OpenStack CI now uses tox4 by default. - Drop "skipsdist = True". When skipsdist=True is specified, a target application is not installed into a tox env, but there seems no reason to do so. In various other OpenStack projects, a target applicatin needs to be installed into a tox vnev, for example, in docs and/or linter jobs and it causes failures with tox4. So dropping it would avoid potential future failures. - Add ignore_basepython_conflict = True to tox.ini With latest tox (>4.0.15) python version conflicted with base python. Adding ignore_basepython_conflict = True solves this issue. Change-Id: Id25cde435e9eaf6d5d2573d522cda763dad1a89b
This commit is contained in:
parent
a1f181f610
commit
553c089d09
5
tox.ini
5
tox.ini
@ -1,7 +1,10 @@
|
||||
[tox]
|
||||
minversion = 3.18.0
|
||||
envlist = py3,pep8
|
||||
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
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
|
Loading…
Reference in New Issue
Block a user