summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQinglinCheng <qinglin.cheng@easystack.cn>2017-12-19 14:20:14 +0800
committerColleen Murphy <colleen@gazlene.net>2017-12-19 22:20:06 +0100
commit3016f08782c7b37b6ea3b4597b3bc7ab94c73dac (patch)
treedc337b4b44833e4fed8892af7a6ad6ce16a8e384
parent2bea645ccc0723d69f10c771b73b5894223feedf (diff)
downloadpython-keystoneclient-3016f08782c7b37b6ea3b4597b3bc7ab94c73dac.tar.gz
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
-rw-r--r--doc/requirements.txt10
-rw-r--r--test-requirements.txt3
-rw-r--r--tox.ini5
3 files changed, 13 insertions, 5 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
new file mode 100644
index 0000000..cf805c1
--- /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 0e2b0bc..1209646 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 df31ecc..8233748 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 =