Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-add compiler protos to grpcio-tools #31062

Merged
merged 7 commits into from
Sep 21, 2022

Conversation

gnossen
Copy link
Contributor

@gnossen gnossen commented Sep 19, 2022

Fixes #31020

We previously relied on @com_google_protobuf//:well_known_protos to provide the list of protos that should be bundled into grpcio-tools. However, the protobuf repo recently split this target into two: @com_google_protobuf//:well_known_type_protos and @com_google_protobuf//:built_in_runtime_protos.

When #30377 consumed the protobuf repo's breaking change, it pulled in :well_known_type_protos but not :built_in_runtime_protos. This PR corrects that and adds a test for all protos that should be bundled with grpcio-tools.

@gnossen gnossen marked this pull request as ready for review September 20, 2022 21:34
Copy link
Member

@sergiitk sergiitk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gnossen gnossen merged commit 2d94537 into grpc:master Sep 21, 2022
@gnossen gnossen deleted the fix_grpcio_tools_includes branch September 21, 2022 00:15
gnossen added a commit to gnossen/grpc that referenced this pull request Sep 21, 2022
* Re-add compiler protos to grpcio-tools

* Attempt to break

* Actually fail if protobufs don't compile. Who wrote this thing?

* Add an actual test

* yapf

* Whoops. Thought I'd reverted you

* Please the formatter gods
gnossen added a commit that referenced this pull request Sep 21, 2022
* Re-add compiler protos to grpcio-tools

* Attempt to break

* Actually fail if protobufs don't compile. Who wrote this thing?

* Add an actual test

* yapf

* Whoops. Thought I'd reverted you

* Please the formatter gods
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bloat/none imported Specifies if the PR has been imported to the internal repository lang/Python per-call-memory/neutral per-channel-memory/neutral release notes: no Indicates if PR should not be in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

descriptor.proto is missing from python grpcio 1.49.0
3 participants