Accepting request 920368 from home:bnavigator:branches:devel:languages:python:numeric

- Update to 1.21.2
  * #19497: MAINT: set Python version for 1.21.x to <3.11
  * #19533: BUG: Fix an issue wherein importing numpy.typing could raise
  * #19646: MAINT: Update Cython version for Python 3.10.
  * #19648: TST: Bump the python 3.10 test version from beta4 to rc1
  * #19651: TST: avoid distutils.sysconfig in runtests.py
  * #19652: MAINT: add missing dunder method to nditer type hints
  * #19656: BLD, SIMD: Fix testing extra checks when -Werror isn't applicable...
  * #19657: BUG: Remove logical object ufuncs with bool output
  * #19658: MAINT: Include .coveragerc in source distributions to support...
  * #19659: BUG: Fix bad write in masked iterator output copy paths
  * #19660: ENH: Add support for windows on arm targets
  * #19661: BUG: add base to templated arguments for platlib
  * #19662: BUG,DEP: Non-default UFunc signature/dtype usage should be deprecated
  * #19666: MAINT: Add Python 3.10 to supported versions.
  * #19668: TST,BUG: Sanitize path-separators when running runtest.py
  * #19671: BLD: load extra flags when checking for libflame
  * #19676: BLD: update circleCI docker image
  * #19677: REL: Prepare for 1.21.2 release.
- Release 1.21.1
  * #19311: REV,BUG: Replace NotImplemented with typing.Any
  * #19324: MAINT: Fixed the return-dtype of ndarray.real and imag
  * #19330: MAINT: Replace "dtype[Any]" with dtype in the definiton of...
  * #19342: DOC: Fix some docstrings that crash pdf generation.
  * #19343: MAINT: bump scipy-mathjax
  * #19347: BUG: Fix arr.flat.index for large arrays and big-endian machines
  * #19348: ENH: add numpy.f2py.get_include function
  * #19349: BUG: Fix reference count leak in ufunc dtype handling
  * #19350: MAINT: Annotate missing attributes of np.number subclasses
  * #19351: BUG: Fix cast safety and comparisons for zero sized voids

OBS-URL: https://build.opensuse.org/request/show/920368
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=95
This commit is contained in:
2021-09-21 09:17:03 +00:00
committed by Git OBS Bridge
parent fc09d9de12
commit c4e1fa4e65
6 changed files with 61 additions and 168 deletions

View File

@@ -17,8 +17,8 @@
%global flavor @BUILD_FLAVOR@%{nil}
%define ver 1.21.0
%define _ver 1_21_0
%define ver 1.21.2
%define _ver 1_21_2
%define pname python-numpy
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
%if "%{flavor}" == ""
@@ -77,11 +77,8 @@ 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 0001-BUG-Fix-infinite-loop-on-gcc11.patch
Patch2: 0001-BUG-Fix-infinite-loop-on-gcc11.patch
# PATCH-FIX-UPSTREAM numpy-pr19326-fix-subarray-segfault.patch -- gh#numpy/numpy#19326
Patch3: https://github.com/numpy/numpy/pull/19326.patch#/numpy-pr19326-fix-subarray-segfault.patch
BuildRequires: %{python_module Cython >= 0.29.23}
BuildConflicts: gcc11 < 11.2
BuildRequires: %{python_module Cython >= 0.29.24}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hypothesis >= 6.12.0}