From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ipyparallel/files/, dev-python/ipyparallel/
Date: Sat, 23 Nov 2024 09:50:29 +0000 (UTC) [thread overview]
Message-ID: <1732355418.8cffad48d23459ca707be4bc32ad77d74d9eb9cf.mgorny@gentoo> (raw)
commit: 8cffad48d23459ca707be4bc32ad77d74d9eb9cf
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 09:42:08 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 09:50:18 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cffad48
dev-python/ipyparallel: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/ipyparallel/Manifest | 1 -
.../files/ipyparallel-7.1.0-test-timeouts.patch | 48 ------------
dev-python/ipyparallel/ipyparallel-8.8.0.ebuild | 86 ----------------------
3 files changed, 135 deletions(-)
diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest
index 14c2b8924b47..03d90ba2ee5f 100644
--- a/dev-python/ipyparallel/Manifest
+++ b/dev-python/ipyparallel/Manifest
@@ -1,2 +1 @@
-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/files/ipyparallel-7.1.0-test-timeouts.patch b/dev-python/ipyparallel/files/ipyparallel-7.1.0-test-timeouts.patch
deleted file mode 100644
index 2b0614e95d7d..000000000000
--- a/dev-python/ipyparallel/files/ipyparallel-7.1.0-test-timeouts.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-https://bugs.gentoo.org/823458
-
-From: Sam James <sam@gentoo.org>
-Date: Sun, 14 Nov 2021 08:34:15 +0000
-Subject: [PATCH] Crank up test timeouts
-
---- a/ipyparallel/tests/__init__.py
-+++ b/ipyparallel/tests/__init__.py
-@@ -74,7 +74,7 @@ def setup():
- while not os.path.exists(engine_json) or not os.path.exists(client_json):
- if cp.poll() is not None:
- raise RuntimeError("The test controller exited with status %s" % cp.poll())
-- elif time.time() - tic > 15:
-+ elif time.time() - tic > 60:
- raise RuntimeError("Timeout waiting for the test controller to start.")
- time.sleep(0.1)
- add_engines(1)
-@@ -107,7 +107,7 @@ def add_engines(n=1, profile='iptest', total=False):
- while len(rc) < base + n:
- if any([ep.poll() is not None for ep in eps]):
- raise RuntimeError("A test engine failed to start.")
-- elif time.time() - tic > 15:
-+ elif time.time() - tic > 60:
- raise RuntimeError("Timeout waiting for engines to connect.")
- time.sleep(0.1)
- rc.close()
---- a/ipyparallel/tests/test_lbview.py
-+++ b/ipyparallel/tests/test_lbview.py
-@@ -21,7 +21,7 @@ class TestLoadBalancedView(ClusterTestCase):
- self.assertRaisesRemote(error.EngineError, ar.get, 10)
- eid = ar.engine_id
- tic = time.time()
-- while eid in self.client.ids and time.time() - tic < 5:
-+ while eid in self.client.ids and time.time() - tic < 30:
- time.sleep(0.01)
- assert eid not in self.client.ids
-
---- a/ipyparallel/tests/test_view.py
-+++ b/ipyparallel/tests/test_view.py
-@@ -47,7 +47,7 @@ class TestView(ClusterTestCase):
- ar = view.apply_async(conditional_crash, ipp.Reference("should_crash"))
- self.assertRaisesRemote(error.EngineError, ar.get, 10)
- tic = time.perf_counter()
-- while eid in self.client.ids and time.perf_counter() - tic < 5:
-+ while eid in self.client.ids and time.perf_counter() - tic < 30:
- time.sleep(0.05)
- assert eid not in self.client.ids
-
diff --git a/dev-python/ipyparallel/ipyparallel-8.8.0.ebuild b/dev-python/ipyparallel/ipyparallel-8.8.0.ebuild
deleted file mode 100644
index 914e39f18627..000000000000
--- a/dev-python/ipyparallel/ipyparallel-8.8.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# 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/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
-}
next reply other threads:[~2024-11-23 9:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-23 9:50 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-04 15:18 [gentoo-commits] repo/gentoo:master commit in: dev-python/ipyparallel/files/, dev-python/ipyparallel/ Michał Górny
2024-03-22 4:38 Michał Górny
2021-11-14 8:35 Sam James
2019-05-01 16:48 Virgil Dupras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1732355418.8cffad48d23459ca707be4bc32ad77d74d9eb9cf.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox