Constraint networkx to <2.3 for Python 2

NetworkX released 2.3, dropping support for Python 2.

 https://github.com/networkx/networkx/blob/master/doc/news.rst

 Also see I0a9700926c9a0db93e782c853c33f1aaee3d4876

Change-Id: I53d03b5ed982baa053d4ce182d7b3abda1b1ec9e
This commit is contained in:
Hervé Beraud 2019-05-20 14:12:07 +02:00 committed by Eyal
parent c8ce0bcf2e
commit df8023553e
3 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,7 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
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.24.0 # Apache-2.0
reno>=2.5.0 # Apache-2.0

View File

@ -52,4 +52,5 @@ traceback2==1.4.0
unittest2==1.1.0
wrapt==1.7.0
pydot==1.4.1
networkx==2.0
networkx==2.3;python_version>='3.4'
networkx==2.0;python_version<'3.0'

View File

@ -9,5 +9,6 @@ osc-lib>=1.8.0 # Apache-2.0
oslo.utils>=3.33.0 # Apache-2.0
keystoneauth1>=3.4.0 # Apache-2.0
iso8601>=0.1.11 # MIT
networkx>=2.0 # BSD
networkx<2.3,>=2.0;python_version<'3.0' # BSD
networkx>=2.3;python_version>='3.4' # BSD
pydot>=1.4.1 # BSD