From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E5BBD158176 for ; Tue, 21 Oct 2025 06:48:44 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D1B38341F8F for ; Tue, 21 Oct 2025 06:48:44 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7A76011057D; Tue, 21 Oct 2025 06:48:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 745DE11057D for ; Tue, 21 Oct 2025 06:48:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2AD74341CB9 for ; Tue, 21 Oct 2025 06:48:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D7A23B42 for ; Tue, 21 Oct 2025 06:48:19 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1761029156.b2f5bd2c320ba2432925732b8a50e2f4aa11a08b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ipykernel/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ipykernel/Manifest dev-python/ipykernel/ipykernel-6.31.0.ebuild X-VCS-Directories: dev-python/ipykernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b2f5bd2c320ba2432925732b8a50e2f4aa11a08b X-VCS-Branch: master Date: Tue, 21 Oct 2025 06:48:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8de5a735-68ce-4cfe-aa46-1ef2cb4ca92a X-Archives-Hash: be69ab79f954a10a6736362afb6578c5 commit: b2f5bd2c320ba2432925732b8a50e2f4aa11a08b Author: Michał Górny gentoo org> AuthorDate: Tue Oct 21 06:38:30 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Oct 21 06:45:56 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2f5bd2c dev-python/ipykernel: Bump to 6.31.0 Signed-off-by: Michał Górny gentoo.org> dev-python/ipykernel/Manifest | 1 + dev-python/ipykernel/ipykernel-6.31.0.ebuild | 91 ++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/dev-python/ipykernel/Manifest b/dev-python/ipykernel/Manifest index 95a6007e5b23..c44538015c06 100644 --- a/dev-python/ipykernel/Manifest +++ b/dev-python/ipykernel/Manifest @@ -1,3 +1,4 @@ DIST ipykernel-6.30.1.tar.gz 166260 BLAKE2B 77af93248f25479aae9082ef6e73dcab23b0724e53029a8b52fa99f217ea6482e1a2ed7e21a7b95ea88065acc8530e159d19b2a5c3b2fe5ef72c513059f2a524 SHA512 45bd9e79f3a74d3694034de3f367b913171b027e913e9f7cd1fdcfb17db09927e0ee300253ad9061d668559c5bf353bddbaf01ea52bcf5a9624a0a4a21050759 +DIST ipykernel-6.31.0.tar.gz 167493 BLAKE2B 0cb5f208b5cc1fc2d9da971cdd63158865036006ffbe697a375bf81e7242a99f168e9b6c8cdb1a2e3da46a973a1ed8b9ab2c1455de15a33f010b78db2fd939af SHA512 3ace064d1c78eb55d6f5f201349eb4a5b64eee387ea9adf4b7ad69875e15839eaecfd1940379dee367fbbba01426454ab70dc1526a7dd7cfdb250b31340d5872 DIST ipykernel-7.0.0.tar.gz 173513 BLAKE2B 73f196645c340a22ae8b45e28fccb3c7822be88f9b28f96772a2595f48f1ca261e17560dad654077e23cb42c550d90449f778162f9fa1cb190c6b4901dad9f1d SHA512 6d56ef846f5ca964767cc05bd06100a53eb892e00071265fbaa79f34d1c8ba2645d0617f3e90a738de5432eb4e543fd4a209760351229726ca070cd9df7ad5c0 DIST ipykernel-7.0.1.tar.gz 171460 BLAKE2B 71267840af57f6764888958bea4742e6755f9e0facc9a3fe1aaac7bff83eacc1db7bd473d779a9b3fe154b2c70d0e350a7eccf3d703c94feb16cc49cfedf74a3 SHA512 dfa2f4c2e7122f79cea94b37496108dc2ffbd7f0752e32070a6b8aad50a23a09071e1fb3292d24e77ea18a44396e683bedb06bb30beb70e1b315a02c99d2db17 diff --git a/dev-python/ipykernel/ipykernel-6.31.0.ebuild b/dev-python/ipykernel/ipykernel-6.31.0.ebuild new file mode 100644 index 000000000000..9c69d2918542 --- /dev/null +++ b/dev-python/ipykernel/ipykernel-6.31.0.ebuild @@ -0,0 +1,91 @@ +# 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 virtualx + +DESCRIPTION="IPython Kernel for Jupyter" +HOMEPAGE=" + https://github.com/ipython/ipykernel/ + https://pypi.org/project/ipykernel/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/comm-0.1.1[${PYTHON_USEDEP}] + >=dev-python/ipython-7.23.1[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-8.0.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-4.12[${PYTHON_USEDEP}] + >=dev-python/matplotlib-inline-0.1[${PYTHON_USEDEP}] + >=dev-python/nest-asyncio-1.4[${PYTHON_USEDEP}] + >=dev-python/packaging-22[${PYTHON_USEDEP}] + >=dev-python/psutil-5.7[${PYTHON_USEDEP}] + >=dev-python/pyzmq-25[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.4.0[${PYTHON_USEDEP}] +" +# RDEPEND seems specifically needed in BDEPEND, at least jupyter +# bug #816486 +# pytest-8 runs a small subset of tests, we allow newer for 3.13 +# since a few tests are better than skipping entirely +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/ipyparallel[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( flaky pytest-{asyncio,timeout} ) +distutils_enable_tests pytest + +src_prepare() { + # debugpy is actually optional + sed -i -e '/debugpy/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + # Use python3 in kernel.json configuration, bug #784764 + sed -i -e '/python3.[0-9]\+/s//python3/' \ + "${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die +} + +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 +}