Skip to contentSkip to conversation

python3-bqplot build issues

PATCH Gundlupet Raju, Sandeep 2 participants 5 messages Jan 25, 2023 – Jan 28, 2023

lore
Share & tools
lore
#0 lore raw

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

---
 pyproject.toml | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
pyproject.toml +0 -0
index ba04c53f..7a3cc3a9 100644
@@ -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", "setuptools", "wheel"] build-backend = "setuptools.build_meta"

Signature · 68 lines
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 \
    "

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
#1 lore raw
Quoted 44 lines · Sandeep

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

---
  pyproject.toml | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
pyproject.toml +0 -1
index ba04c53f..7a3cc3a9 100644
@@ -1,3 +1,3 @@
  [build-system]
-requires = ["jupyter_packaging~=0.7.9", "jupyterlab~=3.0",
Quoted 2 lines

"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.

Quoted 20 lines

"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

Quoted 7 lines

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

RDEPENDS:${PN} += " \

Quoted 80 lines
     ${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

#2 lore raw

Thanks Tim for your help.

Quoted 85 lines · Tim Orling

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 <http://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
    \
         "
Quoted 5 lines

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.

=======

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

Quoted 78 lines
    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
#3 lore raw
Quoted 87 lines · Sandeep

Thanks Tim for your help.
On 1/26/2023 1:40 PM, Tim Orling wrote:

Quoted 45 lines · Sandeep

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

---
  pyproject.toml | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
pyproject.toml +0 -1
index ba04c53f..7a3cc3a9 100644
@@ -1,3 +1,3 @@
  [build-system]
-requires = ["jupyter_packaging~=0.7.9", "jupyterlab~=3.0",
Quoted 2 lines

"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.

Quoted 21 lines

"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

Quoted 7 lines

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

Quoted 10 lines

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.

=======

Quoted 195 lines

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} += " \

Quoted 80 lines
     ${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

#4 lore raw
Quoted 104 lines · Tim Orling

On Thu, Jan 26, 2023 at 8:28 PM Gundlupet Raju, Sandeep <[email protected]> wrote:

Thanks Tim for your help.

Quoted 88 lines · Tim Orling

    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 <http://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
        \
Quoted 8 lines
             "

    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
Quoted 8 lines

[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.

[Sandeep]:Yes I did build native packages(bitbake python3-bqplot -c cleanall; bitbake python3-bqplot -k) and I see most of the dependencies has native packages. I will double check once using taskexp and see if any packages are missing with native.

$ find * -type f | xargs grep -rn "BBCLASSEXTEND"
recipes-python/python3-anyio_3.6.1.bb:16:BBCLASSEXTEND = "native"
recipes-python/python3-argon2-cffi_21.3.0.bb:9:BBCLASSEXTEND = "native"
recipes-python/python3-backcall_%.bbappend:1:BBCLASSEXTEND = "native"
recipes-python/python3-bleach_4.1.0.bb:18:BBCLASSEXTEND = "native"
recipes-python/python3-bokeh_2.4.2.bb:20:BBCLASSEXTEND = "native"
recipes-python/python3-debugpy_1.5.1.bb:12:BBCLASSEXTEND = "native"
recipes-python/python3-decorator_%.bbappend:1:BBCLASSEXTEND = "native"
recipes-python/python3-entrypoints_0.4.bb:10:BBCLASSEXTEND = "native"
recipes-python/python3-executing_0.10.0.bb:14:BBCLASSEXTEND = "native"
recipes-python/python3-ipykernel_6.13.0.bb:50:BBCLASSEXTEND = "native"
recipes-python/python3-ipython-genutils_%.bbappend:1:BBCLASSEXTEND = "native"
recipes-python/python3-ipython_%.bbappend:1:BBCLASSEXTEND = "native"
recipes-python/python3-jedi_%.bbappend:1:BBCLASSEXTEND = "native"
recipes-python/python3-json5_0.9.6.bb:8:BBCLASSEXTEND = "native"
recipes-python/python3-jupyter-client_7.3.1.bb:24:BBCLASSEXTEND = "native"
recipes-python/python3-jupyter-core_4.10.0.bb:21:BBCLASSEXTEND = "native"
recipes-python/python3-jupyter-packaging_0.12.0.bb:15:BBCLASSEXTEND = "native"
recipes-python/python3-jupyter-server_1.18.1.bb:37:BBCLASSEXTEND = "native"
recipes-python/python3-jupyterlab-server_2.13.0.bb:23:BBCLASSEXTEND = "native"
recipes-python/python3-jupyterlab_3.4.5.bb:36:BBCLASSEXTEND = "native"
recipes-python/python3-matplotlib-inline_%.bbappend:3:BBCLASSEXTEND = "native"
recipes-python/python3-mistune_0.8.4.bb:9:BBCLASSEXTEND = "native"
recipes-python/python3-nbclassic_0.4.3.bb:28:BBCLASSEXTEND = "native nativesdk"
recipes-python/python3-nbconvert_6.5.3.bb:33:BBCLASSEXTEND = "native"
recipes-python/python3-nbformat_5.4.0.bb:15:BBCLASSEXTEND = "native"
recipes-python/python3-notebook_6.4.12.bb:43:BBCLASSEXTEND = "native"
recipes-python/python3-pandocfilters_1.5.0.bb:10:BBCLASSEXTEND = "native"
recipes-python/python3-parso_%.bbappend:1:BBCLASSEXTEND = "native"
recipes-python/python3-pickleshare_%.bbappend:1:BBCLASSEXTEND = "native"
recipes-python/python3-pre-commit_2.18.1.bb:18:BBCLASSEXTEND = "native"
recipes-python/python3-prometheus-client_0.9.0.bb:15:BBCLASSEXTEND = "native"
recipes-python/python3-pure-eval_0.2.2.bb:15:BBCLASSEXTEND = "native"
recipes-python/python3-pyzmq_%.bbappend:1:BBCLASSEXTEND = "native"
recipes-python/python3-scandir_1.10.0.bb:7:BBCLASSEXTEND = "native"
recipes-python/python3-send2trash_%.bbappend:1:BBCLASSEXTEND = "native"
recipes-python/python3-simplegeneric_0.8.1.bb:8:BBCLASSEXTEND = "native"
recipes-python/python3-sniffio_1.2.0.bb:8:BBCLASSEXTEND = "native"
recipes-python/python3-stack-data_0.4.0.bb:20:BBCLASSEXTEND = "native"
recipes-python/python3-terminado_0.13.3.bb:15:BBCLASSEXTEND = "native"
recipes-python/python3-testpath_0.5.0.bb:13:BBCLASSEXTEND = "native"
recipes-python/python3-tornado_%.bbappend:1:BBCLASSEXTEND = "native"
recipes-python/python3-traitlets_%.bbappend:1:BBCLASSEXTEND = "native"
recipes-python/python3-websocket-client_%.bbappend:1:BBCLASSEXTEND = "native"
recipes-python/zeromq_%.bbappend:1:BBCLASSEXTEND = "native"
Quoted 195 lines
    =======

    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
Quoted 79 lines
        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