From 72320f449579199b89bfba2842a3b5f86e6c640b Mon Sep 17 00:00:00 2001 From: pengyuesheng Date: Wed, 22 May 2019 10:04:50 +0800 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 depend on https://review.opendev.org/#/c/657890/ Change-Id: I59bff5d3fc4ae12bb7ad982af68d8409fde9d7a0 --- test-requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 37dded9c..ab698612 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -12,7 +12,8 @@ testscenarios>=0.4 # Apache-2.0/BSD testtools>=2.2.0 # MIT # 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 # Include horizon as test requirement