From 2cb067ee7ba6fe7970ad5487ecbac0c26e251eb1 Mon Sep 17 00:00:00 2001 From: zhangboye Date: Thu, 6 Jun 2019 16:09:07 +0800 Subject: [PATCH] Cap sphinx for py2 to match global requirements Change-Id: I774e025d036c6e61d9b61d50fbb21eedef3c7a01 --- doc/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 71c0d0d0..9920d5a0 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -3,7 +3,8 @@ # process, which may cause wedges in the gate later. # this is required for the docs build jobs -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 openstackdocstheme>=1.18.1 # Apache-2.0 reno>=2.5.0 # Apache-2.0 doc8>=0.6.0 # Apache-2.0