From ce00c5ab1c19ee934dfc06e354ff16e99553f9f4 Mon Sep 17 00:00:00 2001 From: manchandavishal Date: Tue, 14 May 2019 00:05:52 +0530 Subject: [PATCH] Update sphinx dependency Sphinx 2.0 no longer works on python 2.7, so we need to start capping it there as well. Change-Id: I15172984b548bc2ad9ed6ab015da525ba6a49dd5 --- doc/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 71e8cb920e..d01b7f9699 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -7,7 +7,8 @@ # be installed in a specific order. 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 # The below is rewquired to build testing module reference mock>=2.0.0 # BSD