From 36ec0010f6e26d6f8d38c8151679948ee87b4834 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 1 Feb 2024 13:06:11 +0900 Subject: [PATCH] Replace the old UPPER_CONSTRAINTS_FILE env ... by the new TOX_CONSTRAINTS_FILE env, according to the changes made in the OpenStack projects. This also adds the constraints to the doc target, to avoid issues caused by too new versions being pulled. Change-Id: I3e99c1c24032cc3f4bc85ab07c28f830122beed4 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 7253154d..a40f48a9 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ skipsdist = True usedevelop = True setenv = VIRTUAL_ENV={envdir} deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt commands = stestr run --slowest {posargs} @@ -31,6 +31,7 @@ commands = {posargs} [testenv:docs] deps = + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt -egit+https://github.com/openstack/cloudbase-init\#egg=cloudbase-init commands =