Pin protobuf to < 4 (#25257)

Otherwise pip install ray will install latest protobuf which is incompatible

Co-authored-by: Yi Cheng <74173148+iycheng@users.noreply.github.com>
This commit is contained in:
Kai Fricke 2022-05-27 19:19:04 +02:00 committed by Kai Fricke
parent 5c9b1003d5
commit 214178bec7
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ msgpack >= 1.0.0, < 2.0.0
numpy >= 1.16
opencensus
prometheus_client >= 0.7.1, < 0.14.0
protobuf >= 3.8.0
protobuf >= 3.8.0, < 4.0.0
py-spy >= 0.2.0
pydantic >= 1.8
pyyaml

View file

@ -267,7 +267,7 @@ if setup_spec.type == SetupType.RAY:
"msgpack >= 1.0.0, < 2.0.0",
"numpy >= 1.16; python_version < '3.9'",
"numpy >= 1.19.3; python_version >= '3.9'",
"protobuf >= 3.15.3",
"protobuf >= 3.15.3, < 4.0.0",
"pyyaml",
"redis >= 3.5.0",
]