From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A13281581D3 for ; Tue, 21 May 2024 09:55:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A04CBE2A72; Tue, 21 May 2024 09:55:55 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 76A15E2A72 for ; Tue, 21 May 2024 09:55:55 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 724DD335D64 for ; Tue, 21 May 2024 09:55:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CDF621AE6 for ; Tue, 21 May 2024 09:55:52 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1716285330.70f6751a750b159e6d242656e2fa08f8b902f0ca.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ipywidgets/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild X-VCS-Directories: dev-python/ipywidgets/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 70f6751a750b159e6d242656e2fa08f8b902f0ca X-VCS-Branch: master Date: Tue, 21 May 2024 09:55:52 +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: 3962fa0a-1da4-4bae-98d8-4d2836665c44 X-Archives-Hash: ea47b1dc0a3c783565cc764adfb31e9d commit: 70f6751a750b159e6d242656e2fa08f8b902f0ca Author: Fabio Rossi elettra eu> AuthorDate: Mon May 20 15:49:16 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue May 21 09:55:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70f6751a dev-python/ipywidgets: revbump to depend on jupyerlab_widgets jupyerlab_widgets is needed for latest notebook version Bug: https://bugs.gentoo.org/932075 Signed-off-by: Fabio Rossi elettra.eu> Closes: https://github.com/gentoo/gentoo/pull/36723 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild | 55 ++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild new file mode 100644 index 000000000000..9ffe275d3894 --- /dev/null +++ b/dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="IPython HTML widgets for Jupyter" +HOMEPAGE=" + https://ipywidgets.readthedocs.io/ + https://github.com/jupyter-widgets/ipywidgets/ + https://pypi.org/project/ipywidgets/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/comm-0.1.3[${PYTHON_USEDEP}] + >=dev-python/ipython_genutils-0.2.0[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}] + >=dev-python/widgetsnbextension-4.0.10[${PYTHON_USEDEP}] + >=dev-python/jupyterlab_widgets-3.0.10[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + >=dev-python/ipython-6.1.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/pypy/pypy/issues/4892 + ipywidgets/widgets/tests/test_interaction.py::test_interact_noinspect + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}