-
DescriptionIs there some way to easily select the version of protoc that is used. The issue is that I need to use protoc that generates python version 4 files But I can't figure out how to do this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I also currently look into the new bzlmod-based version of rules-proto-grpc and the protobuf cross-runtime guarantee topic. Consider trying out the following:
Now is this respected in other toolchains? -> Yes!
Now the versions you can pick from must be pre-registered afaik (aka it fails for example with |
Beta Was this translation helpful? Give feedback.
I also currently look into the new bzlmod-based version of rules-proto-grpc and the protobuf cross-runtime guarantee topic.
Consider trying out the following:
protoc.toolchain
Now is this respected in other toolchains? -> Yes!
version = "v27.1"
-> produces python with header docstrings containing# Protobuf Python Version: 5.27.1