From 521b6e7dffa225957249a01f45d15c5d52658f3d Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 10 Aug 2016 13:22:48 +0200 Subject: [PATCH] Use constraints for all tox environments Infra is now ready to use constraints everywhere, adapt the environments to use the default install command instead of a specific non-constrainted install command. With this change, now all tox environments use constraints. Change-Id: Ia5b7e42108395c593e900accadc447932c51f314 --- tox.ini | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tox.ini b/tox.ini index 316bf899..1cb46e59 100644 --- a/tox.ini +++ b/tox.ini @@ -17,9 +17,6 @@ commands = ostestr --slowest {posargs} commands = python setup.py build_sphinx [testenv:releasenotes] -# NOTE(nikhil): 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 --allow-all-external --allow-insecure netaddr -U {opts} {packages} commands = sphinx-build -a -E -W -d releasenotes/build/.doctrees -b html releasenotes/source releasenotes/build/html [testenv:pep8] @@ -42,16 +39,10 @@ commands = commands = bandit -r glance_store -x tests --skip B101,B110,B303 [testenv:cover] -# NOTE(nikhil): 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 --allow-all-external --allow-insecure netaddr -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} commands = python setup.py testr --coverage --testr-args='^(?!.*test.*coverage).*$' [testenv:venv] -# NOTE(nikhil): 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 --allow-all-external --allow-insecure netaddr -U {opts} {packages} commands = {posargs} [testenv:functional-swift]