summaryrefslogtreecommitdiff
path: root/dev-python/ipyparallel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/ipyparallel
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/ipyparallel')
-rw-r--r--dev-python/ipyparallel/Manifest7
-rw-r--r--dev-python/ipyparallel/files/ipyparallel-8.3.0-additional-test-timeouts.patch46
-rw-r--r--dev-python/ipyparallel/ipyparallel-8.3.0.ebuild3
-rw-r--r--dev-python/ipyparallel/ipyparallel-8.4.0.ebuild93
-rw-r--r--dev-python/ipyparallel/ipyparallel-8.4.1.ebuild93
5 files changed, 240 insertions, 2 deletions
diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest
index 905b862091ae..80857799fc5b 100644
--- a/dev-python/ipyparallel/Manifest
+++ b/dev-python/ipyparallel/Manifest
@@ -1,15 +1,20 @@
AUX ipyparallel-7.1.0-test-timeouts.patch 2067 BLAKE2B 577b33b730f110775dbd61fe02d06834fe3c4eb3c730d6df16730bbc877402e9f4756b74691bb977c3892ff981d374a4d1b439bf2b682e76c496ce8502f26583 SHA512 2d0f9fb4966be06299b40cd2ad974b4f94cfedea84fcee38b900ce4596b15cd3963068fc374aa1c0e54765b92d68c5233965fd2d3696bba5474da24917d1f009
+AUX ipyparallel-8.3.0-additional-test-timeouts.patch 1707 BLAKE2B c3dc45f6b05fa7abf551d3b8a950e078a42a709a74d8fe8c45b88ab6afb7996f822550eadf46c54da18cb7596e25cc7ffc84b46e033803a665e323273669e0fe SHA512 9b7581e02571e498155a73ac573b8a994ed414f462cfdedc5a96d9d30dbdb7c44f9c1827f86232f2a0dc273f34901a46aa40a8822ebb11a74e0890660f2f77f4
DIST ipyparallel-6.3.0.tar.gz 2380153 BLAKE2B b8312102e1d2b5fc963491ebe8530e2fd73e9f941f7912fbc72a8db51e7255f5cac95a853d15a57e384926ab1aff27f2a3ad13cc45130a8b612be5dc623538ab SHA512 fe621854b9cc3e5f88aeca2b06b63bb689dd2feee0da451a0a90800d8832f4b44b23bb9a15033029cc33179276f31e982a10fc7540e6d13b04f15d96c348a295
DIST ipyparallel-7.1.0.tar.gz 4029033 BLAKE2B badf4bdad0dca0898e62abee3e5a48b06460160bd1f2ae096bc05beb00dbd6dc2b52681aa699d69a76f5a51e4cd3f0bb107fa6b1d20109e76bc78da8f08b69f9 SHA512 9a629bd92176dbace1724efe0a5a698b2d684128567513f8809fd25e4901227d1c7fc7b02427fd3c14b3743b47956ff8387098a1cc8759d8987aa5e3d8ca60d5
DIST ipyparallel-8.1.0.tar.gz 9365732 BLAKE2B 847931de17f61b537a6350358a1fcc8e629b843e1216fcc0f60333f7baf42b0739f864bd1a02daefb839b90cfb4c65b6101de3271e89d529dd8493513b686ced SHA512 21e1d3d9e04c7567889e923ff0f1b140251518efd331dd2180a42142eedbb4c92eaeafce17bf2287e1d36ef4e5951f2f50021d9b9a96c266e4e94e1a3ac34347
DIST ipyparallel-8.2.0.tar.gz 9367069 BLAKE2B e4e881f774422ead72778d40d85e5732d7da8e8e66107c06d65557c6701c94bd5c2592cea2def8b2ad405db78fe70c87944e4b89eb9fe3a4bcf38464b008979a SHA512 f6e62eaa86fa63ef1417e850de3eaf5ba228a1ad1da99c66b64b371010b57ba805201f18c97485ded24899afe7b22edbec23ca0e21344e9c2c2eacfcd6fd8adf
DIST ipyparallel-8.2.1.tar.gz 9367709 BLAKE2B 5be16c1060a31295e6b1908cfa3530d7ade6337de78ee057f595ab94ed5dc6c4c49b08f39ded0e8b6aa11ee7eda788f27b2f57bad851908f805d681e0b98efc3 SHA512 d06d1e272e27c0941f0fd6799cc78bbaf188ba1fb22f03016925ffbbf6b3e273eb8c372d7c0509b2f044ccfbfe3f35071547712e79a26a802e673340021921ac
DIST ipyparallel-8.3.0.tar.gz 6862893 BLAKE2B 9009f0fa06422b4dcd9e920d6a568030ff9b20695f3a9eab0f730b48c08465bba7682929c139bac3ef65739be2152224ca922faa6a02b6d73be2f3fb572afa26 SHA512 01ae448cd3274aa752abb033706e77584bc164c7cad626970269e516d33dda949fc0bab9a5cc3f018b2aaac60ee55078780c02ba3c9a2079f12036a869a1f339
+DIST ipyparallel-8.4.0.tar.gz 6842960 BLAKE2B e39c37759e3f6fcf12cb052aac0774435c8f7443c518b834d8d9e91a34549c8a612e603c2b541b79f8001babffc82469a4029eaa9fbda2b889fe06453b1c94d3 SHA512 ac3ef5bb733f8879dc76277bcc5be2e614000241045567ba4f23793641a523620ff8c246fd8785c81fa380c98f536cf8ef56b3bda7850b5db68d7232714b3a1b
+DIST ipyparallel-8.4.1.tar.gz 6843301 BLAKE2B 1ca0056cfa6827f5eb145584ea634d224119a485f1139964988b07bcd164fe392bb032794098bccdf67b31f74030e62e917c0a451809e0d14fae323308b2b0ab SHA512 640489b3920b91e1b2f83def00a06e8ec45c61bd7ebe33a3e4a30560e2b0acdbe0a98a685d868dd7bce4c65920d378ab69efca75cf0ae7f164ee792c870a297e
EBUILD ipyparallel-6.3.0-r1.ebuild 2305 BLAKE2B 80b0818f788962604a564ce9c74068b27c8740e59b84405c297f314e65d7d459f6e638885570babbff88d861f5e48e8353c6ce30f4ae698f5213dd285104f0af SHA512 c6e4d5005fb46c79f5a19f00bfa60cafd8e57ce98f5083aa2d975710ec05678fe8319f66722dfe065d27bba4ae38984da0f5cfb51ce64c5d21671bce35226c19
EBUILD ipyparallel-7.1.0.ebuild 2913 BLAKE2B 409329a470efa0b9e6996925ff3d57084c1aeede7fcf9e588d7d7131633a83db3528d701a31d1cd3b39cc45ad7f2c89d41e775c91eade506e34a0bf99d9609e0 SHA512 4baf3ffad4747bd01ecfd498b4ac30dfc33765c8f441ec5016fe3985de2671c1e0cedc9a180554690e4ee5e4587f4f20b9fdc14b3f508320967e83fc0ecd97cf
EBUILD ipyparallel-8.1.0-r1.ebuild 2947 BLAKE2B 07bf5ed3bbe999930722dadfb936cc2433a8e46a90bb07d5669a70e9482be045d4fd2c1e640e8c3c58be9cb7d39f45a0b600cc1e682f43320ad5cd0098e2b37c SHA512 d8b38eb7115f9452fd379f8196a97d2d37acac28565eb6108eb0e546da10a6b2a5418790a0b56ab60aa9b1e0cf10d93ad3fc7ba471ea35a62a1311f9647dc99e
EBUILD ipyparallel-8.1.0.ebuild 2921 BLAKE2B 43a62f3289899d1eed402d15a6393a8be916cebfd459e30ca98d7a37015dad7e8de44a0b309de2a18af8a9f20e08c343a740294406890c742ce8228d937bca3e SHA512 3bb9008ce9355d4282b196b67d8fe0fa5aa70850bd7b1e2ab6bc256893ab8947617e0fdfb784d772d1cb4a2b2c86b1b63c184f940393107f93be383228f7fbdb
EBUILD ipyparallel-8.2.0.ebuild 3032 BLAKE2B ec5ec16a1c5f0d8d430fcc3f8832775e2d08651717454f8866d0b9ed7156a9c53ae804eb148d084afe1f10045b037828023a051f3da92fe98f9e3a3e8b5d0810 SHA512 a5ebf9bb1b97ddfa2f0b5006bd685b7291f1e50025a103541b89c298b6756f9295ad7bfda7f06e9ebad4bbd70b6a01cd4984b9f3de15528e053557ade50ca717
EBUILD ipyparallel-8.2.1.ebuild 3027 BLAKE2B 94de8d77abcfd534fa4406e442aeffe46e4c819cc1b220322a2f2d9afd47938c0bd9a162145a2670bc780b51626cc69f30d55e55ca9b9a8669a9f55576b55e2b SHA512 85f0a6fc5e9062b970f01ec01094df0b5d72989b1e22c58e3d5019b6952aeb1925ecd8b2b9b37efe586379a35adbf08ca28cbd7e671200bf323b634ddcfb473e
-EBUILD ipyparallel-8.3.0.ebuild 2651 BLAKE2B 8c29e3fa944cd8c0b533edb275b6137e68ef8531a16ee999e65e29ee50dcc67608783255ae83b5d4081c326f7492e5f79af9d28806b76a75281cff99ddb4636b SHA512 566a7c06a8dd5b225d95075e10d00d5a12ca628e3c9438595aaa539a222a5d8ba32ad6393bb93005f72e25b112d118e6e06d14d92d1a2f837204a32140254be4
+EBUILD ipyparallel-8.3.0.ebuild 2704 BLAKE2B 8c9ad02107d45a942225dad205dfb640011d099d35875892b8305261fe313f9dbec667f0d993e1094cdbd86d7c1ce6444d19829e6720e36072e2eeef28f8ab6a SHA512 72b0532ea3a11995c4ba3cbf7894e23cd60eb08ad7bb05eaee1c6862938b1cd4414afce688a282974ba79092d805b8b21186c5e26ce2fdb6ad6ed4934b0517b6
+EBUILD ipyparallel-8.4.0.ebuild 2791 BLAKE2B fdbdf8ee6076d451e8d8859cdd1072ad4a82d9da8a64d73f2f07f7a6cd4758df0c2d29fd37f1186feed1839c585fbc9052accd89c9f7678c029cc3e06a6df2c4 SHA512 caffc933b045f63c7510a40a01432048a772bc17e37f076bd8cbfd22298d5113e0d384ba37b8918252692efc32105a3df667c5317931a1b78191b890e6ffc64f
+EBUILD ipyparallel-8.4.1.ebuild 2791 BLAKE2B fdbdf8ee6076d451e8d8859cdd1072ad4a82d9da8a64d73f2f07f7a6cd4758df0c2d29fd37f1186feed1839c585fbc9052accd89c9f7678c029cc3e06a6df2c4 SHA512 caffc933b045f63c7510a40a01432048a772bc17e37f076bd8cbfd22298d5113e0d384ba37b8918252692efc32105a3df667c5317931a1b78191b890e6ffc64f
MISC metadata.xml 531 BLAKE2B 92dd755dd3036f653f24eda893979487b8d5bbf3c369f3f10c3fc2e69ad6aef03cb6eca295bcb8c6f89f0838780c20132bfd2a33bb38b56b227e97258447c2e0 SHA512 fcd131d18b012d1511468777dd72e07ed28a514419923911082229c0256b9003d9afe2048b6c339cb5c94307026b52bc4e9b6781d45660178d18385d71af8f21
diff --git a/dev-python/ipyparallel/files/ipyparallel-8.3.0-additional-test-timeouts.patch b/dev-python/ipyparallel/files/ipyparallel-8.3.0-additional-test-timeouts.patch
new file mode 100644
index 000000000000..22b2910d4d10
--- /dev/null
+++ b/dev-python/ipyparallel/files/ipyparallel-8.3.0-additional-test-timeouts.patch
@@ -0,0 +1,46 @@
+https://bugs.gentoo.org/834198
+
+diff --git a/ipyparallel/tests/test_view.py b/ipyparallel/tests/test_view.py
+index 5b5ca41..4c04d02 100644
+--- a/ipyparallel/tests/test_view.py
++++ b/ipyparallel/tests/test_view.py
+@@ -628,7 +628,7 @@ class TestView(ClusterTestCase):
+ """exceptions in execute requests raise appropriately"""
+ view = self.client[-1]
+ ar = view.execute("1/0")
+- self.assertRaisesRemote(ZeroDivisionError, ar.get, 2)
++ self.assertRaisesRemote(ZeroDivisionError, ar.get, 20)
+
+ def test_remoteerror_render_exception(self):
+ """RemoteErrors get nice tracebacks"""
+@@ -637,7 +637,7 @@ class TestView(ClusterTestCase):
+ ip = get_ipython()
+ ip.user_ns['ar'] = ar
+ with capture_output() as io:
+- ip.run_cell("ar.get(2)")
++ ip.run_cell("ar.get(20)")
+
+ self.assertTrue('ZeroDivisionError' in io.stdout, io.stdout)
+
+@@ -649,7 +649,7 @@ class TestView(ClusterTestCase):
+ ip.user_ns['ar'] = ar
+
+ with capture_output() as io:
+- ip.run_cell("ar.get(2)")
++ ip.run_cell("ar.get(20)")
+
+ count = min(error.CompositeError.tb_limit, len(view))
+
+@@ -689,10 +689,10 @@ class TestView(ClusterTestCase):
+ view = self.client[-1]
+ ar = view.execute("%pylab inline")
+ # at least check if this raised:
+- reply = ar.get(5)
++ reply = ar.get(50)
+ # include imports, in case user config
+ ar = view.execute("plot(rand(100))", silent=False)
+- reply = ar.get(5)
++ reply = ar.get(50)
+ assert ar.wait_for_output(5)
+ self.assertEqual(len(reply.outputs), 1)
+ output = reply.outputs[0]
diff --git a/dev-python/ipyparallel/ipyparallel-8.3.0.ebuild b/dev-python/ipyparallel/ipyparallel-8.3.0.ebuild
index 32d94ac90340..e4607ceb0e1f 100644
--- a/dev-python/ipyparallel/ipyparallel-8.3.0.ebuild
+++ b/dev-python/ipyparallel/ipyparallel-8.3.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="
dev-python/entrypoints[${PYTHON_USEDEP}]
@@ -48,6 +48,7 @@ distutils_enable_tests pytest
PATCHES=(
"${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch
+ "${FILESDIR}"/${PN}-8.3.0-additional-test-timeouts.patch
)
src_configure() {
diff --git a/dev-python/ipyparallel/ipyparallel-8.4.0.ebuild b/dev-python/ipyparallel/ipyparallel-8.4.0.ebuild
new file mode 100644
index 000000000000..238bb4888e55
--- /dev/null
+++ b/dev-python/ipyparallel/ipyparallel-8.4.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Interactive Parallel Computing with IPython"
+HOMEPAGE="
+ https://ipyparallel.readthedocs.io/
+ https://github.com/ipython/ipyparallel/
+ https://pypi.org/project/ipyparallel/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~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[${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}]
+ >=www-servers/tornado-5.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/flit_core[${PYTHON_USEDEP}]
+ test? (
+ dev-python/ipython[test]
+ dev-python/mock[${PYTHON_USEDEP}]
+ 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
+ "${FILESDIR}"/${PN}-8.3.0-additional-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
+ )
+ [[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
+ # failing due to irrelevant warnings
+ ipyparallel/tests/test_client.py::TestClient::test_local_ip_true_doesnt_trigger_warning
+ )
+ epytest
+}
+
+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-8.4.1.ebuild b/dev-python/ipyparallel/ipyparallel-8.4.1.ebuild
new file mode 100644
index 000000000000..238bb4888e55
--- /dev/null
+++ b/dev-python/ipyparallel/ipyparallel-8.4.1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Interactive Parallel Computing with IPython"
+HOMEPAGE="
+ https://ipyparallel.readthedocs.io/
+ https://github.com/ipython/ipyparallel/
+ https://pypi.org/project/ipyparallel/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~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[${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}]
+ >=www-servers/tornado-5.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/flit_core[${PYTHON_USEDEP}]
+ test? (
+ dev-python/ipython[test]
+ dev-python/mock[${PYTHON_USEDEP}]
+ 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
+ "${FILESDIR}"/${PN}-8.3.0-additional-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
+ )
+ [[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
+ # failing due to irrelevant warnings
+ ipyparallel/tests/test_client.py::TestClient::test_local_ip_true_doesnt_trigger_warning
+ )
+ epytest
+}
+
+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
+}