From 27c479ab0cc6ce14d93d9aca9155209625f4a8c8 Mon Sep 17 00:00:00 2001 From: Elod Illes Date: Wed, 1 Mar 2023 12:22:32 +0100 Subject: [PATCH] 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f66d620e..ee486901 100644 --- a/tox.ini +++ b/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}