Skip to content

Commit c88b997

Browse files
Pin grpcio minimum in latest grpc/python version (#2108)
gRPC's python runtime (`grpcio`) [inserts a runtime check](https://github.com/grpc/grpc/blob/7d256a4a7796e3447854938216a23727913030f1/src/compiler/python_generator.cc#L738-L781) to ensure that the runtime is the same version or newer than the generated plugin code. (This is unfortunately undocumented other than in code, hence why we haven't had this minimum included before.)
1 parent 3e54979 commit c88b997

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/grpc/python/v1.60.0/buf.plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ registry:
1616
requires_python: ">=3.7"
1717
deps:
1818
# https://pypi.org/project/grpcio/
19-
- "grpcio"
19+
- "grpcio>=1.60.0"

plugins/grpc/python/v1.76.0/buf.plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ registry:
1616
requires_python: ">=3.9"
1717
deps:
1818
# https://pypi.org/project/grpcio/
19-
- "grpcio"
19+
- "grpcio>=1.76.0"

0 commit comments

Comments
 (0)