Merge "Use TOX_CONSTRAINTS_FILE"

This commit is contained in:
Zuul 2021-01-14 14:49:47 +00:00 committed by Gerrit Code Review
commit db65be7999

View File

@ -6,7 +6,7 @@ ignore_basepython_conflict = true
[testenv] [testenv]
basepython = python3 basepython = python3
deps = deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
# Functional tests with Eventlet involve monkeypatching, so force them to be # Functional tests with Eventlet involve monkeypatching, so force them to be
@ -18,7 +18,7 @@ commands =
[testenv:pep8] [testenv:pep8]
deps = deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = commands =
pre-commit run -a pre-commit run -a
@ -42,7 +42,7 @@ commands = {posargs}
[testenv:docs] [testenv:docs]
whitelist_externals = rm whitelist_externals = rm
deps = deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt -r{toxinidir}/doc/requirements.txt
commands = commands =
rm -fr doc/build rm -fr doc/build
@ -65,7 +65,7 @@ commands = python3 benchmark/benchmark.py
[testenv:releasenotes] [testenv:releasenotes]
whitelist_externals = rm whitelist_externals = rm
deps = deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt -r{toxinidir}/doc/requirements.txt
commands = commands =
rm -rf releasenotes/build rm -rf releasenotes/build