Update sphinx dependency for python 2.7

Sphinx 2.x requires python >=3.5, so we need to cap the sphinx
version for python 2.7. This fixes our py27 job.

Cap also networkx in the same way.

Change-Id: Ic0485dcdbc6215616794e5bbf40b08328bde3479
This commit is contained in:
Akihiro Motoki 2019-05-29 20:53:33 +09:00 committed by Andreas Jaeger
parent 5b4b07e628
commit d751be34dd
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,8 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
pbr!=2.1.0,>=2.0.0 # Apache-2.0
networkx>=2.2,<2.3;python_version<'3.0' # BSD
networkx>=2.3;python_version>='3.4' # BSD
aodhclient>=0.9.0 # Apache-2.0
gnocchiclient>=3.3.1 # Apache-2.0
python-barbicanclient>=4.5.2 # Apache-2.0

View File

@ -8,5 +8,6 @@ oslotest>=1.10.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
# this is required for the docs
sphinx>=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
oslosphinx>=4.7.0 # Apache-2.0