From: Trevor Gamblin <[email protected]> Importing the markdown module causes standard ModuleNotFoundErrors if the logging and pkg_resources modules are unavailable:
root@qemux86-64:~# python3 Python 3.8.2 (default, Apr 27 2020, 08:51:00) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import markdown Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.8/site-packages/markdown/_init_.py", line 25, in <module> from .core import Markdown, markdown, markdownFromFile File "/usr/lib64/python3.8/site-packages/markdown/core.py", line 27, in <module> import logging ModuleNotFoundError: No module named 'logging' Signed-off-by: Trevor Gamblin <[email protected]> Signed-off-by: Khem Raj <[email protected]> (cherry picked from commit 17426020a8c296986857511e85e3551207db857d) Signed-off-by: Armin Kuster <[email protected]> --- meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb b/meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb index 68cd723acc..cdfe5496ad 100644 --- a/meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb @@ -10,3 +10,5 @@ SRC_URI[md5sum] = "72219f46ca440b657bf227500731bdf1" SRC_URI[sha256sum] = "d02e0f9b04c500cde6637c11ad7c72671f359b87b9fe924b2383649d8841db7c" BBCLASSEXTEND = "native" + +RDEPENDS_${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools" -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#84429): https://lists.openembedded.org/g/openembedded-devel/message/84429 Mute This Topic: https://lists.openembedded.org/mt/74292741/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
