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: Ic6cccf32e9b95bf170b612bdbe4e1443e9d7ed91
This commit is contained in:
OpenStack Release Bot 2023-09-07 09:38:09 +00:00
parent c94d571603
commit 50c9ba823b
1 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ envlist = py3,pep8
[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
-r{toxinidir}/requirements.txt
# Functional tests with Eventlet involve monkeypatching, so force them to be
@ -16,7 +16,7 @@ commands =
[testenv:pep8]
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 =
pre-commit run -a
@ -40,7 +40,7 @@ commands = {posargs}
[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
@ -63,7 +63,7 @@ commands = python3 benchmark/benchmark.py
[testenv:releasenotes]
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 -rf releasenotes/build