mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-05 11:20:15 +00:00
python3-pytoml: add datetime and stringold to RDEPENDS
Error messages like the following are encountered if datetime and stringold
are not in RDEPENDS for pytoml, so add them:
|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 pytoml
|Traceback (most recent call last):
|File "<stdin>", line 1, in <module>
|File "/usr/lib64/python3.8/site-packages/pytoml/_init_.py", line 2, in <module>
|from .parser import load, loads
|File "/usr/lib64/python3.8/site-packages/pytoml/parser.py", line 3, in <module>
|from .utils import rfc3339_re, parse_rfc3339_re
|File "/usr/lib64/python3.8/site-packages/pytoml/utils.py", line 1, in <module>
|import datetime
|ModuleNotFoundError: No module named 'datetime'
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 75b3d7e7bf)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
34614aa264
commit
894d78881e
@@ -15,6 +15,11 @@ SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN} += " \
|
||||
${PYTHON_PN}-datetime \
|
||||
${PYTHON_PN}-stringold \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user