Skip to content

fix(bazel): upgrade bazel toolchains to support go 1.25.0#1715

Merged
shollyman merged 6 commits intogoogleapis:mainfrom
westarle:fix/bazel-go-version
Mar 19, 2026
Merged

fix(bazel): upgrade bazel toolchains to support go 1.25.0#1715
shollyman merged 6 commits intogoogleapis:mainfrom
westarle:fix/bazel-go-version

Conversation

@westarle
Copy link
Copy Markdown
Contributor

Upgrades Bazel dependencies to fully support the Go 1.25.0 requirement introduced by x/sync in #1702

Updates:

  • io_bazel_rules_go to v0.60.0
  • bazel_gazelle to v0.47.0
  • rules_proto to 7.1.0
  • com_google_protobuf to v31.0
  • Added rules_python 1.9.0, rules_java 9.6.1, bazel_features 1.30.0 for protobuf v31.0 compatibility
  • Updated minimum Bazel version to 6.5.0 via .bazelversion
  • Updated C++ standard to c++17 in .bazelrc
  • Fixed Linux sed syntax in Makefile for update-bazel-repos

Testing Steps Taken:

  1. Ran bazelisk clean --expunge to test a clean build.
  2. Verified Gazelle with make update-bazel-repos to ensure BUILD file generation remains intact.
  3. Compiled and ran full integration tests against the mock Showcase server using make test.
  4. Verified compilation across all 5 test suites under optimized build mode bazelisk test //... -c opt.

Upgrades Bazel dependencies to fully support the Go 1.25.0 requirement introduced by x/sync.

Updates:
- `io_bazel_rules_go` to `v0.60.0`
- `bazel_gazelle` to `v0.47.0`
- `rules_proto` to `7.1.0`
- `com_google_protobuf` to `v31.0`
- Added `rules_python` 1.9.0, `rules_java` 9.6.1, `bazel_features` 1.30.0 for protobuf v31.0 compatibility
- Updated minimum Bazel version to `6.5.0` via `.bazelversion`
- Updated C++ standard to `c++17` in `.bazelrc`
- Fixed Linux sed syntax in Makefile for update-bazel-repos

Testing Steps Taken:
1. Ran `bazelisk clean --expunge` to test a clean build.
2. Verified Gazelle with `make update-bazel-repos` to ensure BUILD file generation remains intact.
3. Compiled and ran full integration tests against the mock Showcase server using `make test`.
4. Verified compilation across all 5 test suites under optimized build mode `bazelisk test //... -c opt`.
@westarle westarle changed the title fix: upgrade bazel toolchains to support go 1.25.0 fix(bazel): upgrade bazel toolchains to support go 1.25.0 Mar 19, 2026
@westarle westarle marked this pull request as ready for review March 19, 2026 21:31
@westarle westarle requested a review from a team as a code owner March 19, 2026 21:31
@shollyman shollyman merged commit 1ecf8a0 into googleapis:main Mar 19, 2026
8 checks passed
westarle added a commit that referenced this pull request Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants