summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjacky06 <zhang.min@99cloud.net>2019-06-03 11:19:54 +0800
committerjacky06 <zhang.min@99cloud.net>2019-06-03 11:19:54 +0800
commitd63f76a9b25518f21ca6756fa9e3b85f2c9ac359 (patch)
treec32d014f35c2b8c23e50406de8b27e8f567e1509
parent64fa55a9195e0535e7dae5519773d8d98e09f0f0 (diff)
downloadoslo-vmware-d63f76a9b25518f21ca6756fa9e3b85f2c9ac359.tar.gz
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
-rw-r--r--test-requirements.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 044e616..091b83b 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -17,7 +17,8 @@ coverage!=4.4,>=4.0 # Apache-2.0
# this is required for the docs build jobs
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
reno>=2.5.0 # Apache-2.0
bandit>=1.1.0 # Apache-2.0