summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpengyuesheng <pengyuesheng@gohighsec.com>2019-05-28 15:16:11 +0800
committerpengyuesheng <pengyuesheng@gohighsec.com>2019-05-28 15:17:25 +0800
commit43e6338748d30f761199782c860a18f9013a843a (patch)
tree140d44594950ac7b953a45c1ccb0e8c263cee3d5
parent83a2dac21c88b458cfc17e337fe529232f648b7b (diff)
downloadpython-glanceclient-43e6338748d30f761199782c860a18f9013a843a.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 depend on https://review.opendev.org/#/c/657890/ Change-Id: Ic77e0db24ab7d7f068faf3e237beefa8856a710a
-rw-r--r--doc/requirements.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index 4faabc1..a8778bf 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -3,5 +3,6 @@
# process, which may cause wedges in the gate later.
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
sphinxcontrib-apidoc>=0.2.0 # BSD