Skip to content

Commit 180594a

Browse files
authored
Merge pull request #185 from iciclespider/regen-protobuf
Regenerate protobuf using latest grpcio and protobuf pakcages.
2 parents fe52699 + 88ac84d commit 180594a

File tree

7 files changed

+14
-10
lines changed

7 files changed

+14
-10
lines changed

crossplane/function/proto/v1/run_function_pb2.py

Lines changed: 2 additions & 2 deletions
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.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import datetime
2+
13
from google.protobuf import duration_pb2 as _duration_pb2
24
from google.protobuf import struct_pb2 as _struct_pb2
35
from google.protobuf.internal import containers as _containers

crossplane/function/proto/v1/run_function_pb2_grpc.py

Lines changed: 2 additions & 2 deletions
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.73.1'
8+
GRPC_GENERATED_VERSION = '1.76.0'
99
GRPC_VERSION = grpc.__version__
1010
_version_not_supported = False
1111

@@ -18,7 +18,7 @@
1818
if _version_not_supported:
1919
raise RuntimeError(
2020
f'The grpc package installed is at version {GRPC_VERSION},'
21-
+ f' but the generated code in crossplane/function/proto/v1/run_function_pb2_grpc.py depends on'
21+
+ ' but the generated code in crossplane/function/proto/v1/run_function_pb2_grpc.py depends on'
2222
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
2323
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
2424
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'

crossplane/function/proto/v1beta1/run_function_pb2.py

Lines changed: 2 additions & 2 deletions
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.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import datetime
2+
13
from google.protobuf import duration_pb2 as _duration_pb2
24
from google.protobuf import struct_pb2 as _struct_pb2
35
from google.protobuf.internal import containers as _containers

crossplane/function/proto/v1beta1/run_function_pb2_grpc.py

Lines changed: 2 additions & 2 deletions
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.73.1'
8+
GRPC_GENERATED_VERSION = '1.76.0'
99
GRPC_VERSION = grpc.__version__
1010
_version_not_supported = False
1111

@@ -18,7 +18,7 @@
1818
if _version_not_supported:
1919
raise RuntimeError(
2020
f'The grpc package installed is at version {GRPC_VERSION},'
21-
+ f' but the generated code in crossplane/function/proto/v1beta1/run_function_pb2_grpc.py depends on'
21+
+ ' but the generated code in crossplane/function/proto/v1beta1/run_function_pb2_grpc.py depends on'
2222
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
2323
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
2424
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ type = "virtual"
4646
detached = true
4747
path = ".venv-generate"
4848
dependencies = [
49-
"grpcio-tools==1.74.0",
50-
"protobuf==6.31.1",
49+
"grpcio-tools==1.76.0",
50+
"protobuf==6.33.1",
5151
]
5252

5353
[tool.hatch.envs.generate.scripts]

0 commit comments

Comments
 (0)