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]