From b7fe8b6e23c687550835d11e842ed5300613ede5 Mon Sep 17 00:00:00 2001 From: jacky06 Date: Tue, 4 Jun 2019 09:46:25 +0800 Subject: [PATCH] Sync Sphinx requirement Sync sphinx dependency with global requirements. It caps python 2 since sphinx 2.0 no longer supports Python 2.7. Change-Id: Id4eca6372cb3c9df048af11639b1159bb9451fa6 Closes-Bug: #1831517 --- doc/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index f696fb1..def8f6d 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -10,5 +10,6 @@ mock>=2.0.0 # BSD 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