Skip to contentSkip to conversation

python3-websockets: added python3-zipp as RDEPENDS

PATCH New Jan Vermaete 1 participant 1 message Jun 22, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-websockets: added python3-zipp as RDEPENDS

Because the Python package 'zipfile' was missing.

root@qemux86-64:~# python3 clTraceback (most recent call last):
  File "/home/root/server.py", line 4, in <module>
    from websockets.server import serve
  File "/usr/lib/python3.12/site-packages/websockets/__init__.py", line 6, in <module>
    from .version import version as __version__  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/websockets/version.py", line 3, in <module>
    import importlib.metadata
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 8, in <module>
    import zipfile
ModuleNotFoundError: No module named 'zipfile'
---
 meta/recipes-devtools/python/python3-websockets_12.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python3-websockets_12.0.bb +1 -0
index f89c3b629e..1bebcb4ce6 100644
@@ -13,4 +13,5 @@ BBCLASSEXTEND = "native nativesdk"
 RDEPENDS:${PN} = " \
     python3-asyncio \
     python3-profile \
+    python3-zipp \
 "
Signature · 1 line
2.39.2