1 # Template file for 'python3-ipython_ipykernel'
2 pkgname=python3-ipython_ipykernel
5 build_style=python3-pep517
6 # run all tests available
7 make_check_target="tests"
8 hostmakedepends="hatchling python3-jupyter_client"
9 depends="python3-comm python3-ipython python3-jupyter_client
10 python3-jupyter_core python3-matplotlib-inline python3-nest_asyncio
11 python3-packaging python3-psutil python3-pyzmq python3-tornado
13 checkdepends="$depends python3-flaky python3-pytest-asyncio
14 python3-pytest-timeout python3-trio python3-curio python3-matplotlib
15 python3-PyQt5 python3-PyQt5-svg python3-pytest-xdist"
16 short_desc="IPython kernel for Jupyter"
17 maintainer="Gonzalo TornarĂa <tornaria@cmat.edu.uy>"
18 license="BSD-3-Clause"
19 homepage="https://github.com/ipython/ipykernel"
20 changelog="https://raw.githubusercontent.com/ipython/ipykernel/main/CHANGELOG.md"
21 distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
22 checksum=f093a22c4a40f8828f8e330a9c297cb93dcab13bd9678ded6de8e5cf81c56215
24 if [ "$XBPS_CHECK_PKGS" = full ]; then
25 # this would cause a build-time circular dependency
26 checkdepends+=" python3-ipyparallel"
28 # These tests require ipyparallel
30 --ignore tests/test_pickleutil.py
31 --deselect tests/test_ipkernel_direct.py::test_do_apply
35 if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ] &&
36 [ "$XBPS_TARGET_LIBC" = "musl" ]; then
37 # Also fails "on Windows and MacOS Python 3.8+" so just disable it
38 make_check_args+=" --deselect tests/test_kernel.py::test_subprocess_print"