From e3051ebf673a6bb36e0c380b121c08c1b5fd0f4c Mon Sep 17 00:00:00 2001 From: Yi Cheng <74173148+iycheng@users.noreply.github.com> Date: Tue, 22 Feb 2022 13:59:25 -0800 Subject: [PATCH] [ci] Fix grpcio 1.44 break test_output (#22494) This PR limit grpc to be <= 1.42. This will fix testoutput. --- .buildkite/pipeline.yml | 3 ++- ci/asan_tests/ray-project/requirements.txt | 2 +- python/requirements.txt | 2 +- python/setup.py | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 292794b2e..5bf6e7b12 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -253,7 +253,7 @@ - bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options) python/ray/tests/test_serve_ray_minimal - bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options) - python/ray/dashboard/test_dashboard + python/ray/dashboard/test_dashboard - bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options) python/ray/tests/test_usage_stats @@ -308,6 +308,7 @@ commands: - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT - RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh + - pip install "grpcio >= 1.28.1, <= 1.43.0" - bazel test --config=ci --config=asan $(./scripts/bazel_export_options) --config=asan-buildkite --test_tag_filters=-kubernetes,asan_tests diff --git a/ci/asan_tests/ray-project/requirements.txt b/ci/asan_tests/ray-project/requirements.txt index 3285e26a9..604e24b58 100644 --- a/ci/asan_tests/ray-project/requirements.txt +++ b/ci/asan_tests/ray-project/requirements.txt @@ -8,7 +8,7 @@ dm-tree==0.1.5 feather-format flask frozenlist -grpcio +grpcio >= 1.28.1, <= 1.43.0 gym kubernetes lxml diff --git a/python/requirements.txt b/python/requirements.txt index 017d03c5e..7f772288f 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -13,7 +13,7 @@ cloudpickle filelock frozenlist gpustat >= 1.0.0b1 -grpcio >= 1.28.1 +grpcio >= 1.28.1, <= 1.43.0 jsonschema msgpack >= 1.0.0, < 2.0.0 numpy >= 1.16 diff --git a/python/setup.py b/python/setup.py index bd170fe28..42e1e8aeb 100644 --- a/python/setup.py +++ b/python/setup.py @@ -268,7 +268,7 @@ if setup_spec.type == SetupType.RAY: "click >= 7.0", "dataclasses; python_version < '3.7'", "filelock", - "grpcio >= 1.28.1", + "grpcio >= 1.28.1, <= 1.43.0", "jsonschema", "msgpack >= 1.0.0, < 2.0.0", "numpy >= 1.16; python_version < '3.9'",