From f98463852b179c855f77533a18b18e30e674792d Mon Sep 17 00:00:00 2001 From: yatin karel Date: Wed, 17 Aug 2016 19:56:50 +0530 Subject: [PATCH] Use upper constraints for all jobs in tox.ini Openstack infra now supports upper constraints for all jobs. Updated tox.ini to use upper constraints for all jobs. Change-Id: Idc8c6cb9b0fa3b547bd78638394fdf1687827e33 Closes-Bug: #1614117 --- tox.ini | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/tox.ini b/tox.ini index 43d0a825c9..8a45fa4189 100644 --- a/tox.ini +++ b/tox.ini @@ -93,10 +93,6 @@ commands = bandit -r magnum -x tests -n5 -ll [testenv:venv] -# NOTE(jaegerandi): 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 = {posargs} [testenv:bandit] @@ -104,17 +100,10 @@ deps = -r{toxinidir}/test-requirements.txt commands = bandit -r magnum -x tests -n5 -ll [testenv:cover] -# NOTE(NiallBunting) Infra does not support constraints for the cover -# job. While the file is set no file is there. Can be removed once infra -# changes this. -install_command = pip install -U {opts} {packages} commands = python setup.py testr --coverage --testr-args='{posargs}' coverage report [testenv:docs] -# NOTE(NiallBunting) This is a post job. So upper constraints will not -# apply here. -install_command = pip install -U {opts} {packages} commands = doc8 -e .rst specs/ doc/source/ contrib/ CONTRIBUTING.rst HACKING.rst README.rst python setup.py build_sphinx @@ -139,17 +128,9 @@ deps = pip_missing_reqs commands=pip-missing-reqs -d --ignore-file=magnum/tests/* magnum [testenv:releasenotes] -# NOTE(sdague): 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 = rm -rf releasenotes/build sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:install-guide] -# NOTE(jaegerandi): 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 install-guide/build/doctrees -b html install-guide/source install-guide/build/html