diff options
Diffstat (limited to 'dev-python/ipyparallel')
| -rw-r--r-- | dev-python/ipyparallel/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/ipyparallel/files/ipyparallel-9.0.1-pypy3_11.patch | 43 | ||||
| -rw-r--r-- | dev-python/ipyparallel/ipyparallel-9.0.2.ebuild | 83 | ||||
| -rw-r--r-- | dev-python/ipyparallel/ipyparallel-9.1.0-r1.ebuild (renamed from dev-python/ipyparallel/ipyparallel-9.1.0.ebuild) | 1 |
4 files changed, 0 insertions, 129 deletions
diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest index 7fe2a0a7769d..c100d966538e 100644 --- a/dev-python/ipyparallel/Manifest +++ b/dev-python/ipyparallel/Manifest @@ -1,4 +1,2 @@ -DIST ipyparallel-9.0.2.tar.gz 4407304 BLAKE2B 4095b9eb9f61a3d3da311ddfa01a3c185d99d44d9cd51079e40422dfa6b1c6522d34f5df7254f3ba19622da8aeec5b3b16c86fb43ce94f9173a00bf4b53ca1fc SHA512 c7719a9313a3bdf40300a09888f056884cbcf77158fec1eef4cd242ce956e2b6fa1917b35c1997d0b375dc8e590212c6c23f533c1a20673c59eaf411fbded7bf -DIST ipyparallel-9.0.2.tar.gz.provenance 9373 BLAKE2B 5c842b77ad12f4deab211325146d592c62663f4e05a77c97e39f4331362614a938262f38b284a6968abd0a61bca681c08414a0f92ec86452e10673a93713a77b SHA512 80d7e8268fcee7f2d8fa676dd82be45df90c7f22710563f2a246ae365a04c23a5bfc26a5181369243919202f311833278a23c86c0f356432f0bf9f211859544f DIST ipyparallel-9.1.0.tar.gz 4427086 BLAKE2B f219325a7ce0a4ac4f0d215cfa9fac2431074b663fbc3ac316b30031f145ae8291598f54a0bdc923f43d70d65482f65ebc3a51c52b49e627f7ea676a31cda556 SHA512 f62689a5991e7d923d796a1a2caf03c7f0ed4ffc41f70d77002aac9ae24be67b2268e386b3652819c3826beb94b245593874564b707251efdcf4ebe4a9293706 DIST ipyparallel-9.1.0.tar.gz.provenance 9517 BLAKE2B 09a65b092c7241a9812a4c0912e555f637b4b95a6f6fba9d4e958ba35aef7effa0845ec72b3a22d9bd1b07cddd1a93cf89eef2bb20a3c874100b297e2f997551 SHA512 05da5c203eaf715b37d0310a8ce52edd53ad7ceb891056387aebdd8cf1461e72e6b170ded87225370744dd2dceadf8389b512a87217fe2f72ac811c35939c03a diff --git a/dev-python/ipyparallel/files/ipyparallel-9.0.1-pypy3_11.patch b/dev-python/ipyparallel/files/ipyparallel-9.0.1-pypy3_11.patch deleted file mode 100644 index 9b42735b9be0..000000000000 --- a/dev-python/ipyparallel/files/ipyparallel-9.0.1-pypy3_11.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 1f3299cc4c8f8281ce48222e711393a0cadcb9fa Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Mon, 3 Mar 2025 21:27:08 +0100 -Subject: [PATCH 1/2] Use new serialization code for PyPy3.10+ 7.3.19+ -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Enable the new `inspect.signature(types.CodeType)` code path for -PyPy3.10 7.3.19 and newer, notably including PyPy3.11 that does not work -with the fallback code anymore. Add a workaround to skip the `magic` -parameter that does not seem to be exposed (or needed). - -With these changes, the serialization tests pass on PyPy3.11 7.3.19, -as well as most of the test suite. - -Fixes #933 - -Signed-off-by: Michał Górny <mgorny@gentoo.org> ---- - ipyparallel/serialize/codeutil.py | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/ipyparallel/serialize/codeutil.py b/ipyparallel/serialize/codeutil.py -index ca0828a4..66dccc1f 100644 ---- a/ipyparallel/serialize/codeutil.py -+++ b/ipyparallel/serialize/codeutil.py -@@ -29,11 +29,12 @@ def code_ctor(*args): - # pass every supported arg to the code constructor - # this should be more forward-compatible - # (broken on pypy: https://github.com/ipython/ipyparallel/issues/845) --if sys.version_info >= (3, 10) and not hasattr(sys, "pypy_version_info"): -+if sys.version_info >= (3, 10) and getattr(sys, "pypy_version_info", (7, 3, 19)) >= (7, 3, 19): - _code_attr_names = tuple( - _code_attr_map.get(name, name) - for name, param in inspect.signature(types.CodeType).parameters.items() -- if param.POSITIONAL_ONLY or param.POSITIONAL_OR_KEYWORD -+ if (param.POSITIONAL_ONLY or param.POSITIONAL_OR_KEYWORD) -+ and not (hasattr(sys, "pypy_version_info") and name == "magic") - ) - else: - # can't inspect types.CodeType on Python < 3.10 - diff --git a/dev-python/ipyparallel/ipyparallel-9.0.2.ebuild b/dev-python/ipyparallel/ipyparallel-9.0.2.ebuild deleted file mode 100644 index 3ffdd1ad8c92..000000000000 --- a/dev-python/ipyparallel/ipyparallel-9.0.2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_VERIFY_REPO=https://github.com/ipython/ipyparallel -PYTHON_COMPAT=( python3_{10..14} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Interactive Parallel Computing with IPython" -HOMEPAGE=" - https://ipyparallel.readthedocs.io/ - https://github.com/ipython/ipyparallel/ - https://pypi.org/project/ipyparallel/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-python/decorator[${PYTHON_USEDEP}] - >=dev-python/pyzmq-25[${PYTHON_USEDEP}] - >=dev-python/traitlets-5[${PYTHON_USEDEP}] - >=dev-python/ipython-5[${PYTHON_USEDEP}] - >=dev-python/jupyter-client-7[${PYTHON_USEDEP}] - dev-python/jupyter-server[${PYTHON_USEDEP}] - <dev-python/ipykernel-7[${PYTHON_USEDEP}] - >=dev-python/ipykernel-6.9.1[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - >=dev-python/tornado-6.1[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/flit-core[${PYTHON_USEDEP}] - test? ( - dev-python/testpath[${PYTHON_USEDEP}] - ) -" - -# TODO: package myst_parser -# distutils_enable_sphinx docs/source -EPYTEST_PLUGINS=( pytest-asyncio ) -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/ipython/ipyparallel/pull/934 - "${FILESDIR}/${PN}-9.0.1-pypy3_11.patch" -) - -EPYTEST_DESELECT=( - # we don't run a mongo instance for tests - ipyparallel/tests/test_mongodb.py::TestMongoBackend - # TODO - ipyparallel/tests/test_util.py::test_disambiguate_ip - # Gets upset that a timeout _doesn't_ occur, presumably because - # we're cranking up too many test timeouts. Oh well. - # bug #823458#c3 - ipyparallel/tests/test_asyncresult.py::AsyncResultTest::test_wait_for_send - # We could patch the timeout for these too but they're going to be inherently - # fragile anyway based on what they do. - ipyparallel/tests/test_client.py::TestClient::test_activate - ipyparallel/tests/test_client.py::TestClient::test_lazy_all_targets - ipyparallel/tests/test_client.py::TestClient::test_wait_for_engines -) - -src_configure() { - export IPP_DISABLE_JS=1 -} - -python_install_all() { - distutils-r1_python_install_all - # move /usr/etc stuff to /etc - mv "${ED}/usr/etc" "${ED}/etc" || die -} - -pkg_postinst() { - optfeature "Jupyter Notebook integration" dev-python/notebook -} diff --git a/dev-python/ipyparallel/ipyparallel-9.1.0.ebuild b/dev-python/ipyparallel/ipyparallel-9.1.0-r1.ebuild index b7c867887914..8479ace674d2 100644 --- a/dev-python/ipyparallel/ipyparallel-9.1.0.ebuild +++ b/dev-python/ipyparallel/ipyparallel-9.1.0-r1.ebuild @@ -28,7 +28,6 @@ RDEPEND=" >=dev-python/ipython-5[${PYTHON_USEDEP}] >=dev-python/jupyter-client-7[${PYTHON_USEDEP}] dev-python/jupyter-server[${PYTHON_USEDEP}] - <dev-python/ipykernel-7[${PYTHON_USEDEP}] >=dev-python/ipykernel-6.9.1[${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}] >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] |
