From f770fde9de979cc086c37b493ac77bafcb40e084 Mon Sep 17 00:00:00 2001 From: stubsabot <> Date: Tue, 15 Sep 2026 00:24:17 +0000 Subject: [PATCH 1/3] [stubsabot] Bump grpcio to ~=1.84.0 Release: https://pypi.org/pypi/grpcio/1.84.0 Homepage: https://grpc.io Repository: https://github.com/grpc/grpc Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/grpcio Diff: https://github.com/grpc/grpc/compare/v1.83.1...v1.84.0 Stubsabot analysis of the diff between the two releases: - Total lines of Python code added: 120. - Total lines of Python code deleted: 21. If stubtest fails for this PR: - Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR) - Fix stubtest failures in another PR, then close this PR Note that you will need to close and re-open the PR in order to trigger CI --- stubs/grpcio/METADATA.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/grpcio/METADATA.toml b/stubs/grpcio/METADATA.toml index 83fb9bd9533b..cd3f42a9af3b 100644 --- a/stubs/grpcio/METADATA.toml +++ b/stubs/grpcio/METADATA.toml @@ -1,4 +1,4 @@ -version = "~= 1.83.0" +version = "~=1.84.0" upstream-repository = "https://github.com/grpc/grpc" partial-stub = true From 3cfe2a102a8330daf595f7ee614b6c75205c21de Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Tue, 22 Sep 2026 18:56:26 -0700 Subject: [PATCH 2/3] Fix grpcio stubs for upstream update --- stubs/grpcio/grpc/aio/__init__.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stubs/grpcio/grpc/aio/__init__.pyi b/stubs/grpcio/grpc/aio/__init__.pyi index 4703a0864a0f..64954b33a681 100644 --- a/stubs/grpcio/grpc/aio/__init__.pyi +++ b/stubs/grpcio/grpc/aio/__init__.pyi @@ -362,6 +362,7 @@ class InterceptedUnaryUnaryCall(_InterceptedCall[_TRequest, _TResponse], metacla request_serializer: _Serializer[_TRequest], response_deserializer: _Deserializer[_TResponse], loop: asyncio.AbstractEventLoop, + registered_call_handle: int = 0, ) -> None: ... # pylint: disable=too-many-arguments From ae87d82512f7d85e086f2490d169dfb4d0058b08 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Tue, 22 Sep 2026 19:45:06 -0700 Subject: [PATCH 3/3] Complete grpcio stubs for upstream update --- stubs/grpcio/grpc/aio/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/grpcio/grpc/aio/__init__.pyi b/stubs/grpcio/grpc/aio/__init__.pyi index 64954b33a681..d71a3ba2be1b 100644 --- a/stubs/grpcio/grpc/aio/__init__.pyi +++ b/stubs/grpcio/grpc/aio/__init__.pyi @@ -514,7 +514,7 @@ _T = TypeVar("_T") class Metadata(Collection[_MetadatumType]): def __init__(self, *args: tuple[_MetadataKey, _MetadataValue]) -> None: ... @classmethod - def from_tuple(cls, raw_metadata: tuple[_MetadataKey, _MetadataValue]) -> Metadata: ... + def from_tuple(cls, raw_metadata: Iterable[_MetadatumType]) -> Self: ... def add(self, key: _MetadataKey, value: _MetadataValue) -> None: ... def __len__(self) -> int: ... def __getitem__(self, key: _MetadataKey) -> _MetadataValue: ...