From 3b6357dd2723b0eb63ec89eb748cc8e82d2e7e51 Mon Sep 17 00:00:00 2001 From: pengyuesheng Date: Thu, 10 Oct 2019 14:56:10 +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: I4a4c07ffaacb65e9ee919fb7a0d25de3c0840e12 --- doc/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index c6b3b63f..0cc09869 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,4 +1,5 @@ openstackdocstheme>=1.20.0 # Apache-2.0 reno>=1.8.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,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD sphinx-argparse>=0.2.2 # MIT