python3-grpcio: add python3-typing-extensions to RDEPENDS

Fix error:
>>> import grpc
>>> from concurrent import futures
>>> server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
Traceback (most recent call last):
File "<python-input-4>", line 1, in <module>
server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
File "/usr/lib64/python3.13/site-packages/grpc/_init_.py", line 2219, in server
from grpc import _server # pylint: disable=cyclic-import
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/site-packages/grpc/_server.py", line 57, in <module>
from typing_extensions import override
ModuleNotFoundError: No module named 'typing_extensions'
>>>

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Changqing Li 2025-11-11 16:26:59 +08:00 committed by Khem Raj
parent fc2a527e64
commit c3bc474c6c
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -15,7 +15,7 @@ SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \
"
SRC_URI[sha256sum] = "7be78388d6da1a25c0d5ec506523db58b18be22d9c37d8d3a32c08be4987bd73"
RDEPENDS:${PN} = "python3-protobuf"
RDEPENDS:${PN} = "python3-protobuf python3-typing-extensions"
inherit setuptools3
inherit pypi