663f010f08
- Enable openblas for python-numpy:gnu-hpc on s390x - Add patch fix-meson-multiple-python-versions.patch: * Ensure meson executes sys.executable when testing Cython. - Update to 1.26.4 * NumPy 1.26.4 is a maintenance release that fixes bugs and regressions discovered after the 1.26.3 release. The Python versions supported by this release are 3.9-3.12. This is the last planned release in the 1.26.x series. * BUG: Restore missing asstr import * MAINT: prepare 1.26.x for further development * BUG: numpy.array_api: fix linalg.cholesky upper decomp... * MAINT, BLD: Fix unused inline functions warnings on clang * TST: Fix test_numeric on riscv64 * MAINT: add newaxis to __all__ in numpy.array_api * BUG: Use large file fallocate on 32 bit linux platforms * TST: Fix test_warning_calls on Python 3.12 * TST: Bump pytz to 2023.3.post1 * BUG: Fix AVX512 build flags on Intel Classic Compiler * BLD: fix potential issue with escape sequences in __config__.py * BLD: unvendor meson-python on 1.26.x and upgrade to meson-python... * MAINT: Include header defining backtrace * BUG: Fix np.quantile([Fraction(2,1)], 0.5) (#24711) - Release 1.26.3 ## Compatibility * f2py will no longer accept ambiguous -m and .pyf CLI OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy1?expand=0&rev=1
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From: toddrme2178@gmail.com
|
|
Date: 2014-09-09 04:45:00 +0000
|
|
Subject: Remove windows-specific function
|
|
Upstream: openSUSE Fix
|
|
References:
|
|
http://lists.opensuse.org/opensuse-packaging/2014-09/msg00004.html
|
|
http://lists.opensuse.org/opensuse-packaging/2014-09/msg00005.html
|
|
|
|
__declspec(thread) is a windows-specific function that is causing
|
|
spurious compiler warnings. These warnings can be safely ignored,
|
|
but are being falsely flagged as serious problems that cause the
|
|
build to fail. Since this is windows-specific, it can be
|
|
safely removed.
|
|
|
|
|
|
Index: numpy-1.24.0/numpy/core/setup_common.py
|
|
===================================================================
|
|
--- numpy-1.24.0.orig/numpy/core/setup_common.py
|
|
+++ numpy-1.24.0/numpy/core/setup_common.py
|
|
@@ -141,7 +141,7 @@ OPTIONAL_FILE_FUNCS = ["ftello", "fseeko
|
|
OPTIONAL_MISC_FUNCS = ["backtrace", "madvise"]
|
|
|
|
# variable attributes tested via "int %s a" % attribute
|
|
-OPTIONAL_VARIABLE_ATTRIBUTES = ["__thread", "__declspec(thread)"]
|
|
+OPTIONAL_VARIABLE_ATTRIBUTES = ["__thread"]
|
|
|
|
# Subset of OPTIONAL_*_FUNCS which may already have HAVE_* defined by Python.h
|
|
OPTIONAL_FUNCS_MAYBE = [
|