diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-11-07 07:12:45 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2024-11-07 07:34:27 +0100 |
| commit | 981bcf537c6bb9710994bec3f1b528a182c1ce20 (patch) | |
| tree | 4daa44c3333e1510d904d746822e25523afd59b6 /dev-python/ipyparallel | |
| parent | 70bb7dd9817ba008993e0cf16630c263f0a0e705 (diff) | |
| download | gentoo-981bcf537c6bb9710994bec3f1b528a182c1ce20.tar.gz gentoo-981bcf537c6bb9710994bec3f1b528a182c1ce20.tar.bz2 gentoo-981bcf537c6bb9710994bec3f1b528a182c1ce20.zip | |
dev-python/ipyparallel: Bump to 9.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ipyparallel')
| -rw-r--r-- | dev-python/ipyparallel/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/ipyparallel/ipyparallel-9.0.0.ebuild | 90 |
2 files changed, 91 insertions, 0 deletions
diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest index 69b0638f5f73..14c2b8924b47 100644 --- a/dev-python/ipyparallel/Manifest +++ b/dev-python/ipyparallel/Manifest @@ -1 +1,2 @@ DIST ipyparallel-8.8.0.tar.gz 6800541 BLAKE2B ae40aa60eec2c07bb1ecce696df9f8429293e1602bced8e6220e6a93b780b44131a4fcbd01c921952cae9945fc509f6084570b96ce0c3da7ce4f0cc1d853db1b SHA512 9b0a03e1f581acbe56e3b51331d9fb97c422469e1d93348e6403d7c95a985f1f5a2a390645222fc4b60c0027ba168933679662561adb618d19ae7d680a2bb680 +DIST ipyparallel-9.0.0.tar.gz 4403287 BLAKE2B 18248d6ee1eda409ff5de54ec7dbcdb75ac4a6dbd7af4fee23ec826d4c179e67454c980c6db00d180ddf078bd802a4b6f2e0245c63cf9bd55c99ead1bf1ba044 SHA512 4c89edba0bbad9ce75deaaa1e2486b1c50ca3f7a1a8f3c22b6dadc72f5b1f86958fe8c559e4548c69518494fd51c4ebe65f6019b154c8ffd3ef51eebb9bf1f03 diff --git a/dev-python/ipyparallel/ipyparallel-9.0.0.ebuild b/dev-python/ipyparallel/ipyparallel-9.0.0.ebuild new file mode 100644 index 000000000000..cce0734c3953 --- /dev/null +++ b/dev-python/ipyparallel/ipyparallel-9.0.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) +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-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/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-tornado[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +# TODO: package myst_parser +# distutils_enable_sphinx docs/source +distutils_enable_tests pytest + +src_configure() { + export IPP_DISABLE_JS=1 +} + +python_test() { + local 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 + ) + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # pure Python datetime incompatibility? TODO + ipyparallel/tests/test_asyncresult.py::TestAsyncResult::test_elapsed_multi + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p tornado +} + +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 +} |
