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() {
