Update tox.ini for tox4
basepython as python3 is not needed anymore since py27 support was dropped since many OpenStack cycles ago. py38 and py310 jobs are failing because the requirements are not installed. This patch adds explicit install of the requirements. Change-Id: I095f10b97529fb794db135621d74a16e6554dd5f
This commit is contained in:
parent
45ea70abd9
commit
27c479ab0c
2
tox.ini
2
tox.ini
|
@ -5,12 +5,12 @@ skipsdist = True
|
|||
ignore_basepython_conflict = True
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
usedevelop = True
|
||||
setenv =
|
||||
PYTHONDONTWRITEBYTECODE=1
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
stestr run {posargs}
|
||||
|
|
Loading…
Reference in New Issue