From 674c3959eb01a9bad16abb19096e6efe787e8cca Mon Sep 17 00:00:00 2001 From: zhangboye <zhangboye@inspur.com> Date: Fri, 7 Jun 2019 10:08:59 +0800 Subject: [PATCH] Cap sphinx for py2 to match global requirements Change-Id: I64f426907da92278151c3effaf46472dbcfba347 --- doc/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index c75634fd..5afd3b86 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -3,6 +3,7 @@ # process, which may cause wedges in the gate later. openstackdocstheme>=1.18.1 # 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 reno>=2.5.0 # Apache-2.0 sphinxcontrib-httpdomain>=1.3.0 # BSD