Limiting protobuf to version < 4.0.0 (#11748)

* Upgrade Protobuf to version 3.18.2 in python's requirements

* PaddlePaddle tests requires protobuf < 4.0.0

* ONNX tests use protobuf 3.18

* Python bindings protobuf <4.0.0
This commit is contained in:
Artur Kulikowski 2022-05-26 21:32:37 +02:00 committed by GitHub
parent 1bcdf48f42
commit 873e3dad2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View File

@ -1 +1,2 @@
numpy>=1.16.6,<1.20
numpy>=1.16.6,<1.20
protobuf>=3.18,<4.0.0

View File

@ -32,4 +32,5 @@ radon
retrying
tox
types-pkg_resources
wheel>=0.36.2
wheel>=0.36.2
protobuf>=3.18,<4.0.0

View File

@ -3,3 +3,4 @@ paddlepaddle==2.1.0
gast==0.3.3
numpy~=1.19.2
six~=1.15.0
protobuf<4.0.0

View File

@ -1,4 +1,4 @@
# ONNX - generate test models
docopt~=0.6.2
onnx~=1.11.0
protobuf>=3.12
protobuf~=3.18