1 |
commit: c31e15861d20358500ad591cf46999c4424ac13a |
2 |
Author: matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com> |
3 |
AuthorDate: Sun Jun 26 23:31:53 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 09:30:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c31e1586 |
7 |
|
8 |
dev-python/ipyparallel: increase timeouts for new tests in 8.3.0 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/834198 |
11 |
Signed-off-by: matoro <matoro <AT> users.noreply.github.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/26088 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
...pyparallel-8.3.0-additional-test-timeouts.patch | 46 ++++++++++++++++++++++ |
16 |
dev-python/ipyparallel/ipyparallel-8.3.0.ebuild | 1 + |
17 |
dev-python/ipyparallel/ipyparallel-8.4.0.ebuild | 1 + |
18 |
dev-python/ipyparallel/ipyparallel-8.4.1.ebuild | 1 + |
19 |
4 files changed, 49 insertions(+) |
20 |
|
21 |
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 |
22 |
new file mode 100644 |
23 |
index 000000000000..22b2910d4d10 |
24 |
--- /dev/null |
25 |
+++ b/dev-python/ipyparallel/files/ipyparallel-8.3.0-additional-test-timeouts.patch |
26 |
@@ -0,0 +1,46 @@ |
27 |
+https://bugs.gentoo.org/834198 |
28 |
+ |
29 |
+diff --git a/ipyparallel/tests/test_view.py b/ipyparallel/tests/test_view.py |
30 |
+index 5b5ca41..4c04d02 100644 |
31 |
+--- a/ipyparallel/tests/test_view.py |
32 |
++++ b/ipyparallel/tests/test_view.py |
33 |
+@@ -628,7 +628,7 @@ class TestView(ClusterTestCase): |
34 |
+ """exceptions in execute requests raise appropriately""" |
35 |
+ view = self.client[-1] |
36 |
+ ar = view.execute("1/0") |
37 |
+- self.assertRaisesRemote(ZeroDivisionError, ar.get, 2) |
38 |
++ self.assertRaisesRemote(ZeroDivisionError, ar.get, 20) |
39 |
+ |
40 |
+ def test_remoteerror_render_exception(self): |
41 |
+ """RemoteErrors get nice tracebacks""" |
42 |
+@@ -637,7 +637,7 @@ class TestView(ClusterTestCase): |
43 |
+ ip = get_ipython() |
44 |
+ ip.user_ns['ar'] = ar |
45 |
+ with capture_output() as io: |
46 |
+- ip.run_cell("ar.get(2)") |
47 |
++ ip.run_cell("ar.get(20)") |
48 |
+ |
49 |
+ self.assertTrue('ZeroDivisionError' in io.stdout, io.stdout) |
50 |
+ |
51 |
+@@ -649,7 +649,7 @@ class TestView(ClusterTestCase): |
52 |
+ ip.user_ns['ar'] = ar |
53 |
+ |
54 |
+ with capture_output() as io: |
55 |
+- ip.run_cell("ar.get(2)") |
56 |
++ ip.run_cell("ar.get(20)") |
57 |
+ |
58 |
+ count = min(error.CompositeError.tb_limit, len(view)) |
59 |
+ |
60 |
+@@ -689,10 +689,10 @@ class TestView(ClusterTestCase): |
61 |
+ view = self.client[-1] |
62 |
+ ar = view.execute("%pylab inline") |
63 |
+ # at least check if this raised: |
64 |
+- reply = ar.get(5) |
65 |
++ reply = ar.get(50) |
66 |
+ # include imports, in case user config |
67 |
+ ar = view.execute("plot(rand(100))", silent=False) |
68 |
+- reply = ar.get(5) |
69 |
++ reply = ar.get(50) |
70 |
+ assert ar.wait_for_output(5) |
71 |
+ self.assertEqual(len(reply.outputs), 1) |
72 |
+ output = reply.outputs[0] |
73 |
|
74 |
diff --git a/dev-python/ipyparallel/ipyparallel-8.3.0.ebuild b/dev-python/ipyparallel/ipyparallel-8.3.0.ebuild |
75 |
index 0b986b8cdac3..1128874fd260 100644 |
76 |
--- a/dev-python/ipyparallel/ipyparallel-8.3.0.ebuild |
77 |
+++ b/dev-python/ipyparallel/ipyparallel-8.3.0.ebuild |
78 |
@@ -48,6 +48,7 @@ distutils_enable_tests pytest |
79 |
|
80 |
PATCHES=( |
81 |
"${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch |
82 |
+ "${FILESDIR}"/${PN}-8.3.0-additional-test-timeouts.patch |
83 |
) |
84 |
|
85 |
src_configure() { |
86 |
|
87 |
diff --git a/dev-python/ipyparallel/ipyparallel-8.4.0.ebuild b/dev-python/ipyparallel/ipyparallel-8.4.0.ebuild |
88 |
index 1a3d355d160d..238bb4888e55 100644 |
89 |
--- a/dev-python/ipyparallel/ipyparallel-8.4.0.ebuild |
90 |
+++ b/dev-python/ipyparallel/ipyparallel-8.4.0.ebuild |
91 |
@@ -52,6 +52,7 @@ distutils_enable_tests pytest |
92 |
|
93 |
PATCHES=( |
94 |
"${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch |
95 |
+ "${FILESDIR}"/${PN}-8.3.0-additional-test-timeouts.patch |
96 |
) |
97 |
|
98 |
src_configure() { |
99 |
|
100 |
diff --git a/dev-python/ipyparallel/ipyparallel-8.4.1.ebuild b/dev-python/ipyparallel/ipyparallel-8.4.1.ebuild |
101 |
index 1a3d355d160d..238bb4888e55 100644 |
102 |
--- a/dev-python/ipyparallel/ipyparallel-8.4.1.ebuild |
103 |
+++ b/dev-python/ipyparallel/ipyparallel-8.4.1.ebuild |
104 |
@@ -52,6 +52,7 @@ distutils_enable_tests pytest |
105 |
|
106 |
PATCHES=( |
107 |
"${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch |
108 |
+ "${FILESDIR}"/${PN}-8.3.0-additional-test-timeouts.patch |
109 |
) |
110 |
|
111 |
src_configure() { |