Skip to contentSkip to conversation

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

PATCH New [email protected] 1 participant 1 message Nov 11, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-grpcio: add python3-typing-extensions to RDEPENDS

From: Changqing Li <[email protected]>

Fix error:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

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'

Quoted 1 line
Quoted 1 line
Quoted 1 line
---
 meta-python/recipes-devtools/python/python3-grpcio_1.76.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-grpcio_1.76.0.bb +1 -1
index c4282502e1..037614da3e 100644
@@ -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
Signature · 1 line
2.34.1