From 88ac84d2a0413f76b4d6a8faea6a7a5ff3f3af35 Mon Sep 17 00:00:00 2001 From: "Patrick J. McNerthney" Date: Mon, 17 Nov 2025 15:11:32 -1000 Subject: [PATCH] Regenerate protobuf using latest grpcio and protobuf pakcages. Signed-off-by: Patrick J. McNerthney --- crossplane/function/proto/v1/run_function_pb2.py | 4 ++-- crossplane/function/proto/v1/run_function_pb2.pyi | 2 ++ crossplane/function/proto/v1/run_function_pb2_grpc.py | 4 ++-- crossplane/function/proto/v1beta1/run_function_pb2.py | 4 ++-- crossplane/function/proto/v1beta1/run_function_pb2.pyi | 2 ++ crossplane/function/proto/v1beta1/run_function_pb2_grpc.py | 4 ++-- pyproject.toml | 4 ++-- 7 files changed, 14 insertions(+), 10 deletions(-) diff --git a/crossplane/function/proto/v1/run_function_pb2.py b/crossplane/function/proto/v1/run_function_pb2.py index 17eb5d0..9c51896 100644 --- a/crossplane/function/proto/v1/run_function_pb2.py +++ b/crossplane/function/proto/v1/run_function_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: crossplane/function/proto/v1/run_function.proto -# Protobuf Python Version: 6.31.0 +# Protobuf Python Version: 6.31.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 6, 31, - 0, + 1, '', 'crossplane/function/proto/v1/run_function.proto' ) diff --git a/crossplane/function/proto/v1/run_function_pb2.pyi b/crossplane/function/proto/v1/run_function_pb2.pyi index ed96678..534fe30 100644 --- a/crossplane/function/proto/v1/run_function_pb2.pyi +++ b/crossplane/function/proto/v1/run_function_pb2.pyi @@ -1,3 +1,5 @@ +import datetime + from google.protobuf import duration_pb2 as _duration_pb2 from google.protobuf import struct_pb2 as _struct_pb2 from google.protobuf.internal import containers as _containers diff --git a/crossplane/function/proto/v1/run_function_pb2_grpc.py b/crossplane/function/proto/v1/run_function_pb2_grpc.py index ecc0ec8..d5395f6 100644 --- a/crossplane/function/proto/v1/run_function_pb2_grpc.py +++ b/crossplane/function/proto/v1/run_function_pb2_grpc.py @@ -5,7 +5,7 @@ from crossplane.function.proto.v1 import run_function_pb2 as crossplane_dot_function_dot_proto_dot_v1_dot_run__function__pb2 -GRPC_GENERATED_VERSION = '1.73.1' +GRPC_GENERATED_VERSION = '1.76.0' GRPC_VERSION = grpc.__version__ _version_not_supported = False @@ -18,7 +18,7 @@ if _version_not_supported: raise RuntimeError( f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in crossplane/function/proto/v1/run_function_pb2_grpc.py depends on' + + ' but the generated code in crossplane/function/proto/v1/run_function_pb2_grpc.py depends on' + f' grpcio>={GRPC_GENERATED_VERSION}.' + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' diff --git a/crossplane/function/proto/v1beta1/run_function_pb2.py b/crossplane/function/proto/v1beta1/run_function_pb2.py index 4a6f64b..9907f35 100644 --- a/crossplane/function/proto/v1beta1/run_function_pb2.py +++ b/crossplane/function/proto/v1beta1/run_function_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: crossplane/function/proto/v1beta1/run_function.proto -# Protobuf Python Version: 6.31.0 +# Protobuf Python Version: 6.31.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 6, 31, - 0, + 1, '', 'crossplane/function/proto/v1beta1/run_function.proto' ) diff --git a/crossplane/function/proto/v1beta1/run_function_pb2.pyi b/crossplane/function/proto/v1beta1/run_function_pb2.pyi index ed96678..534fe30 100644 --- a/crossplane/function/proto/v1beta1/run_function_pb2.pyi +++ b/crossplane/function/proto/v1beta1/run_function_pb2.pyi @@ -1,3 +1,5 @@ +import datetime + from google.protobuf import duration_pb2 as _duration_pb2 from google.protobuf import struct_pb2 as _struct_pb2 from google.protobuf.internal import containers as _containers diff --git a/crossplane/function/proto/v1beta1/run_function_pb2_grpc.py b/crossplane/function/proto/v1beta1/run_function_pb2_grpc.py index 281cd23..d1acbaa 100644 --- a/crossplane/function/proto/v1beta1/run_function_pb2_grpc.py +++ b/crossplane/function/proto/v1beta1/run_function_pb2_grpc.py @@ -5,7 +5,7 @@ from crossplane.function.proto.v1beta1 import run_function_pb2 as crossplane_dot_function_dot_proto_dot_v1beta1_dot_run__function__pb2 -GRPC_GENERATED_VERSION = '1.73.1' +GRPC_GENERATED_VERSION = '1.76.0' GRPC_VERSION = grpc.__version__ _version_not_supported = False @@ -18,7 +18,7 @@ if _version_not_supported: raise RuntimeError( f'The grpc package installed is at version {GRPC_VERSION},' - + f' but the generated code in crossplane/function/proto/v1beta1/run_function_pb2_grpc.py depends on' + + ' but the generated code in crossplane/function/proto/v1beta1/run_function_pb2_grpc.py depends on' + f' grpcio>={GRPC_GENERATED_VERSION}.' + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' diff --git a/pyproject.toml b/pyproject.toml index ae215c1..35e22c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,8 +46,8 @@ type = "virtual" detached = true path = ".venv-generate" dependencies = [ - "grpcio-tools==1.74.0", - "protobuf==6.31.1", + "grpcio-tools==1.76.0", + "protobuf==6.33.1", ] [tool.hatch.envs.generate.scripts]