diff --git a/python-numpy.changes b/python-numpy.changes index 330a696..35c422f 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Jan 15 16:35:46 UTC 2024 - Andreas Schwab + +- Update list of expected test failures on riscv64 + +------------------------------------------------------------------- +Thu Jan 11 07:33:45 UTC 2024 - Torsten Gruner + +- Fix gnu-hpc build error for Leap + ------------------------------------------------------------------- Wed Dec 27 12:57:32 UTC 2023 - ecsos diff --git a/python-numpy.spec b/python-numpy.spec index ef4f62a..81cf851 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -201,10 +201,6 @@ sed -i '1s/^#!.*$//' numpy/random/_examples/cython/*.pyx rm -f PKG-INFO %build -%if 0%{?suse_version} <= 1600 -export CC=gcc-12 -export CXX=g++-12 -%endif %define _lto_cflags %{nil} %if %{with hpc} %hpc_setup @@ -219,6 +215,10 @@ EOF %else export CFLAGS="%{optflags} -fno-strict-aliasing" %endif +%if 0%{?suse_version} <= 1600 +export CC=gcc-12 +export CXX=g++-12 +%endif %pyproject_wheel @@ -339,8 +339,9 @@ test_failok+=" or (test_umath and test_unary_spurious_fpexception)" %ifarch riscv64 # These tests fail due to non-portable assumptions about the signbit of NaN # gh#numpy/numpy#8213 -test_failok+=" or test_fpclass" -test_failok+=" or test_float" +test_failok+=" or (test_umath and test_fpclass)" +test_failok+=" or (test_numeric and TestBoolCmp and test_float)" +test_failok+=" or (test_umath and test_fp_noncontiguous)" %endif echo "