From d7c121ab922dcb74cfeb0a7dd3785d5dc6ef0596 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Tue, 9 Mar 2021 10:57:02 +0100 Subject: [PATCH] Avoid empty dependencies in tox.ini Specifying only constraints does not work, there must be some real deps. Add documentation deps since the documented way to use reno is via `tox -evenv -- reno`. Change-Id: I68182adbac4eaadc2fbb2c70b27683c5589103bf --- tox.ini | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index d3819ae..d553d24 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,7 @@ setenv = PYTHONWARNINGS=default::DeprecationWarning deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/doc/requirements.txt [testenv:pep8] deps = @@ -28,20 +29,16 @@ commands = {posargs} [testenv:docs] usedevelop = False -deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} - -r{toxinidir}/doc/requirements.txt commands = sphinx-build -W -b html doc/source doc/build/html [testenv:pdf-docs] usedevelop = False whitelist_externals = make -deps = {[testenv:docs]deps} commands = sphinx-build -b latex doc/source doc/build/pdf make -C doc/build/pdf [testenv:releasenotes] usedevelop = False -deps = {[testenv:docs]deps} commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html