summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-10-18 12:46:06 +0200
committerMichał Górny <mgorny@gentoo.org>2025-10-18 14:45:50 +0200
commitdca163812cc75eae39131eddd3c35185e0892574 (patch)
treebbd6bb5f43a5b580266a050544cf0705e3c0aae7 /dev-python
parentb482d00ea97849229cbb3565eed0537f929c8ee6 (diff)
downloadgentoo-dca163812cc75eae39131eddd3c35185e0892574.tar.gz
gentoo-dca163812cc75eae39131eddd3c35185e0892574.tar.bz2
gentoo-dca163812cc75eae39131eddd3c35185e0892574.zip
dev-python/jupyter-client: Enable py3.14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/jupyter-client/jupyter-client-8.6.3-r1.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/jupyter-client/jupyter-client-8.6.3-r1.ebuild b/dev-python/jupyter-client/jupyter-client-8.6.3-r1.ebuild
new file mode 100644
index 000000000000..28d704c7a3e4
--- /dev/null
+++ b/dev-python/jupyter-client/jupyter-client-8.6.3-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Jupyter protocol implementation and client libraries"
+HOMEPAGE="
+ https://jupyter.org/
+ https://github.com/jupyter/jupyter_client/
+ https://pypi.org/project/jupyter-client/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+
+RDEPEND="
+ >=dev-python/jupyter-core-5.1[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
+ >=dev-python/pyzmq-23.0[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.0[${PYTHON_USEDEP}]
+ dev-python/traitlets[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/ipykernel-6.14[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_RERUNS=3
+EPYTEST_PLUGINS=( pytest-{asyncio,jupyter,timeout} )
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # TODO: times out
+ tests/test_client.py::TestAsyncKernelClient::test_input_request
+ # TODO
+ tests/test_multikernelmanager.py::TestKernelManager::test_tcp_cinfo
+ )
+
+ epytest -o tmp_path_retention_policy=all
+}