Update TOX_CONSTRAINTS_FILE for stable/2024.1

Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.

Until the requirements repository has as stable/2024.1 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: Ib888d9caf247e7a435d28fd34b6ed0f8b19ed512
This commit is contained in:
2024-03-15 14:33:04 +00:00
parent a87eedc3ee
commit d99764e611

View File

@@ -10,7 +10,7 @@ setenv =
SQLALCHEMY_WARN_20=1
usedevelop = True
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
@@ -67,7 +67,7 @@ commands = oslo_debug_helper -t barbican/tests {posargs}
# the main docs to https://docs.openstack.org/barbican
description = Build main documentation
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands=
@@ -109,7 +109,7 @@ allowlist_externals =
# Note: This requires local running instances of Barbican and Keystone
# TODO(dmend): remove --serial and uncomment coverage commands
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
-r{toxinidir}/test-requirements.txt
setenv =
OS_TEST_PATH={toxinidir}/functionaltests
@@ -129,7 +129,7 @@ passenv = KMIP_PLUGIN_ENABLED
# This tox env is purely to make local test development easier
# Note: This requires local running instances of Barbican and Keystone
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
-r{toxinidir}/test-requirements.txt
setenv =
OS_TEST_PATH={toxinidir}/barbican/cmd/functionaltests