public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ipyparallel/, dev-python/ipyparallel/files/
Date: Tue, 28 Jun 2022 09:31:57 +0000 (UTC)	[thread overview]
Message-ID: <1656408608.c31e15861d20358500ad591cf46999c4424ac13a.sam@gentoo> (raw)

commit:     c31e15861d20358500ad591cf46999c4424ac13a
Author:     matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sun Jun 26 23:31:53 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 09:30:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c31e1586

dev-python/ipyparallel: increase timeouts for new tests in 8.3.0

Bug: https://bugs.gentoo.org/834198
Signed-off-by: matoro <matoro <AT> users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/26088
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...pyparallel-8.3.0-additional-test-timeouts.patch | 46 ++++++++++++++++++++++
 dev-python/ipyparallel/ipyparallel-8.3.0.ebuild    |  1 +
 dev-python/ipyparallel/ipyparallel-8.4.0.ebuild    |  1 +
 dev-python/ipyparallel/ipyparallel-8.4.1.ebuild    |  1 +
 4 files changed, 49 insertions(+)

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 0b986b8cdac3..1128874fd260 100644
--- a/dev-python/ipyparallel/ipyparallel-8.3.0.ebuild
+++ b/dev-python/ipyparallel/ipyparallel-8.3.0.ebuild
@@ -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
index 1a3d355d160d..238bb4888e55 100644
--- a/dev-python/ipyparallel/ipyparallel-8.4.0.ebuild
+++ b/dev-python/ipyparallel/ipyparallel-8.4.0.ebuild
@@ -52,6 +52,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.1.ebuild b/dev-python/ipyparallel/ipyparallel-8.4.1.ebuild
index 1a3d355d160d..238bb4888e55 100644
--- a/dev-python/ipyparallel/ipyparallel-8.4.1.ebuild
+++ b/dev-python/ipyparallel/ipyparallel-8.4.1.ebuild
@@ -52,6 +52,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() {


             reply	other threads:[~2022-06-28  9:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-28  9:31 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-20 15:02 [gentoo-commits] repo/gentoo:master commit in: dev-python/ipyparallel/, dev-python/ipyparallel/files/ Michał Górny
2020-08-07  4:53 Michał Górny

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=1656408608.c31e15861d20358500ad591cf46999c4424ac13a.sam@gentoo \
    --to=sam@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