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 2A2B91581FB for ; Fri, 30 Aug 2024 01:56:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76703E2A02; Fri, 30 Aug 2024 01:56:23 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5987AE2A02 for ; Fri, 30 Aug 2024 01:56:23 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6EE60342FAA for ; Fri, 30 Aug 2024 01:56:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7503F1F2A for ; Fri, 30 Aug 2024 01:56: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: <1724982825.14ce3edf0ac48310be09626de44f9efe9d658e65.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spyder-kernels/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/spyder-kernels/Manifest dev-python/spyder-kernels/spyder-kernels-3.0.0.ebuild X-VCS-Directories: dev-python/spyder-kernels/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 14ce3edf0ac48310be09626de44f9efe9d658e65 X-VCS-Branch: master Date: Fri, 30 Aug 2024 01:56: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: cc8500c0-cc4d-416b-a848-3525b53b20fa X-Archives-Hash: 874320501904fc66fb51d1ad53029f49 commit: 14ce3edf0ac48310be09626de44f9efe9d658e65 Author: Michał Górny gentoo org> AuthorDate: Fri Aug 30 01:46:42 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Aug 30 01:53:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14ce3edf dev-python/spyder-kernels: Bump to 3.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/spyder-kernels/Manifest | 1 + .../spyder-kernels/spyder-kernels-3.0.0.ebuild | 92 ++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 59aee0a1c509..ea577b6ecf3f 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1,2 +1,3 @@ DIST spyder_kernels-2.5.2.tar.gz 99972 BLAKE2B 178f175fe03fd2b7871681ae30d10b62a4daf9ee606477eab4f88a4d81d2692b80cdcf4f9b6d46c4cfc0394b98d798e93dda870a3f1cbe6f77e243fd2b06d97c SHA512 4cf5462d6a6e72bf13f9890fbc5a4008788e132ee3315b0ad01a00beff6b78c63f47b7b5d19be601b64984196cc1a5c4706a4c5bbe878d938e487ae9ddd9f1fc +DIST spyder_kernels-3.0.0.tar.gz 242868 BLAKE2B 7cf667ce42d9f0a1c6b0df337c98a702588c546eeedfeb8150cea560c7ba5f0049ccb76f1342584f7a6cf9bf400ed2d1dbbad12f5b39ae3a3343e3449aed3414 SHA512 42c176d6c8c410b375342c2fed07dd5ff6440e857dac06097d55c1f3d34bed6d51873833523b798316f100d3f226f78cf76d661a30c7e968683eaad622d5c994 DIST spyder_kernels-3.0.0b9.tar.gz 242468 BLAKE2B b85c35f3b0fdffcb9105a6ff15388aeb0ea08f22647d654c37b9b7003d516310039dcb2d0cb41668f0903302b330dae289d9a7063ad9f970ac757f549b871a8d SHA512 c3c68b3a7c5bbd337b4461cedc388e8a9196e9ee72c2208036abe376d1621ab5db93c23935d1bf2d711a2d0de99d06599e2e0f102dc7a5d75d5c55f13cdb2a2e diff --git a/dev-python/spyder-kernels/spyder-kernels-3.0.0.ebuild b/dev-python/spyder-kernels/spyder-kernels-3.0.0.ebuild new file mode 100644 index 000000000000..0ff0db0d70d8 --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-3.0.0.ebuild @@ -0,0 +1,92 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Kernels used by spyder on its ipython console" +HOMEPAGE=" + https://github.com/spyder-ide/spyder-kernels/ + https://pypi.org/project/spyder-kernels/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + =dev-python/ipykernel-6.29.3[${PYTHON_USEDEP}] + dev-python/ipython-8.13.0[${PYTHON_USEDEP}] + =dev-python/jupyter-client-7.4.9[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24.0.0[${PYTHON_USEDEP}] + >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # we no longer package distributed, and also removed dependency on dask + spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing + + # RuntimeError: There is no current event loop in thread 'MainThread'. + # https://bugs.gentoo.org/834893 + spyder_kernels/console/tests/test_console_kernel.py::test_cwd_in_sys_path + spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing + spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing_2 + spyder_kernels/console/tests/test_console_kernel.py::test_runfile + spyder_kernels/console/tests/test_console_kernel.py::test_np_threshold + spyder_kernels/console/tests/test_console_kernel.py::test_turtle_launch + spyder_kernels/console/tests/test_console_kernel.py::test_matplotlib_inline + + # pydicom only packaged in ::sci at the moment + spyder_kernels/utils/tests/test_iofuncs.py::test_load_dicom_files + ) + local EPYTEST_IGNORE=() + + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + # require pandas + spyder_kernels/utils/tests/test_nsview.py + ) + fi + + if ! has_version "dev-python/h5py[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + # require hdf5 + spyder_kernels/utils/tests/test_iofuncs.py::test_save_load_hdf5_files + spyder_kernels/utils/tests/test_dochelpers.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}