From 9804985fc7c7c5e95cdc0125ec079297b2f6e777 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Fri, 26 Oct 2018 15:23:28 +1100 Subject: [PATCH] Add doc depends to tox releasenotes environment When I run "tox -e releasenotes" it fails because it doesn't install any of the sphinx or reno tools. Add doc dependencies. Change-Id: Ia8b864fbbe02f0963881d3a393b1a5935a3f16e9 --- tox.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 676f6f34d..ff31ca10c 100644 --- a/tox.ini +++ b/tox.ini @@ -84,8 +84,10 @@ deps = commands = sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html [testenv:releasenotes] -usedevelop = False -skip_install = True +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/requirements.txt + -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [flake8]