Skip to content

Commit 7ed5628

Browse files
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: Ibef57f6379dc3eccf855d1f74ff6d76b3253fa37
1 parent 3cef8b2 commit 7ed5628

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ setenv = VIRTUAL_ENV={envdir}
1313
LC_ALL=en_US.UTF-8
1414
TESTS_DIR=./networking_generic_switch/tests/unit/
1515
deps =
16-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
16+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
1717
-r{toxinidir}/requirements.txt
1818
-r{toxinidir}/test-requirements.txt
1919
passenv =
@@ -48,7 +48,7 @@ setenv = PYTHONHASHSEED=0
4848
sitepackages = False
4949
envdir = {toxworkdir}/venv
5050
deps =
51-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
51+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
5252
-r{toxinidir}/requirements.txt
5353
-r{toxinidir}/doc/requirements.txt
5454
commands =
@@ -66,15 +66,15 @@ commands =
6666

6767
[testenv:releasenotes]
6868
deps =
69-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
69+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
7070
-r{toxinidir}/doc/requirements.txt
7171
commands =
7272
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
7373

7474
[testenv:venv]
7575
setenv = PYTHONHASHSEED=0
7676
deps =
77-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
77+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
7878
-r{toxinidir}/test-requirements.txt
7979
-r{toxinidir}/doc/requirements.txt
8080
commands = {posargs}

0 commit comments

Comments
 (0)