From d179684d125ab0251def949d1f37a631fbfcf6e5 Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Mon, 16 Jan 2023 10:40:43 +0100 Subject: [PATCH] Add the requirements.txt file to the tox deps The requirements.txt file was missing in the tox dependencies. That will enforce the requirements installation using the requirements limits. Change-Id: I777c1ad808e0ef8622f199c6839e73a2f535434d Closes-Bug: #2002947 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 678e9dbc2..c2fc078ce 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ envlist = pep8 ignore_basepython_conflict = True [testenv] -basepython = python3 +basepython = {env:TOX_PYTHON:python3} usedevelop = True setenv = VIRTUAL_ENV={envdir} @@ -14,6 +14,7 @@ setenv = OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:true} 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 --slowest {posargs}