[CI] Bump Bazel version to 4.2.2 (#24242)

This commit is contained in:
shrekris-anyscale 2022-05-26 17:09:40 -07:00 committed by GitHub
parent f623c607f2
commit 3234fd3db4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -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")

View file

@ -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"