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: I1dee262fa214f8d45d3f95f2caed43b89b24f026
This commit is contained in:
parent
34ee61578e
commit
134f568b1b
4
tox.ini
4
tox.ini
|
@ -8,7 +8,7 @@ ignore_basepython_conflict = True
|
|||
basepython = python3
|
||||
usedevelop = True
|
||||
allowlist_externals = {toxinidir}/tools/tox_install.sh
|
||||
install_command = {toxinidir}/tools/tox_install.sh {env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
|
||||
install_command = {toxinidir}/tools/tox_install.sh {env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1} {opts} {packages}
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
@ -41,6 +41,6 @@ builtins = _
|
|||
exclude = .venv,.git,.tmp,.tox,dist,doc,*lib/python*,*egg,tools
|
||||
|
||||
[testenv:releasenotes]
|
||||
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
|
||||
|
|
Loading…
Reference in New Issue