Skip to content

Commit 57df02a

Browse files
authored
Merge pull request #144 from fernandezcuesta/fix/protobuf-gencode-misalignment
chore: update gRPC stubs
2 parents b1e9695 + 47180d9 commit 57df02a

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

crossplane/function/proto/v1/run_function_pb2.py

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crossplane/function/proto/v1/run_function_pb2_grpc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from crossplane.function.proto.v1 import run_function_pb2 as crossplane_dot_function_dot_proto_dot_v1_dot_run__function__pb2
77

8-
GRPC_GENERATED_VERSION = '1.67.0'
8+
GRPC_GENERATED_VERSION = '1.71.0'
99
GRPC_VERSION = grpc.__version__
1010
_version_not_supported = False
1111

crossplane/function/proto/v1beta1/run_function_pb2.py

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crossplane/function/proto/v1beta1/run_function_pb2_grpc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from crossplane.function.proto.v1beta1 import run_function_pb2 as crossplane_dot_function_dot_proto_dot_v1beta1_dot_run__function__pb2
77

8-
GRPC_GENERATED_VERSION = '1.67.0'
8+
GRPC_GENERATED_VERSION = '1.71.0'
99
GRPC_VERSION = grpc.__version__
1010
_version_not_supported = False
1111

pyproject.toml

+5-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ classifiers = [
2020
dependencies = [
2121
"grpcio==1.71.0",
2222
"grpcio-reflection==1.*",
23-
"protobuf==6.30.2",
23+
"protobuf==5.29.3", # Must be compatible with grpcio-tools.
2424
"pydantic==2.*",
2525
"structlog==25.*",
2626
]
@@ -45,7 +45,10 @@ dependencies = ["ipython==9.1.0"]
4545
type = "virtual"
4646
detached = true
4747
path = ".venv-generate"
48-
dependencies = ["grpcio-tools==1.71.0"]
48+
dependencies = [
49+
"grpcio-tools==1.71.0",
50+
"protobuf==5.29.3",
51+
]
4952

5053
[tool.hatch.envs.generate.scripts]
5154
protoc = "python -m grpc_tools.protoc --proto_path=. --python_out=. --pyi_out=. --grpc_python_out=. crossplane/function/proto/v1beta1/run_function.proto crossplane/function/proto/v1/run_function.proto"

0 commit comments

Comments
 (0)