From 25dc067cb700d0d04b4943dfd7554dd50f202c11 Mon Sep 17 00:00:00 2001 From: gujin Date: Mon, 3 Jun 2019 11:01:04 +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. This change fixes `requirements-check` Zuul job. Change-Id: I9c3dff8c0a87d3bad327f83770f8a6f8484abac6 Closes-Bug: #1831410 --- test-requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index c2e49e7..e4a7da3 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,7 +8,8 @@ stestr>=2.0.0 # Apache-2.0 # These are needed for docs generation openstackdocstheme>=1.18.1 # 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 # for testing optional parts oslo.config>=5.2.0 # Apache-2.0