summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanchandavishal <manchandavishal143@gmail.com>2019-05-14 00:05:52 +0530
committerVishal Manchanda <manchandavishal143@gmail.com>2019-05-17 08:00:11 +0000
commita5a4c6d5f68bf0f8bf1fa5f05e03aaa8a13f1065 (patch)
tree181faaf085d0523960a5d4c1cfd01b0f9876fe86
parent6199bf3528c499e5665c837bd04229d920d9e511 (diff)
downloadhorizon-a5a4c6d5f68bf0f8bf1fa5f05e03aaa8a13f1065.tar.gz
Update sphinx dependency
Sphinx 2.0 no longer works on python 2.7, so we need to start capping it there as well. Change-Id: I15172984b548bc2ad9ed6ab015da525ba6a49dd5 (cherry picked from commit ce00c5ab1c19ee934dfc06e354ff16e99553f9f4)
-rw-r--r--doc/requirements.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index 71e8cb920..d01b7f969 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -7,7 +7,8 @@
# be installed in a specific order.
openstackdocstheme>=1.18.1 # Apache-2.0
reno>=2.5.0 # Apache-2.0
-sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
# The below is rewquired to build testing module reference
mock>=2.0.0 # BSD