From 806103f188cd9a56f1b2b81d86a8d2413cffff5d Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Tue, 28 May 2019 11:53:01 -0700 Subject: [PATCH] Fix sphinx requirement for python2 Ensure the sphinx requirement passes the requirements-check job. Change-Id: I4f76e167a9d29e36dd66ecb82b92b63a3cd07d35 --- test-requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 6e99fe7..327b0a4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,7 +4,8 @@ hacking>=1.1.0,<1.2.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 openstackdocstheme>=1.18.1 # Apache-2.0 # releasenotes