Skip to content

[Fix][Compiler] Plugins fall back to the edition 2023 for older protobuf#41357

Closed
sergiitk wants to merge 1 commit intogrpc:masterfrom
sergiitk:fix/compiler/protobuf-edition-2023
Closed

[Fix][Compiler] Plugins fall back to the edition 2023 for older protobuf#41357
sergiitk wants to merge 1 commit intogrpc:masterfrom
sergiitk:fix/compiler/protobuf-edition-2023

Conversation

@sergiitk
Copy link
Copy Markdown
Member

@sergiitk sergiitk commented Jan 6, 2026

Fixes the issue with gRPC protobuf plugins declaring the support for protobuf::Edition::EDITION_2024, which is higher than the one supported by the protobuf we're using at the moment: EDITION_2023 at protocolbuffers/protobuf@74211c0.

Related:

Fixes the issue with gRPC protobuf plugins declaring the support for
`protobuf::Edition::EDITION_2024`, which is higher than the one
supported by the protobuf we're using at the moment: `EDITION_2023` at
protocolbuffers/protobuf@74211c0.
@sergiitk sergiitk self-assigned this Jan 6, 2026
@sergiitk sergiitk added the release notes: yes Indicates if PR needs to be in release notes label Jan 6, 2026
@sergiitk
Copy link
Copy Markdown
Member Author

sergiitk commented Jan 7, 2026

Confirming grpc python generator from this PR's artifacts works.
Using https://console.cloud.google.com/storage/browser/grpc-testing-kokoro-prod/test_result_public/prod/grpc/core/pull_request/macos/grpc_distribtests_python/40886/20260106-142234/github/grpc/artifacts/

$ python -m grpc_tools.protoc -I src/python/grpcio_health_checking/grpc_health --python_out=. --pyi_out=. --grpc_python_out=. src/python/grpcio_health_checking/grpc_health/v1/health.proto
$ tree -h v1
[ 160]  v1/
├── [5.9K]  health_pb2_grpc.py
├── [2.4K]  health_pb2.py
└── [1.3K]  health_pb2.pyi

1 directory, 3 files
$ pip list
Package           Version
----------------- -----------
grpcio            1.79.0.dev0
grpcio-tools      1.79.0.dev0
pip               25.3
protobuf          6.33.2
setuptools        80.9.0
typing_extensions 4.15.0

@sergiitk sergiitk marked this pull request as ready for review January 7, 2026 00:43
@sergiitk sergiitk requested a review from markdroth January 7, 2026 00:46
@copybara-service copybara-service Bot closed this in 9b77c0d Jan 7, 2026
@sergiitk sergiitk deleted the fix/compiler/protobuf-edition-2023 branch January 7, 2026 21:12
sergiitk added a commit that referenced this pull request Jan 8, 2026
…023 for older protobuf (#41358)

Backport of #41357 to v1.78.x.
---
Fixes the issue with gRPC protobuf plugins declaring the support for
`protobuf::Edition::EDITION_2024`, which is higher than the one
supported by the protobuf we're using at the moment: `EDITION_2023` at
protocolbuffers/protobuf@74211c0.

Related:
- Effectively undoes #40957
asheshvidyut added a commit to asheshvidyut/grpc that referenced this pull request Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants