python-numba/skip-failing-tests.patch
Matej Cepl 48b2d573c1 - Update to 0.61.0:
Major Numba release adding Python 3.13 and NumPy 2.1 support.
  Detailed changelog at https://numba.readthedocs.io/en/stable/release/0.61.0-notes.html
  Highlights:
  - Add initial implementation for a new type system
  - Python 3.13 support
  - Dropped support for Python 3.9
  - Update the minimum supported NumPy version to 1.24
  - Added Support for NumPy 2.1
- Remove upstreamed patches:
  - numpy21.patch
  - py313.patch
- Add skip-failing-tests.patch to skip test_noinline_on_main_call
  (gh#numba/numba#9658).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=104
2025-02-06 17:17:42 +00:00

66 lines
2.5 KiB
Diff

---
numba/tests/test_cli.py | 1 +
numba/tests/test_mathlib.py | 1 +
numba/tests/test_parfors.py | 5 +++--
numba/tests/test_parfors_passes.py | 1 +
4 files changed, 6 insertions(+), 2 deletions(-)
--- a/numba/tests/test_cli.py
+++ b/numba/tests/test_cli.py
@@ -264,6 +264,7 @@ class TestGDBCLIInfoBrokenGdbs(TestCase)
self.assertIn("No such file or directory", stdout)
self.assertIn(path, stdout)
+ @unittest.skip("Fails on type check in OBS")
def test_nonsense_gdb_binary(self):
# Tests that a nonsense binary specified as gdb it picked up ok
env = os.environ.copy()
--- a/numba/tests/test_mathlib.py
+++ b/numba/tests/test_mathlib.py
@@ -543,6 +543,7 @@ class TestMathLib(TestCase):
float('-inf'), float('inf'), float('nan')]
self.run_unary(pyfunc, x_types, x_values, prec='exact')
+ @unittest.skip("Fails on ppc64le https://github.com/numba/numba/issues/8489")
def test_ldexp(self):
pyfunc = ldexp
cfunc = njit(pyfunc)
--- a/numba/tests/test_parfors.py
+++ b/numba/tests/test_parfors.py
@@ -1205,6 +1205,7 @@ class TestParforNumPy(TestParforsBase):
self.check_variants(test_impl2, data_gen)
self.count_parfors_variants(test_impl2, data_gen)
+ @unittest.skip("Fails on type check in OBS")
def test_ndarray_fill(self):
def test_impl(x):
x.fill(7.0)
@@ -4725,7 +4726,7 @@ class TestParforsVectorizer(TestPrangeBa
return asm
- @linux_only
+ @unittest.skip("Our x86_64 asm is most probably different from the upstream one.")
@TestCase.run_test_in_subprocess
def test_vectorizer_fastmath_asm(self):
""" This checks that if fastmath is set and the underlying hardware
@@ -4766,7 +4767,7 @@ class TestParforsVectorizer(TestPrangeBa
# check no zmm addressing is present
self.assertTrue('zmm' not in v)
- @linux_only
+ @unittest.skip("Our x86_64 asm is most probably different from the upstream one.")
@TestCase.run_test_in_subprocess(envvars={'NUMBA_BOUNDSCHECK': '0'})
def test_unsigned_refusal_to_vectorize(self):
""" This checks that if fastmath is set and the underlying hardware
--- a/numba/tests/test_parfors_passes.py
+++ b/numba/tests/test_parfors_passes.py
@@ -514,6 +514,7 @@ class TestConvertLoopPass(BaseTest):
str(raises.exception),
)
+ @unittest.skip("Fails on type check in OBS")
def test_init_prange(self):
def test_impl():
n = 20