Don't install networkx with version 2.8.1 (#11718)

With new networkx release (2.8.1) some of MO tests started to fail
with following error:
```
def __setstate__(self, state):
    self._graph = G = state["_graph"]
    self._adjdict = G._pred if hasattr(G, "pred") else G._adj
    AttributeError: 'Graph' object has no attribute '_adj'
```

Seems like regression that was introduced in
f50fc70b8c
This commit is contained in:
Mateusz Tabaka
2022-05-24 14:07:36 +02:00
committed by GitHub
parent 22ee17fda6
commit 3a202c2775
8 changed files with 8 additions and 8 deletions

View File

@@ -2,7 +2,7 @@ tensorflow>=1.15.5,<2.6
mxnet~=1.2.0; sys_platform == 'win32'
mxnet~=1.7.0.post2; sys_platform != 'win32'
networkx~=2.5; python_version <= "3.6"
networkx~=2.6; python_version > "3.6"
networkx<2.8.1; python_version > "3.6"
numpy>=1.16.6,<1.20
protobuf>=3.15.6
onnx>=1.8.1