Update TOX_CONSTRAINTS_FILE for stable/2023.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/2023.1 branch, tests will continue to use the upper-constraints list on master. Change-Id: I2e5e78d4d46b78318a597d2c11b16eaa505ea392
This commit is contained in:
parent
b5b1791d04
commit
8dc0d41bed
8
tox.ini
8
tox.ini
@ -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.1}
|
||||
-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.1}
|
||||
-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.1}
|
||||
-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.1}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
rm -rf releasenotes/build
|
||||
|
Loading…
Reference in New Issue
Block a user