Update TOX_CONSTRAINTS_FILE for stable/2023.2

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/2023.2 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: I7411468390bfef42846df0bc90667cfc4c2a952b
This commit is contained in:
2023-09-07 09:38:58 +00:00
parent fb0f260403
commit f5af7c16f5

View File

@@ -6,7 +6,7 @@ ignore_basepython_conflict = true
[testenv]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.2}
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
@@ -25,7 +25,7 @@ commands = python setup.py test --coverage --coverage-package-name=oslo_versione
[testenv:docs]
allowlist_externals = rm
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.2}
-r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build