On Thu, Jan 26, 2023 at 8:28 PM Gundlupet Raju, Sandeep < [email protected]> wrote:
> Thanks Tim for your help. > On 1/26/2023 1:40 PM, Tim Orling wrote: > > > > On Wed, Jan 25, 2023 at 11:17 AM Gundlupet Raju, Sandeep < > [email protected]> wrote: > >> Hello, >> >> I'm upgrading python3-bqplot from honister to langdale in meta-jupyter, >> I've migrated the recipe version from 0.12.31 ->0.12.36 but I'm running >> into build missing dependencies issues. Even if I use 0.12.31 issues >> exists in kirkstone and langdale. >> >> Any help from community will be much appreciated. >> >> >> https://github.com/Xilinx/meta-jupyter/blob/langdale/recipes-python/python3-bqplot_0.12.31.bb >> >> ============ >> >> Source repo: >> >> ============ >> >> https://github.com/bqplot/bqplot/tree/0.12.36 >> >> ================================================================ >> >> 0001-pyproject.toml-Allow-jupyter-packaging-to-be-greater.patch: >> >> ================================================================ >> >> From c4681f95099516e96b1c7be757da6e0f302f50fe Mon Sep 17 00:00:00 2001 >> From: Sandeep Gundlupet Raju <[email protected]> >> Date: Tue, 13 Dec 2022 15:41:18 -0700 >> Subject: [PATCH] pyproject.toml: Allow jupyter packaging to be greater >> than >> 0.7 >> >> Signed-off-by: Sandeep Gundlupet Raju <[email protected]> >> --- >> pyproject.toml | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/pyproject.toml b/pyproject.toml >> index ba04c53f..7a3cc3a9 100644 >> --- a/pyproject.toml >> +++ b/pyproject.toml >> @@ -1,3 +1,3 @@ >> [build-system] >> -requires = ["jupyter_packaging~=0.7.9", "jupyterlab~=3.0", >> "setuptools>=40.8.0", "wheel"] >> +requires = ["jupyter_packaging~=0.9,<2", "jupyterlab~=3.0,<4", > > These are build time dependencies so they need to be in DEPENDS, not > RDEPENDS. > >> >> "setuptools", "wheel"] >> build-backend = "setuptools.build_meta" >> -- >> 2.17.1 >> >> ================================= >> >> python3-bqplot_0.12.36.bb recipe: >> >> ================================= >> >> SUMMARY = "Interactive plotting for the Jupyter notebook, using d3.js and >> \ >> ipywidgets." >> LICENSE = "Apache-2.0" >> LIC_FILES_CHKSUM = "file://LICENSE;md5=822b4ff4dd277d70fc2b796617ae1bf7" >> >> PYPI_PACKAGE = "bqplot" >> inherit pypi python_setuptools_build_meta >> >> SRC_URI[sha256sum] = >> "6a553e55fdbcc4f62e05679bd74b2549d1efbe43e120ad3b0bcb03a65c7921af" >> SRC_URI += "\ >> file://0001-pyproject.toml-Allow-jupyter-packaging-to-be-greater.patch \ >> " >> >> In the prior 0.12.31 ecipe, you had > DEPENDS += " \ > ${PYTHON_PN}-jupyter-packaging-native \ > " > So according to the "requires =" in [build-system], you should also need > python3-jupyterlab-native > > [Sandeep]: I tried this still same issue. But I can build all the > jupyter-packaging and jupyterlab packages. > > Did you build the -native versions? I think there are some missing -native dependencies (some recipes need BBCLASSEXTEND = “native”. After that, it looks like bqplot wants to call yarn or npm. Not a well behaved python library. ======= > > recipe: > > ====== > > SUMMARY = "Interactive plotting for the Jupyter notebook, using d3.js and \ > ipywidgets." > LICENSE = "Apache-2.0" > LIC_FILES_CHKSUM = "file://LICENSE;md5=822b4ff4dd277d70fc2b796617ae1bf7" > > PYPI_PACKAGE = "bqplot" > inherit pypi python_setuptools_build_meta > > SRC_URI[sha256sum] = > "6a553e55fdbcc4f62e05679bd74b2549d1efbe43e120ad3b0bcb03a65c7921af" > SRC_URI += "\ > file://0001-pyproject.toml-Allow-jupyter-packaging-to-be-greater.patch > \ > " > DEPENDS += " \ > ${PYTHON_PN}-jupyter-packaging-native \ > ${PYTHON_PN}-jupyterlab-native \ > " > > RDEPENDS:${PN} += " \ > ${PYTHON_PN}-ipywidgets \ > ${PYTHON_PN}-traitlets \ > ${PYTHON_PN}-traittypes \ > ${PYTHON_PN}-numpy \ > ${PYTHON_PN}-pandas \ > " > > do_install:append() { > # this files will be installed by python3-json5 > rm -f > ${D}${PYTHON_SITEPACKAGES_DIR}/tests/__pycache__/__init__.cpython-37.pyc > } > > FILES:${PN} += "${datadir}/*" > > ========= > > bootlogs: > > ========= > > ERROR: python3-bqplot-0.12.36-r0 do_compile: > ExecutionError('/tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/temp/run.do_compile.3184642', > 1, None, None) > ERROR: Logfile of failure stored in: > /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/temp/log.do_compile.3184642 > Log data follows: > | DEBUG: Executing shell function do_compile > | Missing build dependencies: > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyter_packaging~=0.7.9,<2 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | - jupyterlab~=3.0,<4 > | WARNING: > /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/temp/run.do_compile.3184642:157 > exit 1 from 'nativepython3 -m picobuild --source > /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/bqplot-0.12.36 > --dest > /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/dist > --wheel' > | WARNING: Backtrace (BB generated script): > | #1: python_pep517_do_compile, > /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/temp/run.do_compile.3184642, > line 157 > | #2: do_compile, > /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/temp/run.do_compile.3184642, > line 152 > | #3: main, > /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/temp/run.do_compile.3184642, > line 161 > > > ERROR: Task > (/group/bcapps/sandeepg/yocto/2023.1/yp-dev/sources/poky/../meta-jupyter/recipes-python/python3-bqplot_0.12.36.bb:do_compile) > failed with exit code '1 > > > RDEPENDS:${PN} += " \ >> ${PYTHON_PN}-jupyter-packaging \ >> ${PYTHON_PN}-jupyterlab \ >> ${PYTHON_PN}-ipywidgets \ >> ${PYTHON_PN}-traitlets \ >> ${PYTHON_PN}-traittypes \ >> ${PYTHON_PN}-numpy \ >> ${PYTHON_PN}-pandas \ >> " >> >> do_install:append() { >> # this files will be installed by python3-json5 >> rm -f >> ${D}${PYTHON_SITEPACKAGES_DIR}/tests/__pycache__/__init__.cpython-37.pyc >> } >> >> FILES:${PN} += "${datadir}/*" >> >> ================= >> >> Build error logs: >> >> ================= >> >> NOTE: Executing Tasks >> ERROR: python3-bqplot-0.12.36-r0 do_compile: >> ExecutionError('/tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/temp/run.do_compile.3777058', >> >> 1, None, None) >> ERROR: Logfile of failure stored in: >> >> /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/temp/log.do_compile.3777058 >> Log data follows: >> | DEBUG: Executing shell function do_compile >> | Missing build dependencies: >> | - jupyter_packaging~=0.9,<2 >> | - jupyterlab~=3.0,<4 >> | WARNING: >> /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/temp/run.do_compile.3777058:157 >> >> exit 1 from 'nativepython3 -m picobuild --source >> /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/bqplot-0.12.36 >> >> --dest >> /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/dist >> >> --wheel' >> | WARNING: Backtrace (BB generated script): >> | #1: python_pep517_do_compile, >> /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/temp/run.do_compile.3777058, >> >> line 157 >> | #2: do_compile, >> /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/temp/run.do_compile.3777058, >> >> line 152 >> | #3: main, >> /tmp/sandeepg/yocto/2023.1/build-jupyter-kr260/work/cortexa72-cortexa53-xilinx-linux/python3-bqplot/0.12.36-r0/temp/run.do_compile.3777058, >> >> line 161 >> ERROR: Task >> >> (/group/bcapps/sandeepg/yocto/2023.1/yp-dev/sources/poky/../meta-jupyter/recipes-python/python3-bqplot_0.12.36.bb:do_compile) >> >> failed with exit code '1' >> NOTE: Tasks Summary: Attempted 2249 tasks of which 2241 didn't need to >> be rerun and 1 failed. >> >> Summary: 1 task failed: >> >> /group/bcapps/sandeepg/yocto/2023.1/yp-dev/sources/poky/../meta-jupyter/recipes-python/python3-bqplot_0.12.36.bb: >> do_compile >> Summary: There was 1 WARNING message. >> Summary: There was 1 ERROR message, returning a non-zero exit code. >> >> Thanks, >> >> Sandeep >> >> >>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#176455): https://lists.openembedded.org/g/openembedded-core/message/176455 Mute This Topic: https://lists.openembedded.org/mt/96528078/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
