Upper constraints is supported for all jobs in tox.ini
Openstack infra now supports upper constraints for all jobs. This patch removes install_command for upper constraints from all post jobs. Change-Id: Ic173e442db3ecbaee73b6dc328082b51ab502ff4 Closes-Bug: #1614117
This commit is contained in:
parent
666b33b36d
commit
e91ecb39bc
10
tox.ini
10
tox.ini
@ -32,21 +32,18 @@ commands =
|
|||||||
bandit -r zun -x tests -n5 -ll
|
bandit -r zun -x tests -n5 -ll
|
||||||
|
|
||||||
[testenv:pep8-constraints]
|
[testenv:pep8-constraints]
|
||||||
install_command = {[testenv:common-constraints]install_command}
|
|
||||||
commands = flake8 {posargs}
|
commands = flake8 {posargs}
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:venv-constraints]
|
[testenv:venv-constraints]
|
||||||
install_command = {[testenv:common-constraints]install_command}
|
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = python setup.py test --coverage --testr-args='{posargs}'
|
commands = python setup.py test --coverage --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:cover-constraints]
|
[testenv:cover-constraints]
|
||||||
install_command = {[testenv:common-constraints]install_command}
|
|
||||||
commands = python setup.py test --coverage --testr-args='{posargs}'
|
commands = python setup.py test --coverage --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
@ -55,14 +52,12 @@ commands =
|
|||||||
python setup.py build_sphinx
|
python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:docs-constraints]
|
[testenv:docs-constraints]
|
||||||
install_command = {[testenv:common-constraints]install_command}
|
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
commands = oslo_debug_helper {posargs}
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
[testenv:debug-constraints]
|
[testenv:debug-constraints]
|
||||||
install_command = {[testenv:common-constraints]install_command}
|
|
||||||
commands = oslo_debug_helper {posargs}
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
@ -83,11 +78,6 @@ commands =
|
|||||||
{toxinidir}/tools/fast8.sh
|
{toxinidir}/tools/fast8.sh
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
# NOTE(sheel.rana): This target does not use constraints because
|
|
||||||
# upstream infra does not yet support it.
|
|
||||||
# Once that's fixed, we can drop the install_command.
|
|
||||||
|
|
||||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
|
||||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
[testenv:genconfig]
|
[testenv:genconfig]
|
||||||
|
Loading…
Reference in New Issue
Block a user