diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 84df9b7005..d9dd618908 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -21,8 +21,8 @@ buildifier: .minimum_supported_version: &minimum_supported_version # For testing minimum supported version. # NOTE: Keep in sync with //:version.bzl - bazel: 5.4.0 - skip_in_bazel_downstream_pipeline: "Bazel 5 required" + bazel: 6.2.0 + skip_in_bazel_downstream_pipeline: "Bazel 6 required" .minimum_supported_bzlmod_version: &minimum_supported_bzlmod_version bazel: 6.2.0 # test minimum supported version of bazel for bzlmod tests .reusable_config: &reusable_config @@ -64,10 +64,7 @@ buildifier: - //tests:version_3_9_test - //tests:version_default_test .pystar_base: &pystar_base - # TODO: Change to "7.x" once Bazel 7 is available - # https://github.com/bazelbuild/bazel/commit/f3aafea59ae021c6a12086cb2cd34c5fa782faf1 - # is available in rolling. - bazel: "last_rc" + bazel: "7.x" environment: RULES_PYTHON_ENABLE_PYSTAR: "1" test_flags: diff --git a/.bazelversion b/.bazelversion index 6abaeb2f90..66ce77b7ea 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.2.0 +7.0.0 diff --git a/version.bzl b/version.bzl index bf6f822d98..bcc2b20eb3 100644 --- a/version.bzl +++ b/version.bzl @@ -17,11 +17,11 @@ # against. # This version should be updated together with the version of Bazel # in .bazelversion. -BAZEL_VERSION = "6.2.0" +BAZEL_VERSION = "7.0.0" # NOTE: Keep in sync with .bazelci/presubmit.yml # This is the minimum supported bazel version, that we have some tests for. -MINIMUM_BAZEL_VERSION = "5.4.0" +MINIMUM_BAZEL_VERSION = "6.2.0" # Versions of Bazel which users should be able to use. # Ensures we don't break backwards-compatibility,