commit: cd6de3e52c2eb03e3a2ac02026b883c51fe1ff9a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 7 10:55:01 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 7 12:45:45 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd6de3e5
dev-python/ipykernel: Enable pypy3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/ipykernel/ipykernel-6.29.5.ebuild | 11 ++++++++---
dev-python/ipykernel/ipykernel-7.0.0_alpha0.ebuild | 4 ++--
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