From 7517be2f5cfe9c42ba86c8bc2d311b62e0a52ee9 Mon Sep 17 00:00:00 2001 From: Tom Barron Date: Tue, 23 Aug 2016 13:14:59 -0400 Subject: [PATCH] Use constraints for api-ref environment Change [1] updated tox.ini to use constraints rather than specific, non-constrained install commands but neglected to update the api-ref environment. In addition to fixing that omission we also remove a bit of ugly trailing whitespace. Co-authored-By: Gorka Eguileor [1] I879f34129c0d958be0a73bfdc7f641e178d4efe9 Change-Id: I58ec756cd3de2e501c77a4d947e680d0959d22ec --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 6dbbab56db6..cd64c8b82f3 100644 --- a/tox.ini +++ b/tox.ini @@ -34,7 +34,6 @@ passenv = *_proxy *_PROXY # the API Ref to developer.openstack.org. whitelist_externals = rm deps = -r{toxinidir}/test-requirements.txt -install_command = pip install -U --force-reinstall {opts} {packages} commands = rm -rf api-ref/build sphinx-build -W -b html -d api-ref/build/doctrees/v1 api-ref/v1/source api-ref/build/html/v1 @@ -97,7 +96,7 @@ commands = python cinder/config/generate_cinder_opts.py commands = {posargs} [testenv:docs] -commands = +commands = python setup.py build_sphinx [testenv:gendriverlist]