summaryrefslogtreecommitdiff
path: root/dev-python/ipykernel
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-03-07 11:55:01 +0100
committerMichał Górny <mgorny@gentoo.org>2025-03-07 13:45:45 +0100
commitcd6de3e52c2eb03e3a2ac02026b883c51fe1ff9a (patch)
tree85edbed72c5d2694f4b7c4aaf983a0a35184b517 /dev-python/ipykernel
parent8fab5baa90c89b136f28759e352fbde27c845b6d (diff)
downloadgentoo-cd6de3e52c2eb03e3a2ac02026b883c51fe1ff9a.tar.gz
gentoo-cd6de3e52c2eb03e3a2ac02026b883c51fe1ff9a.tar.bz2
gentoo-cd6de3e52c2eb03e3a2ac02026b883c51fe1ff9a.zip
dev-python/ipykernel: Enable pypy3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ipykernel')
-rw-r--r--dev-python/ipykernel/ipykernel-6.29.5.ebuild11
-rw-r--r--dev-python/ipykernel/ipykernel-7.0.0_alpha0.ebuild4
2 files changed, 10 insertions, 5 deletions
diff --git a/dev-python/ipykernel/ipykernel-6.29.5.ebuild b/dev-python/ipykernel/ipykernel-6.29.5.ebuild
index 35c114926188..8408d4977a80 100644
--- a/dev-python/ipykernel/ipykernel-6.29.5.ebuild
+++ b/dev-python/ipykernel/ipykernel-6.29.5.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# 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 python3_{10..13} )
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 pypi virtualx
@@ -64,7 +64,7 @@ python_compile() {
"${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die
}
-src_test() {
+python_test() {
local EPYTEST_DESELECT=(
# TODO
tests/test_debugger.py::test_attach_debug
@@ -80,5 +80,10 @@ src_test() {
tests/test_eventloop.py::test_qt_enable_gui
)
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p asyncio -p flaky -p timeout
+}
+
+src_test() {
virtx distutils-r1_src_test
}
diff --git a/dev-python/ipykernel/ipykernel-7.0.0_alpha0.ebuild b/dev-python/ipykernel/ipykernel-7.0.0_alpha0.ebuild
index 6ce76b7cb38a..7116fed121a5 100644
--- a/dev-python/ipykernel/ipykernel-7.0.0_alpha0.ebuild
+++ b/dev-python/ipykernel/ipykernel-7.0.0_alpha0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# 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 python3_{10..13} )
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 pypi virtualx