From abd634b8b6a51bbdedf96a0b5a5a15d6458a5415 Mon Sep 17 00:00:00 2001 From: ricolin Date: Tue, 19 Dec 2017 15:40:38 +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: I3ca83de4daa7f3433d62aa0868550ad8695968a2 --- doc/requirements.txt | 8 ++++++++ test-requirements.txt | 3 --- tox.ini | 5 ++--- 3 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 doc/requirements.txt diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 0000000..585a635 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,8 @@ +# 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. + +openstackdocstheme>=1.18.1 # Apache-2.0 +sphinx!=1.6.6,>=1.6.2 # BSD +reno>=2.5.0 # Apache-2.0 +sphinxcontrib-httpdomain>=1.3.0 # BSD diff --git a/test-requirements.txt b/test-requirements.txt index b35c1ca..d9f5036 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,13 +8,10 @@ fixtures>=3.0.0 # Apache-2.0/BSD # Hacking already pins down pep8, pyflakes and flake8 hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 mock>=2.0.0 # BSD -openstackdocstheme>=1.18.1 # Apache-2.0 paunch>=1.0.0 # Apache-2.0 -reno>=2.5.0 # Apache-2.0 requests>=2.14.2 # Apache-2.0 requests-mock>=1.1.0 # Apache-2.0 salt -sphinx!=1.6.6,>=1.6.2 # BSD testrepository>=0.0.18 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD testtools>=2.2.0 # MIT diff --git a/tox.ini b/tox.ini index 50e8a3f..dfcc794 100644 --- a/tox.ini +++ b/tox.ini @@ -15,9 +15,7 @@ commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi' commands = flake8 [testenv:docs] -deps = -r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt - sphinxcontrib-httpdomain +deps = -r{toxinidir}/doc/requirements.txt commands = python setup.py build_sphinx [testenv:venv] @@ -29,4 +27,5 @@ builtins = _ exclude=.venv,.git,.tox,*lib/python*,private,.eggs [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