mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
58 lines
1.8 KiB
Text
58 lines
1.8 KiB
Text
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
|
|
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
|
|
pkgname=py3-jupyter_client
|
|
pkgver=8.0.3
|
|
pkgrel=0
|
|
pkgdesc="Jupyter protocol client APIs"
|
|
url="https://github.com/jupyter/jupyter_client"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
py3-traitlets
|
|
py3-pyzmq
|
|
py3-jupyter_core
|
|
py3-entrypoints
|
|
py3-tornado
|
|
py3-nest_asyncio
|
|
py3-dateutil
|
|
"
|
|
makedepends="py3-gpep517 py3-hatchling"
|
|
checkdepends="
|
|
ipython
|
|
openssh
|
|
py3-ipykernel
|
|
py3-pytest
|
|
py3-pytest-asyncio
|
|
py3-pytest-jupyter
|
|
py3-pytest-timeout
|
|
"
|
|
# circular dependency with py3-ipykernel
|
|
options="!check"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/jupyter_client/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/jupyter_client-$pkgver/"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
# first test fails on empty queue, more investigation needed
|
|
# other tests all hit their specified timeout
|
|
pytest -vv \
|
|
--deselect tests/test_kernelmanager.py::TestKernelManager::test_signal_kernel_subprocesses \
|
|
--deselect tests/test_kernelmanager.py::TestParallel::test_start_parallel_thread_kernels \
|
|
--deselect tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels \
|
|
--deselect tests/test_kernelmanager.py::TestParallel::test_start_parallel_process_kernels \
|
|
--deselect tests/test_kernelmanager.py::TestParallel::test_start_sequence_process_kernels \
|
|
--deselect tests/test_kernelmanager.py::TestAsyncKernelManager::test_signal_kernel_subprocesses
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer --destdir="$pkgdir" dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
3869fd75bb68e0d9b14c50c8803c122ae81cba63a0b621aa5f048db5c40ab2e2a870a884e3b2ef752c3c4ec06e6e641e4290fdbc7119279eb4d1b11d1ed81c06 py3-jupyter_client-8.0.3.tar.gz
|
|
"
|