diff options
| author | Changqing Li <changqing.li@windriver.com> | 2025-11-11 16:26:59 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-11 10:19:44 -0800 |
| commit | c3bc474c6cd7f343ba0b1fbe73e0d7e08b1bb0c7 (patch) | |
| tree | 8d18c6cb23c4e1c3bcef739c6b126417d75ae919 | |
| parent | fc2a527e6436eb06cc99108f85e50be5045848b8 (diff) | |
| download | meta-openembedded-c3bc474c6cd7f343ba0b1fbe73e0d7e08b1bb0c7.tar.gz | |
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>
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio_1.76.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.76.0.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.76.0.bb index c4282502e1..037614da3e 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio_1.76.0.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.76.0.bb | |||
| @@ -15,7 +15,7 @@ SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \ | |||
| 15 | " | 15 | " |
| 16 | SRC_URI[sha256sum] = "7be78388d6da1a25c0d5ec506523db58b18be22d9c37d8d3a32c08be4987bd73" | 16 | SRC_URI[sha256sum] = "7be78388d6da1a25c0d5ec506523db58b18be22d9c37d8d3a32c08be4987bd73" |
| 17 | 17 | ||
| 18 | RDEPENDS:${PN} = "python3-protobuf" | 18 | RDEPENDS:${PN} = "python3-protobuf python3-typing-extensions" |
| 19 | 19 | ||
| 20 | inherit setuptools3 | 20 | inherit setuptools3 |
| 21 | inherit pypi | 21 | inherit pypi |
