diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-04-05 20:53:02 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-04-05 21:45:29 +0200 |
commit | 6046e0d7458dc62ece43f1455159137abe808cd2 (patch) | |
tree | c41a188a3178f9f0f2dcb31361332458be4d9c3e /dev-python/ipyparallel | |
parent | sci-libs/tokenizers: add 0.15.2 (diff) | |
download | gentoo-6046e0d7458dc62ece43f1455159137abe808cd2.tar.gz gentoo-6046e0d7458dc62ece43f1455159137abe808cd2.tar.bz2 gentoo-6046e0d7458dc62ece43f1455159137abe808cd2.zip |
dev-python/ipyparallel: Bump to 8.8.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-8.8.0.ebuild | 86 |
2 files changed, 87 insertions, 0 deletions
diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest index 309b4cf0c591..c766b375c7dd 100644 --- a/dev-python/ipyparallel/Manifest +++ b/dev-python/ipyparallel/Manifest @@ -1 +1,2 @@ DIST ipyparallel-8.7.0.tar.gz 6798726 BLAKE2B 2f948ab19883e9364cab82227ad9918010f144ccf8d9899c54e4a3a9df99bd42faf6001ba837e6c7bfb25738c6ad25f766396b76ba7fa5097d84f385d69dbc68 SHA512 96b9a3c1435dcb609c81856e5fc2763265a14610483e9d6c1a0b1fe5f7d6981d42d8f0d7b0c245cdf1fec10d4a832854dc745ca02ce90623734216dc858bb322 +DIST ipyparallel-8.8.0.tar.gz 6800541 BLAKE2B ae40aa60eec2c07bb1ecce696df9f8429293e1602bced8e6220e6a93b780b44131a4fcbd01c921952cae9945fc509f6084570b96ce0c3da7ce4f0cc1d853db1b SHA512 9b0a03e1f581acbe56e3b51331d9fb97c422469e1d93348e6403d7c95a985f1f5a2a390645222fc4b60c0027ba168933679662561adb618d19ae7d680a2bb680 diff --git a/dev-python/ipyparallel/ipyparallel-8.8.0.ebuild b/dev-python/ipyparallel/ipyparallel-8.8.0.ebuild new file mode 100644 index 000000000000..86168fffc4d2 --- /dev/null +++ b/dev-python/ipyparallel/ipyparallel-8.8.0.ebuild @@ -0,0 +1,86 @@ +# 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..12} ) +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/entrypoints[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + >=dev-python/pyzmq-18[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.3[${PYTHON_USEDEP}] + >=dev-python/ipython-4[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-5[${PYTHON_USEDEP}] + dev-python/jupyter-server[${PYTHON_USEDEP}] + >=dev-python/ipykernel-4.4[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + >=dev-python/tornado-5.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 + +PATCHES=( + "${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch +) + +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 + ) + 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 +} |