bazelbuild / rules_proto

Protocol buffer rules for Bazel
Apache License 2.0
167 stars 69 forks source link

Bazel uses protoc 3.19.6 for proto_library #197

Closed mkruskal-google closed 11 months ago

mkruskal-google commented 11 months ago

I'm trying to enable Bazel 7 in our CI for https://github.com/protocolbuffers/protobuf, and it seems like something has changed in Bazel so that proto_library uses 3.19.6 even in our repo (see failure). I suspect this has to do with the proto_lang_toolchain changes, where our old overrides to use the workspace protoc don't work anymore. It looks like this has been replaced with proto_toolchain, but AFAICT this rule hasn't actually been released yet by rules_proto.

What can we do here?

comius commented 11 months ago

I believe this was resolved and was due to CI setup.

andrewkatson commented 10 months ago

I am still getting this issue on https://github.com/protocolbuffers/protobuf/issues/15711

@comius how did you fix it?