From ce99e4565b68e17a2e0578582d2b7ef7e9e1b492 Mon Sep 17 00:00:00 2001 From: Aaron Pham <29749331+aarnphm@users.noreply.github.com> Date: Tue, 27 Sep 2022 12:40:46 -0700 Subject: [PATCH] dependencies: ignore broken pypi combination (#3043) --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8341ef8371f..c0f5ff91773 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,10 +103,12 @@ io-pandas = ["pandas", "pyarrow"] grpc = [ # Restrict maximum version due to breaking protobuf 4.21.0 changes # (see https://github.com/protocolbuffers/protobuf/issues/10051) + # 3.19.5 is currently breaking on a lot of system. "protobuf>=3.5.0, <3.20, !=3.19.5", # Lowest version that support 3.10. We need to set an upper bound # since grpcio >=1.49.0 uses protbuf >=3.20.0, which breaks compatibility. - "grpcio>=1.41.0, <1.49", + # We can't use 1.48.2 since it depends on 3.19.5 + "grpcio>=1.41.0, <1.49, !=1.48.2", "grpcio-health-checking", "grpcio-reflection", "opentelemetry-instrumentation-grpc==0.33b0",