Update TOX_CONSTRAINTS_FILE for stable/2024.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/2024.2 branch, tests will continue to use the upper-constraints list on master. Change-Id: I61d956a8062aa2e60dd3453b421dcb6d668e334f
This commit is contained in:
parent
e3fa468115
commit
102821492e
8
tox.ini
8
tox.ini
@ -11,7 +11,7 @@ setenv =
|
||||
# TODO(stephenfin): Remove once we bump our upper-constraint to SQLAlchemy 2.0
|
||||
SQLALCHEMY_WARN_20=1
|
||||
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.2}
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
.[ldap,memcache]
|
||||
commands =
|
||||
@ -41,7 +41,7 @@ allowlist_externals = {toxinidir}/tools/fast8.sh
|
||||
# NOTE(browne): This is required for the integration test job of the bandit
|
||||
# project. Please do not remove.
|
||||
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.2}
|
||||
-r{toxinidir}/requirements.txt
|
||||
commands = bandit -r keystone -x 'keystone/tests/*'
|
||||
|
||||
@ -71,7 +71,7 @@ passenv = KSTEST_*
|
||||
|
||||
[testenv:functional]
|
||||
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.2}
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
setenv = OS_TEST_PATH=./keystone/tests/functional
|
||||
commands =
|
||||
@ -126,7 +126,7 @@ per-file-ignores =
|
||||
|
||||
[testenv:docs]
|
||||
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.2}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
.[ldap,memcache]
|
||||
commands=
|
||||
|
Loading…
Reference in New Issue
Block a user