commit:     29f637c41d3e267ab7c0ebec8f190e66b9bd8747
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 18 10:45:59 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 18 12:45:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29f637c4

dev-python/ipykernel: Enable py3.14

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...nel-7.0.1.ebuild => ipykernel-6.30.1-r1.ebuild} | 42 +++++++++++++++-------
 dev-python/ipykernel/ipykernel-7.0.1.ebuild        | 32 +++++++++++------
 2 files changed, 51 insertions(+), 23 deletions(-)

diff --git a/dev-python/ipykernel/ipykernel-7.0.1.ebuild 
b/dev-python/ipykernel/ipykernel-6.30.1-r1.ebuild
similarity index 68%
copy from dev-python/ipykernel/ipykernel-7.0.1.ebuild
copy to dev-python/ipykernel/ipykernel-6.30.1-r1.ebuild
index ab7bade8280a..9c69d2918542 100644
--- a/dev-python/ipykernel/ipykernel-7.0.1.ebuild
+++ b/dev-python/ipykernel/ipykernel-6.30.1-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1 pypi virtualx
@@ -40,23 +40,12 @@ BDEPEND="
        ${RDEPEND}
        test? (
                dev-python/ipyparallel[${PYTHON_USEDEP}]
-               dev-python/pytest-timeout[${PYTHON_USEDEP}]
-               dev-python/trio[${PYTHON_USEDEP}]
        )
 "
 
-EPYTEST_PLUGINS=( pytest-{asyncio,rerunfailures,timeout} )
+EPYTEST_PLUGINS=( flaky pytest-{asyncio,timeout} )
 distutils_enable_tests pytest
 
-EPYTEST_DESELECT=(
-       # hangs?
-       tests/test_eventloop.py::test_tk_loop
-       # flaky
-       tests/test_eventloop.py::test_qt_enable_gui
-       # fails without pytest-cov; apparently "time-sensitive" too
-       tests/test_subshells.py::test_run_concurrently_sequence
-)
-
 src_prepare() {
        # debugpy is actually optional
        sed -i -e '/debugpy/d' pyproject.toml || die
@@ -73,3 +62,30 @@ python_compile() {
 src_test() {
        virtx distutils-r1_src_test
 }
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # TODO
+               tests/test_debugger.py::test_attach_debug
+               
tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines
+               tests/test_debugger.py::test_rich_inspect_at_breakpoint
+               tests/test_debugger.py::test_rich_inspect_not_at_breakpoint
+               tests/test_debugger.py::test_set_breakpoints
+               tests/test_debugger.py::test_stop_on_breakpoint
+               tests/test_debugger.py::test_copy_to_globals
+               # hangs?
+               tests/test_eventloop.py::test_tk_loop
+               # doesn't like pyside2?
+               tests/test_eventloop.py::test_qt_enable_gui
+       )
+
+       case ${EPYTHON} in
+               python3.14)
+                       EPYTEST_DESELECT+=(
+                               
tests/test_kernel.py::test_subprocess_{error,print}
+                       )
+                       ;;
+       esac
+
+       epytest
+}

diff --git a/dev-python/ipykernel/ipykernel-7.0.1.ebuild 
b/dev-python/ipykernel/ipykernel-7.0.1.ebuild
index ab7bade8280a..39efa94786e3 100644
--- a/dev-python/ipykernel/ipykernel-7.0.1.ebuild
+++ b/dev-python/ipykernel/ipykernel-7.0.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1 pypi virtualx
@@ -48,15 +48,6 @@ BDEPEND="
 EPYTEST_PLUGINS=( pytest-{asyncio,rerunfailures,timeout} )
 distutils_enable_tests pytest
 
-EPYTEST_DESELECT=(
-       # hangs?
-       tests/test_eventloop.py::test_tk_loop
-       # flaky
-       tests/test_eventloop.py::test_qt_enable_gui
-       # fails without pytest-cov; apparently "time-sensitive" too
-       tests/test_subshells.py::test_run_concurrently_sequence
-)
-
 src_prepare() {
        # debugpy is actually optional
        sed -i -e '/debugpy/d' pyproject.toml || die
@@ -73,3 +64,24 @@ python_compile() {
 src_test() {
        virtx distutils-r1_src_test
 }
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # hangs?
+               tests/test_eventloop.py::test_tk_loop
+               # flaky
+               tests/test_eventloop.py::test_qt_enable_gui
+               # fails without pytest-cov; apparently "time-sensitive" too
+               tests/test_subshells.py::test_run_concurrently_sequence
+       )
+
+       case ${EPYTHON} in
+               python3.14)
+                       EPYTEST_DESELECT+=(
+                               
tests/test_kernel.py::test_subprocess_{error,print}
+                       )
+                       ;;
+       esac
+
+       epytest
+}

Reply via email to