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:
Elod Illes 2023-03-01 12:22:32 +01:00
parent 45ea70abd9
commit 27c479ab0c
1 changed files with 1 additions and 1 deletions

View File

@ -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}