Skip to content

Conversation

@juergbi
Copy link
Contributor

@juergbi juergbi commented Aug 15, 2025

All generated code since 3.20.0 will be supported until at least 8.x.y.

https://protobuf.dev/support/cross-version-runtime-guarantee/
protocolbuffers/protobuf@1af7fd4

@abderrahim
Copy link
Contributor

I would revert #2017 wholesale, but given this new info it would be nice to have your changes on top of that.

We need to make sure that the right version of `grpcio-tools` is used to
regenerate protobuf and grpc code to not depend on too recent versions
of protobuf or grpc. Define a tox environment to make this more
convenient and less error-prone.
@juergbi
Copy link
Contributor Author

juergbi commented Aug 16, 2025

I've reverted the remaining part of #2017. And I've added a tox environment build-grpc that regenerates the code with the desired version of grpcio-tools with a small documentation update.

@juergbi juergbi merged commit ce4ba2f into master Aug 17, 2025
32 of 34 checks passed
@juergbi juergbi deleted the jbilleter/protobuf branch August 17, 2025 07:34
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