From 4e9ea6b63ea9f3cc6220cf7100684e15cd0f8b2f Mon Sep 17 00:00:00 2001 From: Ilya Shakhat Date: Fri, 12 Aug 2016 12:19:59 +0300 Subject: [PATCH] Separate doc requirements from test requirements Doc build is now depends on oslo-config. That's ok in OpenStack infra, but fails to build on ReadTheDocs. Change-Id: I4d5d0174231ee14792dd8b7e5c7e1e9817e4b351 --- doc-requirements.txt | 8 ++++++++ tox.ini | 1 + 2 files changed, 9 insertions(+) create mode 100644 doc-requirements.txt diff --git a/doc-requirements.txt b/doc-requirements.txt new file mode 100644 index 0000000..639480b --- /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. + +oslo.config>=3.9.0 # Apache-2.0 +sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD +sphinxcontrib-httpdomain # BSD +sphinx_rtd_theme diff --git a/tox.ini b/tox.ini index 7e0913a..8dec78c 100644 --- a/tox.ini +++ b/tox.ini @@ -39,6 +39,7 @@ commands = python tools/build_scenario_catalog.py doc/source/catalog.rst [testenv:docs] +deps = -r{toxinidir}/doc-requirements.txt commands = python setup.py build_sphinx [testenv:svg2png]