diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 00000000..7981d3bb --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,6 @@ +# The order of packages is significant, because pip processes them in the order +# of appearance. Changing the order has an impact on the overall integration +# process, which may cause wedges in the gate later. +sphinx>=1.6.2 # BSD +sphinx_rtd_theme==0.2.4 +reno>=2.5.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 11610a02..adf132c4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -14,11 +14,8 @@ os-testr>=0.8.0 # Apache-2.0 testrepository>=0.0.18 # Apache-2.0/BSD testtools>=1.4.0 # MIT bandit>=1.1.0 # Apache-2.0 -sphinx>=1.6.2 # BSD gabbi==1.35.1 -sphinx_rtd_theme==0.2.4 pifpaf==0.10.0 -reno>=2.5.0 # Apache-2.0 pytest-html==1.16.0 # NOTE(fmontei): The requirement below is only included because readthedocs diff --git a/tox.ini b/tox.ini index 5d09a8f2..7b64d5e8 100644 --- a/tox.ini +++ b/tox.ini @@ -64,6 +64,7 @@ commands = bandit -r deckhand -x deckhand/tests -n 5 [testenv:releasenotes] +deps = -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:genconfig] @@ -87,6 +88,7 @@ ignore = E127,E128,E129,E131,H405 exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,releasenotes,doc [testenv:docs] +deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf doc/build python setup.py build_sphinx {posargs}