On Tue, Apr 14, 2020 at 10:15 AM Abhishek Shah via lists.openembedded.org <abhishek.shah=broadcom....@lists.openembedded.org> wrote: > > dateutil package has runtime dependency on "six" package for native version > as well, as shown in error log below, fix the same: > > | File "poky/build/tmp/work/*/recipe-sysroot-native/usr/lib/python3.8/ > site-packages/pykwalify/core.py", line 25, in <module> > | from dateutil.parser import parse > | File "poky/build/tmp/work/*/recipe-sysroot-native/usr/lib/python3.8/ > site-packages/dateutil/parser/__init__.py", line 2, in > <module> > | from ._parser import parse, parser, parserinfo, ParserError > | File "poky/build/tmp/work/*/recipe-sysroot-native/usr/lib/python3.8/ > site-packages/dateutil/parser/_parser.py", line 42, in > <module> > | import six > | > | ModuleNotFoundError: No module named 'six' > > Signed-off-by: Abhishek Shah <abhishek.s...@broadcom.com> > > diff --git a/meta-python/recipes-devtools/python/python-dateutil.inc > b/meta-python/recipes-devtools/python/python-dateutil.inc > index 3c89cd62c..40f406f50 100644 > --- a/meta-python/recipes-devtools/python/python-dateutil.inc > +++ b/meta-python/recipes-devtools/python/python-dateutil.inc > @@ -15,10 +15,13 @@ FILES_${PN}-zoneinfo = > "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo" > > DEPENDS += "${PYTHON_PN}-setuptools-scm-native" > > +RDEPENDS_${PN} = "\ > + ${PYTHON_PN}-six \ > +" > + > RDEPENDS_${PN}_class-target = "\
This should perhaps be turned into RDEPENDS_${PN}_append_class-target with this change because we will still need it on target > ${PYTHON_PN}-datetime \ > ${PYTHON_PN}-numbers \ > - ${PYTHON_PN}-six \ > ${PYTHON_PN}-stringold \ > " > > -- > 2.17.1 > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#83920): https://lists.openembedded.org/g/openembedded-devel/message/83920 Mute This Topic: https://lists.openembedded.org/mt/73014931/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-