Replies: 1 comment
-
|
Yes, older protobuf version won't be compatible with recent Bazel versions due to some breaking changes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to depend on a specific version of protobuf:
but Bazel is telling me that it's using a fixed version instead (v29):
My investigations have led me to believe this is because the built-in Bazel module
bazel_toolsdepends on protobuf v29, as seen in the built-in MODULE.tools: https://github.com/bazelbuild/bazel/blob/release-8.4.2/src/MODULE.toolsHave I got the wrong idea here? Or am I forced to use the same version of protobuf as Bazel uses? Things I've tried:
single_version_override: it causes an internal Bazel error (it seems the Bazel source code hard-depends on something in v29 - I think it's to do with this commit: Move ProtoInfo and ProtoLangToolchainInfo from Bazel · protocolbuffers/protobuf@426ca8a)multiple_version_override: has no effectAny help appreciated
Beta Was this translation helpful? Give feedback.
All reactions