Accepting request 904569 from home:alarrosa:branches:devel:languages:python:numeric

Note that this requires the new python-hypothesis which was submitted
in SR #904558 . I tested that they build together correctly in
https://build.opensuse.org/package/show/home:alarrosa:branches:openSUSE:Factory:Rings:1-MinimalX/python-numpy
If both 904558 and this SR are approved and submitted together to
Factory, that would be great.

- update to 1.21.0:
  * DEP: Deprecate data_type.dtype if attribute is not already...
  * ENH: Implement faster keyword argument parsing capable of METH_FASTCALL
  * ENH: Optimize and cleanup ufunc calls and ufunc CheckOverrides
  * BUG: Remove temporary change of descr/flags in VOID functions
  * DOC: Add more information about poly1d -> polynomial to reference...
  * ENH: Warn when reloading numpy or using numpy in sub-interpreter
  * DOC: Fix for building with sphinx 3
  * DOC: unify the docs for np.transpose and ndarray.transpose
  * DOC: added examples section for rfft2 and irfft2 docstring
  * DOC: Fix Typo (Wrong argument name)
  * ENH: Phase unwrapping generalized to arbitrary interval size
  * SIMD: Optimize the performance of np.packbits in AVX2/AVX512F/VSX.
  * MAINT: Use numpy version for f2py version.
  * DEP: Shift correlate mode parsing to C and deprecate inexact...
  * DEP: Formally deprecate np.typeDict
  * SIMD: Replace raw SIMD of sin/cos with NPYV(universal intrinsics)
  * MAINT: Bump pydata-sphinx-theme and set logo link to index
  * DOC: Add module template
  * ENH: Make ndarray generic w.r.t. its shape and dtype
  * ENH: Added libdivide for floor divide
  * BUG, Benchmark: fix passing optimization build options to asv
  * MAINT, Benchmark: print the supported CPU features during the...
  * ENH: Add annotations for comparison operations
  * SIMD: Optimize the performance of einsum's submodule multiply...
  * ENH, SIMD: Add new NPYV intrinsics pack(0)
  * ENH, SIMD: Add new NPYV intrinsics pack(1)
  * BLD: Enable Werror=undef in travis
  * ENH: add support for fujitsu compiler to numpy.
  * ENH: Add two new _<X>Like unions

OBS-URL: https://build.opensuse.org/request/show/904569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=91
This commit is contained in:
2021-07-07 12:43:11 +00:00
committed by Git OBS Bridge
parent a61bfcedbc
commit f322a22f9a
6 changed files with 635 additions and 44 deletions

View File

@@ -17,8 +17,8 @@
%global flavor @BUILD_FLAVOR@%{nil}
%define ver 1.20.3
%define _ver 1_20_3
%define ver 1.21.0
%define _ver 1_21_0
%define pname python-numpy
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
%if "%{flavor}" == ""
@@ -77,13 +77,13 @@ 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 fix-asarray.patch alarrosa@suse.com -- fix invalid usage of dtype which is not a positional parameter
Patch2: fix-asarray.patch
BuildRequires: %{python_module Cython >= 0.29.21}
# PATCH-FIX-UPSTREAM 0001-BUG-Fix-infinite-loop-on-gcc11.patch
Patch2: 0001-BUG-Fix-infinite-loop-on-gcc11.patch
BuildRequires: %{python_module Cython >= 0.29.23}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hypothesis >= 5.12.0}
BuildRequires: %{python_module pytest >= 5.4.2}
BuildRequires: %{python_module hypothesis >= 6.12.0}
BuildRequires: %{python_module pytest >= 6.2.4}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testsuite}