Add plugins for protobuf-py#2553
Closed
anuraaga wants to merge 2 commits into
Closed
Conversation
oliversun9
reviewed
Jun 24, 2026
| spdx_license_id: Apache-2.0 | ||
| license_url: https://github.com/bufbuild/protobuf-py/blob/v0.1.0/LICENSE | ||
| output_languages: | ||
| - python |
Contributor
There was a problem hiding this comment.
Suggested change
| - python | |
| - python | |
| registry: | |
| python: | |
| package_type: "runtime" | |
| requires_python: ">=3.10" | |
| deps: | |
| # https://pypi.org/project/protobuf-py/ | |
| - "protobuf-py>=0.1.0" | |
| opts: | |
| # Produce PEP 420 namespace packages so the py, grpc-py, and dependency | |
| # SDKs for a module can share the same top-level package. | |
| - init_files=false |
I think we need - init_files=false?
| name: buf.build/bufbuild/grpc-py | ||
| plugin_version: v0.1.0 | ||
| source_url: https://github.com/bufbuild/protobuf-py | ||
| description: Generates gRPC-Python stubs that use protobuf-py. |
Contributor
There was a problem hiding this comment.
Suggested change
| description: Generates gRPC-Python stubs that use protobuf-py. | |
| description: Generates gRPC-Python stubs that use protobuf-py. | |
| deps: | |
| - plugin: buf.build/bufbuild/py:v0.1.0 |
| spdx_license_id: Apache-2.0 | ||
| license_url: https://github.com/bufbuild/protobuf-py/blob/v0.1.0/LICENSE | ||
| output_languages: | ||
| - python |
Contributor
There was a problem hiding this comment.
Suggested change
| - python | |
| - python | |
| registry: | |
| python: | |
| package_type: "runtime" | |
| requires_python: ">=3.10" | |
| deps: | |
| # https://pypi.org/project/grpcio/ | |
| - "grpcio>=1.68" |
not sure if it should be 1.68 though
oliversun9
added a commit
that referenced
this pull request
Jun 24, 2026
This contains changes from #2553 with `registry` field added to the `buf.pluin.yaml`s and `v0.1.0` changed to `v0.1.1`. --------- Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds protobuf-py's codegen plugins,
protoc-gen-pyandprotoc-gen-grpc-py. The pattern is identical to nipunn1313-mypy except for bumping the base images to the latest./cc @thezachdrake