Allow grpcio >= 1.48 (#26765)

The previously observed Python grpc warning / logspam seems to have been fixed for grpcio >= 1.48. And users would like to upgrade beyond grpcio 1.43 for better M1 support. However, grpcio 1.48 has not been released yet, so there is still a risk this change needs to be reverted if any problem is discovered later with Ray nightly + grpcio 1.48.
This commit is contained in:
mwtian 2022-07-21 10:03:41 -07:00 committed by GitHub
parent 728e2b36d6
commit 6acd0a4c9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 4 deletions

View file

@ -376,7 +376,6 @@
commands:
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
- RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
- pip install "grpcio >= 1.28.1, <= 1.43.0"
- bazel test --config=ci --config=asan $(./ci/run/bazel_export_options)
--config=asan-buildkite
--test_tag_filters=-kubernetes,asan_tests

View file

@ -439,7 +439,7 @@ def test_runtime_env_log_msg(
good_env = runtime_env_class(pip=["requests"])
ray.get(f.options(runtime_env=good_env).remote())
sources = get_log_sources(p, 5)
sources = get_log_sources(p, timeout=10)
if local_env_var_enabled:
assert "runtime_env" in sources
else:

View file

@ -12,7 +12,7 @@ cloudpickle
filelock
frozenlist
gpustat == 1.0.0b1
grpcio >= 1.28.1, <= 1.43.0
grpcio >= 1.28.1, != 1.44.*, != 1.45.*, != 1.46.*, != 1.47.*
jsonschema
msgpack >= 1.0.0, < 2.0.0
numpy >= 1.16

View file

@ -285,7 +285,7 @@ if setup_spec.type == SetupType.RAY:
"click >= 7.0, <= 8.0.4",
"dataclasses; python_version < '3.7'",
"filelock",
"grpcio >= 1.28.1, <= 1.43.0",
"grpcio >= 1.28.1, != 1.44.*, != 1.45.*, != 1.46.*, != 1.47.*",
"jsonschema",
"msgpack >= 1.0.0, < 2.0.0",
"numpy >= 1.16; python_version < '3.9'",