From 3234fd3db4b12b32b9b58239ae7dd1f3bf08239e Mon Sep 17 00:00:00 2001 From: shrekris-anyscale <92341594+shrekris-anyscale@users.noreply.github.com> Date: Thu, 26 May 2022 17:09:40 -0700 Subject: [PATCH] [CI] Bump Bazel version to 4.2.2 (#24242) --- WORKSPACE | 3 +++ python/setup.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/WORKSPACE b/WORKSPACE index 1d6cb1ec3..33b49884f 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -17,6 +17,9 @@ grpc_extra_deps() load("@bazel_skylib//lib:versions.bzl", "versions") +# TODO (shrekris-anyscale): Update the min version to 4.2.2 once Windows uses +# it in CI. + # When the bazel version is updated, make sure to update it # in setup.py as well. versions.check(minimum_bazel_version = "4.2.1") diff --git a/python/setup.py b/python/setup.py index b8d42eb94..65b1cd629 100644 --- a/python/setup.py +++ b/python/setup.py @@ -24,7 +24,8 @@ logger = logging.getLogger(__name__) SUPPORTED_PYTHONS = [(3, 6), (3, 7), (3, 8), (3, 9), (3, 10)] # When the bazel version is updated, make sure to update it # in WORKSPACE file as well. -SUPPORTED_BAZEL = (4, 2, 1) + +SUPPORTED_BAZEL = (4, 2, 2) ROOT_DIR = os.path.dirname(__file__) BUILD_JAVA = os.getenv("RAY_INSTALL_JAVA") == "1"