Skip to content

Conversation

tsubakiky
Copy link
Collaborator

@tsubakiky tsubakiky commented May 17, 2025

This pull request updates the generated protocol buffer files to use a newer version of the Protobuf Python runtime and modifies import paths and typing annotations for improved compatibility and consistency. Below are the most important changes grouped by theme:

Protobuf Runtime Update:

  • Updated the Protobuf Python runtime version from 5.29.3 to 6.31.0 across all generated .py files (client_compat_pb2.py, config_pb2.py, server_compat_pb2.py, service_pb2.py, suite_pb2.py). This includes changes to the _runtime_version.ValidateProtobufRuntimeVersion function to reflect the new version. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Import Path Adjustments:

  • Adjusted import paths in .py and .pyi files to use gen.connectrpc.conformance.v1 instead of connectrpc.conformance.v1 for consistency with the generated file structure. [1] [2] [3] [4] [5]

Typing Annotation Updates:

  • Replaced typing.Iterable and typing.Mapping with collections.abc.Iterable and collections.abc.Mapping in .pyi files to align with modern Python typing standards. [1] [2] [3] [4] [5]

@tsubakiky tsubakiky requested a review from zchee as a code owner May 17, 2025 01:24
@tsubakiky tsubakiky merged commit 17a78cd into main May 17, 2025
2 checks passed
@tsubakiky tsubakiky deleted the update-package branch May 17, 2025 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant