* [gentoo-commits] proj/sci:master commit in: dev-python/numba/files/
@ 2020-12-02 15:52 Aisha Tammy
0 siblings, 0 replies; only message in thread
From: Aisha Tammy @ 2020-12-02 15:52 UTC (permalink / raw
To: gentoo-commits
commit: fb03d3745caf59053460402146286dffe8e67025
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Wed Dec 2 15:52:21 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Wed Dec 2 15:52:21 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=fb03d374
dev-python/numba: add updated patch
refreshed patch by Bernd Feige <Bernd.Feige <AT> gmx.net>
Closes: https://bugs.gentoo.org/758020
Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --force
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
.../numba/files/numba-0.52.0-skip_tests.patch | 34 ++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/dev-python/numba/files/numba-0.52.0-skip_tests.patch b/dev-python/numba/files/numba-0.52.0-skip_tests.patch
new file mode 100644
index 000000000..f31af4bfb
--- /dev/null
+++ b/dev-python/numba/files/numba-0.52.0-skip_tests.patch
@@ -0,0 +1,34 @@
+Index: numba-0.52.0/numba/tests/test_jitclasses.py
+===================================================================
+--- numba-0.52.0.orig/numba/tests/test_jitclasses.py
++++ numba-0.52.0/numba/tests/test_jitclasses.py
+@@ -929,6 +929,7 @@ class TestJitClass(TestCase, MemoryLeakM
+ self.assertEqual(t[2:2:1], 2)
+ self.assertEqual(t[6:6:1], 3)
+
++ @unittest.skip("Gentoo has not reverted the LLVM 'truncate longlabel' patch")
+ def test_jitclass_longlabel_not_truncated(self):
+ # See issue #3872, llvm 7 introduced a max label length of 1024 chars
+ # Numba ships patched llvm 7.1 (ppc64le) and patched llvm 8 to undo this
+Index: numba-0.52.0/numba/tests/test_record_dtype.py
+===================================================================
+--- numba-0.52.0.orig/numba/tests/test_record_dtype.py
++++ numba-0.52.0/numba/tests/test_record_dtype.py
+@@ -796,7 +796,7 @@ class TestRecordDtype(unittest.TestCase)
+ # len(transformed) is generally 10, but could be longer if a large
+ # number of typecodes are in use. Checking <20 should provide enough
+ # tolerance.
+- self.assertLess(len(transformed), 20)
++ self.assertLessEqual(len(transformed), 20)
+
+ struct_arr = types.Array(rec, 1, 'C')
+ transformed = mangle_type(struct_arr)
+@@ -804,7 +804,7 @@ class TestRecordDtype(unittest.TestCase)
+ self.assertNotIn('first', transformed)
+ self.assertNotIn('second', transformed)
+ # Length is usually 50 - 5 chars tolerance as above.
+- self.assertLess(len(transformed), 50)
++ self.assertLessEqual(len(transformed), 50)
+
+ def test_record_two_arrays(self):
+ """
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-02 15:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-02 15:52 [gentoo-commits] proj/sci:master commit in: dev-python/numba/files/ Aisha Tammy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox