From e91ecb39bc130200e02782b93549659908ab36b3 Mon Sep 17 00:00:00 2001 From: Shu Muto Date: Thu, 18 Aug 2016 17:51:50 +0900 Subject: [PATCH] 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 --- tox.ini | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tox.ini b/tox.ini index 9cd3e643b..1d75dfc8d 100644 --- a/tox.ini +++ b/tox.ini @@ -32,21 +32,18 @@ commands = bandit -r zun -x tests -n5 -ll [testenv:pep8-constraints] -install_command = {[testenv:common-constraints]install_command} commands = flake8 {posargs} [testenv:venv] commands = {posargs} [testenv:venv-constraints] -install_command = {[testenv:common-constraints]install_command} commands = {posargs} [testenv:cover] commands = python setup.py test --coverage --testr-args='{posargs}' [testenv:cover-constraints] -install_command = {[testenv:common-constraints]install_command} commands = python setup.py test --coverage --testr-args='{posargs}' [testenv:docs] @@ -55,14 +52,12 @@ commands = python setup.py build_sphinx [testenv:docs-constraints] -install_command = {[testenv:common-constraints]install_command} commands = python setup.py build_sphinx [testenv:debug] commands = oslo_debug_helper {posargs} [testenv:debug-constraints] -install_command = {[testenv:common-constraints]install_command} commands = oslo_debug_helper {posargs} [flake8] @@ -83,11 +78,6 @@ commands = {toxinidir}/tools/fast8.sh [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 [testenv:genconfig]