- update to 1.21.6:

* Do not forward `__(deep)copy__` calls of `_GenericAlias`...
  * Fix float16 einsum fastpaths using wrong tempvar
  * Print os error message when the executable not exist
  * Force ``npymath` ` to respect ``npy_longdouble``
  * Fix failure to create aligned, empty structured dtype
  * provide a convenience function to replace npy_load_module
  * update wheel to version that supports python3.10
  * Clear errors correctly in F2PY conversions
  * add a warningfilter to fix pytest workflow.
  * Help boost::python libraries at least not crash
- drop bpo-45167-fixes.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=105
This commit is contained in:
2022-05-29 18:35:40 +00:00
committed by Git OBS Bridge
parent 4e64096b95
commit 8a361c40e3
5 changed files with 22 additions and 67 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,8 +24,8 @@
%endif
%global flavor @BUILD_FLAVOR@%{nil}
%define ver 1.21.4
%define _ver 1_21_4
%define ver 1.21.6
%define _ver 1_21_6
%define pname python-numpy
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
%if "%{flavor}" == ""
@@ -84,8 +84,6 @@ Source99: python-numpy-rpmlintrc
Patch0: numpy-buildfix.patch
# PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious compiler warnings that cause build failure
Patch1: numpy-1.9.0-remove-__declspec.patch
# PATCH-FIX-UPSTREAM -- gh#numpy/numpy#20347
Patch2: bpo-45167-fixes.patch
# PATCH-FIX-UPSTREAM -- gh#numpy/numpy#20388
Patch3: numpy-fix-cpu_asimdfhm.patch
BuildConflicts: gcc11 < 11.2