Skip to content

Commit ccf6588

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: I134abf6cff0579f501873df5b0a4de0b82c612fc
1 parent 290d0c7 commit ccf6588

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ setenv =
1313
LANGUAGE=en_US
1414
LC_ALL=en_US.utf-8
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
commands = stestr run {posargs}
@@ -52,7 +52,7 @@ deps =
5252
flake8-import-order~=0.18.0 # LGPLv3
5353
pycodestyle>=2.0.0,<3.0.0 # MIT
5454
doc8~=1.1.0 # Apache-2.0
55-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
55+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
5656
allowlist_externals = bash
5757
{toxinidir}/tools/run_bashate.sh
5858
commands =
@@ -85,7 +85,7 @@ setenv = PYTHONHASHSEED=0
8585
sitepackages = False
8686
# NOTE(dtantsur): documentation building process requires importing IPA
8787
deps =
88-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
88+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
8989
-r{toxinidir}/requirements.txt
9090
-r{toxinidir}/doc/requirements.txt
9191
commands =
@@ -102,7 +102,7 @@ commands =
102102

103103
[testenv:releasenotes]
104104
deps =
105-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
105+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
106106
-r{toxinidir}/doc/requirements.txt
107107
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
108108

@@ -140,7 +140,7 @@ commands =
140140

141141
[testenv:bandit]
142142
deps =
143-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
143+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
144144
-r{toxinidir}/test-requirements.txt
145145
commands = bandit -r ironic_python_agent -x tests -n5 -ll -c tools/bandit.yml
146146

0 commit comments

Comments
 (0)