From f7144305b67910e9eb4887e3e27c70a990c484ab Mon Sep 17 00:00:00 2001 From: SangBin Cho Date: Fri, 14 Jul 2023 09:49:51 -0700 Subject: [PATCH] Revert "Unpin grpcio for Ray Client (#37368)" This reverts commit 61401dad861bff84e4c0b82f561ff539ac54b4ff. --- python/requirements.txt | 1 + python/setup.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/python/requirements.txt b/python/requirements.txt index 052ea4e4b056..deddaa3df9b4 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -54,6 +54,7 @@ requests pandas tensorboardX<=2.6.0,>=1.9 # >=2.6.1 uses protobuf>=4, and conflicts with other packages. gymnasium==0.26.3 +grpcio<=1.50.0,>=1.42.0 # ray client aiohttp>=3.7 starlette typer diff --git a/python/setup.py b/python/setup.py index a1793cc7d248..9eadffe53b18 100644 --- a/python/setup.py +++ b/python/setup.py @@ -263,7 +263,9 @@ def get_packages(self): "virtualenv >=20.0.24, < 20.21.1", # For pip runtime env. ], "client": [ - "grpcio", + # The Ray client needs a specific range of gRPC to work: + # Tracking issue: https://github.com/grpc/grpc/issues/31885 + "grpcio >= 1.42.0, <= 1.50.0", ], "serve": ["uvicorn", "requests", "starlette", "fastapi", "aiorwlock"], "tune": ["pandas", "tensorboardX>=1.9", "requests", pyarrow_dep],