Skip to content

Commit

Permalink
chore: Update Bazel support: drop 5, minimum 6.2, current 7.0
Browse files Browse the repository at this point in the history
With the release of Bazel 7, support for 5 is no longer necessary.

Work towards bazelbuild#1069
  • Loading branch information
rickeylev committed Dec 14, 2023
1 parent bbec4c2 commit 5d02131
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.2.0
7.0.0
4 changes: 2 additions & 2 deletions version.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5d02131

Please sign in to comment.