Skip to content

Commit

Permalink
Bump min Bazel version to 6.3 (#2150)
Browse files Browse the repository at this point in the history
A future Bazel version will contain a breaking API change.
#2072 is preparing the
`rules_rust` codebase for it, however it relies on Bazel API changes
present in `6.3.0` and not `6.0.0`. As per discussion there
#2072 (comment),
looks like maintainers are fine with bumping the minimum Bazel version
to `6.3.0`.
  • Loading branch information
scentini authored Sep 4, 2023
1 parent a2929be commit 719461a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ tasks:
ubuntu1804:
name: "Min Bazel Version"
# If updating the minimum bazel version, please also update /docs/index.md
bazel: "6.0.0"
bazel: "6.3.0"
platform: ubuntu1804
# Disable use of `instrumented_files_info.metadata_files` until Bazel 6.3 is the min version
shell_commands:
Expand All @@ -232,7 +232,7 @@ tasks:
post_shell_commands: *coverage_validation_post_shell_commands
ubuntu1804_with_aspects:
name: "Min Bazel Version With Aspects"
bazel: "6.0.0"
bazel: "6.3.0"
platform: ubuntu1804
# Disable use of `instrumented_files_info.metadata_files` until Bazel 6.3 is the min version
shell_commands:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Failure to do so will result in rules attempting to match a `stable` toolchain w

## Supported bazel versions

The oldest version of Bazel the `main` branch is tested against is `6.0.0`. Previous versions may still be functional in certain environments, but this is the minimum version we strive to fully support.
The oldest version of Bazel the `main` branch is tested against is `6.3.0`. Previous versions may still be functional in certain environments, but this is the minimum version we strive to fully support.

We test these rules against the latest rolling releases of Bazel, and aim for compatibility with them, but prioritise stable releases over rolling releases where necessary.

Expand Down

0 comments on commit 719461a

Please sign in to comment.