From 3016f08782c7b37b6ea3b4597b3bc7ab94c73dac Mon Sep 17 00:00:00 2001 From: QinglinCheng Date: Tue, 19 Dec 2017 14:20:14 +0800 Subject: [PATCH] Create doc/requirements.txt For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html Refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html Change-Id: Iaa1530f19049883fc9fbce66f1fcc82ded559a07 --- doc/requirements.txt | 10 ++++++++++ test-requirements.txt | 3 --- tox.ini | 5 +++-- 3 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 doc/requirements.txt diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 000000000..cf805c1ec --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,10 @@ +# 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. + +# These are needed for docs generation +openstackdocstheme>=1.17.0 # Apache-2.0 +sphinx>=1.6.2 # BSD +reno>=2.5.0 # Apache-2.0 +lxml!=3.7.0,>=3.4.1 # BSD +fixtures>=3.0.0 # Apache-2.0/BSD diff --git a/test-requirements.txt b/test-requirements.txt index 0e2b0bc65..12096464f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11,11 +11,8 @@ keyring>=5.5.1 # MIT/PSF lxml!=3.7.0,>=3.4.1 # BSD mock>=2.0.0 # BSD oauthlib>=0.6.0 # BSD -openstackdocstheme>=1.17.0 # Apache-2.0 oslotest>=1.10.0 # Apache-2.0 -reno>=2.5.0 # Apache-2.0 requests-mock>=1.1.0 # Apache-2.0 -sphinx>=1.6.2 # BSD tempest>=17.1.0 # Apache-2.0 testrepository>=0.0.18 # Apache-2.0/BSD testresources>=2.0.0 # Apache-2.0/BSD diff --git a/tox.ini b/tox.ini index df31ecc77..823374848 100644 --- a/tox.ini +++ b/tox.ini @@ -55,11 +55,12 @@ show-source = True exclude = .venv,.tox,dist,doc,*egg,build [testenv:docs] -commands= - python setup.py build_sphinx +commands = python setup.py build_sphinx +deps = -r{toxinidir}/doc/requirements.txt [testenv:releasenotes] commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html +deps = -r{toxinidir}/doc/requirements.txt [hacking] import_exceptions =