Skip to content

fix(bazel): update minimum Bazel version constraint#26331

Closed
alexeagle wants to merge 3 commits intomainfrom
alexeagle-patch-4
Closed

fix(bazel): update minimum Bazel version constraint#26331
alexeagle wants to merge 3 commits intomainfrom
alexeagle-patch-4

Conversation

@alexeagle
Copy link
Copy Markdown
Collaborator

Per
https://protobuf.dev/support/migration/#dropped-bazel-7-support

Bazel 7 support was dropped.

attempting to use protobuf v34.0 with Bazel 7 gives

Traceback (most recent call last):
        File "/private/var/tmp/_bazel_alexeagle/deecfabe94c39fb88a37966b779aac74/external/protobuf~/bazel/private/proto_library_rule.bzl", line 89, column 27, in _proto_library_impl
                proto_info = ProtoInfo(
        File "/virtual_builtins_bzl/common/proto/proto_info.bzl", line 144, column 24, in ProtoInfo
        File "/virtual_builtins_bzl/common/proto/proto_info.bzl", line 47, column 5, in _create_prot

Note, this should be cherry-picked back to the v34 branch @mkruskal-google

Per
https://protobuf.dev/support/migration/#dropped-bazel-7-support

Bazel 7 support was dropped.

attempting to use protobuf v34.0 with Bazel 7 gives

```
Traceback (most recent call last):
        File "/private/var/tmp/_bazel_alexeagle/deecfabe94c39fb88a37966b779aac74/external/protobuf~/bazel/private/proto_library_rule.bzl", line 89, column 27, in _proto_library_impl
                proto_info = ProtoInfo(
        File "/virtual_builtins_bzl/common/proto/proto_info.bzl", line 144, column 24, in ProtoInfo
        File "/virtual_builtins_bzl/common/proto/proto_info.bzl", line 47, column 5, in _create_prot
```

Note, this should be cherry-picked back to the v34 branch
@mkruskal-google
@keith
Copy link
Copy Markdown
Contributor

keith commented Apr 7, 2026

can be closed, was merged in 1a8828b

@karenwuz karenwuz closed this Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🅰️ safe for tests Mark a commit as safe to run presubmits over

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants