- update to 1.25.2:

* Upgrade various build dependencies.
  * use ``-ftrapping-math`` with Clang on macOS
  * properly handle negative indexes in ufunc_at fast path
  * PyObject_IsTrue and PyObject_Not error handling in setflags
  * histogram small range robust
  * Update meson.build files from main branch
  * exclude min, max and round from ``np.__all__``
  * Dependabot updates
  * Fix the signature for np.array_api.take
  * update OpenBLAS to an intermeidate commit
  * Fix reference count leak in str(scalar).
  * fix invalid function pointer conversion error
  * Factor out slow ``getenv`` call used for memory policy warning
  * correct URL in cirrus.star [skip cirrus]
  * Fix C types in scalartypes
  * do not modify the input to ufunc_at
  * Further fixes to indexing loop and added tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=132
This commit is contained in:
2023-08-14 09:26:08 +00:00
committed by Git OBS Bridge
parent 8ebc83e3b1
commit f86dddfb56
4 changed files with 30 additions and 8 deletions

View File

@@ -17,8 +17,8 @@
%global flavor @BUILD_FLAVOR@%{nil}
%define ver 1.25.1
%define _ver 1_25_1
%define ver 1.25.2
%define _ver 1_25_2
%define pname python-numpy
%define plainpython python
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
@@ -88,7 +88,7 @@ Patch0: numpy-buildfix.patch
Patch1: numpy-1.9.0-remove-__declspec.patch
# PATCH-FIX-OPENSUSE Ignore DeprecationWarnings when importing pkg_resources
Patch2: ignore-pkg_resources-deprecation.patch
BuildRequires: %{python_module Cython >= 0.29.30}
BuildRequires: %{python_module Cython >= 0.29.30 with %python-Cython < 3}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools >= 60.0.0}
@@ -99,8 +99,8 @@ BuildConflicts: gcc11 < 11.2
BuildRequires: fdupes
%endif
# SECTION test requirements
BuildRequires: %{python_module pytest >= 6.2.5}
BuildRequires: %{python_module hypothesis >= 6.24.1}
BuildRequires: %{python_module pytest >= 7.4.0}
BuildRequires: %{python_module hypothesis >= 6.75.0}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module testsuite}
BuildRequires: %{python_module typing-extensions >= 4.2.0}