mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-25 18:00:45 +00:00
python3-markdown: add logging and setuptools to RDEPENDS
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 <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 17426020a8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
824b48dfdc
commit
6740bf6095
@@ -10,3 +10,5 @@ SRC_URI[md5sum] = "72219f46ca440b657bf227500731bdf1"
|
||||
SRC_URI[sha256sum] = "d02e0f9b04c500cde6637c11ad7c72671f359b87b9fe924b2383649d8841db7c"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
RDEPENDS_${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools"
|
||||
|
||||
Reference in New Issue
Block a user