Merge "Fix tox to ignore_basepython_conflict"

This commit is contained in:
Zuul 2022-02-23 19:10:28 +00:00 committed by Gerrit Code Review
commit 8f6fa3fecf

View File

@ -3,19 +3,22 @@ distribute = False
envlist = py3,pep8
minversion = 3.18.0
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
usedevelop = true
setenv = VIRTUAL_ENV={envdir}
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
allowlist_externals = find
PYTHONDONTWRITEBYTECODE=1
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
commands =
find . -type f -name "*.pyc" -delete
stestr run {posargs}
stestr slowest