From 166cab884ace539b7737ccd2e8272134f9d94a11 Mon Sep 17 00:00:00 2001 From: zhangboye Date: Thu, 16 May 2019 16:17:14 +0800 Subject: [PATCH] Cap sphinx for py2 to match global requirements Change-Id: Ib99fd21744813f3ed83fad989e1c91a2f2e99c17 --- doc/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 86fc0cb553..d2f4777318 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,4 +1,5 @@ -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.6' # BSD sphinxcontrib-httpdomain>=1.3.0 # BSD sphinxcontrib-blockdiag>=1.5.4 # BSD reno>=2.5.0 # Apache-2.0