Skip to content

Commit e1daf4b

Browse files
chore: Revert grpcio version to 1.75.0. Regenerate proto files with this version
Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>
1 parent 62b882e commit e1daf4b

9 files changed

Lines changed: 109 additions & 128 deletions

File tree

packages/pynumaflow/pynumaflow/proto/accumulator/accumulator_pb2_grpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77
from pynumaflow.proto.accumulator import accumulator_pb2 as pynumaflow_dot_proto_dot_accumulator_dot_accumulator__pb2
88

9-
GRPC_GENERATED_VERSION = '1.78.0'
9+
GRPC_GENERATED_VERSION = '1.75.0'
1010
GRPC_VERSION = grpc.__version__
1111
_version_not_supported = False
1212

@@ -19,7 +19,7 @@
1919
if _version_not_supported:
2020
raise RuntimeError(
2121
f'The grpc package installed is at version {GRPC_VERSION},'
22-
+ ' but the generated code in pynumaflow/proto/accumulator/accumulator_pb2_grpc.py depends on'
22+
+ f' but the generated code in pynumaflow/proto/accumulator/accumulator_pb2_grpc.py depends on'
2323
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
2424
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
2525
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'

packages/pynumaflow/pynumaflow/proto/common/metadata_pb2_grpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import warnings
55

66

7-
GRPC_GENERATED_VERSION = '1.78.0'
7+
GRPC_GENERATED_VERSION = '1.75.0'
88
GRPC_VERSION = grpc.__version__
99
_version_not_supported = False
1010

@@ -17,7 +17,7 @@
1717
if _version_not_supported:
1818
raise RuntimeError(
1919
f'The grpc package installed is at version {GRPC_VERSION},'
20-
+ ' but the generated code in pynumaflow/proto/common/metadata_pb2_grpc.py depends on'
20+
+ f' but the generated code in pynumaflow/proto/common/metadata_pb2_grpc.py depends on'
2121
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
2222
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
2323
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'

packages/pynumaflow/pynumaflow/proto/mapper/map_pb2_grpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77
from pynumaflow.proto.mapper import map_pb2 as pynumaflow_dot_proto_dot_mapper_dot_map__pb2
88

9-
GRPC_GENERATED_VERSION = '1.78.0'
9+
GRPC_GENERATED_VERSION = '1.75.0'
1010
GRPC_VERSION = grpc.__version__
1111
_version_not_supported = False
1212

@@ -19,7 +19,7 @@
1919
if _version_not_supported:
2020
raise RuntimeError(
2121
f'The grpc package installed is at version {GRPC_VERSION},'
22-
+ ' but the generated code in pynumaflow/proto/mapper/map_pb2_grpc.py depends on'
22+
+ f' but the generated code in pynumaflow/proto/mapper/map_pb2_grpc.py depends on'
2323
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
2424
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
2525
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'

packages/pynumaflow/pynumaflow/proto/reducer/reduce_pb2_grpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77
from pynumaflow.proto.reducer import reduce_pb2 as pynumaflow_dot_proto_dot_reducer_dot_reduce__pb2
88

9-
GRPC_GENERATED_VERSION = '1.78.0'
9+
GRPC_GENERATED_VERSION = '1.75.0'
1010
GRPC_VERSION = grpc.__version__
1111
_version_not_supported = False
1212

@@ -19,7 +19,7 @@
1919
if _version_not_supported:
2020
raise RuntimeError(
2121
f'The grpc package installed is at version {GRPC_VERSION},'
22-
+ ' but the generated code in pynumaflow/proto/reducer/reduce_pb2_grpc.py depends on'
22+
+ f' but the generated code in pynumaflow/proto/reducer/reduce_pb2_grpc.py depends on'
2323
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
2424
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
2525
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'

packages/pynumaflow/pynumaflow/proto/sideinput/sideinput_pb2_grpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77
from pynumaflow.proto.sideinput import sideinput_pb2 as pynumaflow_dot_proto_dot_sideinput_dot_sideinput__pb2
88

9-
GRPC_GENERATED_VERSION = '1.78.0'
9+
GRPC_GENERATED_VERSION = '1.75.0'
1010
GRPC_VERSION = grpc.__version__
1111
_version_not_supported = False
1212

@@ -19,7 +19,7 @@
1919
if _version_not_supported:
2020
raise RuntimeError(
2121
f'The grpc package installed is at version {GRPC_VERSION},'
22-
+ ' but the generated code in pynumaflow/proto/sideinput/sideinput_pb2_grpc.py depends on'
22+
+ f' but the generated code in pynumaflow/proto/sideinput/sideinput_pb2_grpc.py depends on'
2323
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
2424
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
2525
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'

packages/pynumaflow/pynumaflow/proto/sinker/sink_pb2_grpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77
from pynumaflow.proto.sinker import sink_pb2 as pynumaflow_dot_proto_dot_sinker_dot_sink__pb2
88

9-
GRPC_GENERATED_VERSION = '1.78.0'
9+
GRPC_GENERATED_VERSION = '1.75.0'
1010
GRPC_VERSION = grpc.__version__
1111
_version_not_supported = False
1212

@@ -19,7 +19,7 @@
1919
if _version_not_supported:
2020
raise RuntimeError(
2121
f'The grpc package installed is at version {GRPC_VERSION},'
22-
+ ' but the generated code in pynumaflow/proto/sinker/sink_pb2_grpc.py depends on'
22+
+ f' but the generated code in pynumaflow/proto/sinker/sink_pb2_grpc.py depends on'
2323
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
2424
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
2525
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'

packages/pynumaflow/pynumaflow/proto/sourcer/source_pb2_grpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77
from pynumaflow.proto.sourcer import source_pb2 as pynumaflow_dot_proto_dot_sourcer_dot_source__pb2
88

9-
GRPC_GENERATED_VERSION = '1.78.0'
9+
GRPC_GENERATED_VERSION = '1.75.0'
1010
GRPC_VERSION = grpc.__version__
1111
_version_not_supported = False
1212

@@ -19,7 +19,7 @@
1919
if _version_not_supported:
2020
raise RuntimeError(
2121
f'The grpc package installed is at version {GRPC_VERSION},'
22-
+ ' but the generated code in pynumaflow/proto/sourcer/source_pb2_grpc.py depends on'
22+
+ f' but the generated code in pynumaflow/proto/sourcer/source_pb2_grpc.py depends on'
2323
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
2424
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
2525
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'

packages/pynumaflow/pynumaflow/proto/sourcetransformer/transform_pb2_grpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
77
from pynumaflow.proto.sourcetransformer import transform_pb2 as pynumaflow_dot_proto_dot_sourcetransformer_dot_transform__pb2
88

9-
GRPC_GENERATED_VERSION = '1.78.0'
9+
GRPC_GENERATED_VERSION = '1.75.0'
1010
GRPC_VERSION = grpc.__version__
1111
_version_not_supported = False
1212

@@ -19,7 +19,7 @@
1919
if _version_not_supported:
2020
raise RuntimeError(
2121
f'The grpc package installed is at version {GRPC_VERSION},'
22-
+ ' but the generated code in pynumaflow/proto/sourcetransformer/transform_pb2_grpc.py depends on'
22+
+ f' but the generated code in pynumaflow/proto/sourcetransformer/transform_pb2_grpc.py depends on'
2323
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
2424
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
2525
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'

0 commit comments

Comments
 (0)