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

- Update to 1.24.1
  * NumPy 1.24.1 is a maintenance release that fixes bugs and
    regressions discovered after the 1.24.0 release. The Python
    versions supported by this release are 3.8-3.11.
  * #22820: BLD: add workaround in setup.py for newer setuptools
  * #22830: BLD: CIRRUS_TAG redux
  * #22831: DOC: fix a couple typos in 1.23 notes
  * #22832: BUG: Fix refcounting errors found using pytest-leaks
  * #22834: BUG, SIMD: Fix invalid value encountered in several
    ufuncs
  * #22837: TST: ignore more np.distutils.log imports
  * #22839: BUG: Do not use getdata() in np.ma.masked_invalid
  * #22847: BUG: Ensure correct behavior for rows ending in
    delimiter in...
  * #22848: BUG, SIMD: Fix the bitmask of the boolean comparison
  * #22857: BLD: Help raspian arm + clang 13 about
    __builtin_mul_overflow
  * #22858: API: Ensure a full mask is returned for masked_invalid
  * #22866: BUG: Polynomials now copy properly (#22669)
  * #22867: BUG, SIMD: Fix memory overlap in ufunc comparison loops
  * #22868: BUG: Fortify string casts against floating point
    warnings
  * #22875: TST: Ignore nan-warnings in randomized out tests
  * #22883: MAINT: restore npymath implementations needed for
    freebsd
  * #22884: BUG: Fix integer overflow in in1d for mixed integer
    dtypes #22877
  * #22887: BUG: Use whole file for encoding checks with
    charset_normalizer.
- Drop numpy-distutils-ignore.patch fixed upstream

OBS-URL: https://build.opensuse.org/request/show/1046307
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=112
This commit is contained in:
Daniel Garcia 2023-01-03 09:23:16 +00:00 committed by Git OBS Bridge
parent 02883a96ec
commit 9de1686f54
5 changed files with 40 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4ab7c9711fe6b235e86487ca74c1b092a6dd59a3cb45b63241ea0a148501853
size 10897101

3
numpy-1.24.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2386da9a471cc00a1f47845e27d916d5ec5346ae9696e01a8a34760858fe9dd2
size 10903184

View File

@ -1,13 +0,0 @@
Index: numpy-1.24.0/numpy/tests/test_public_api.py
===================================================================
--- numpy-1.24.0.orig/numpy/tests/test_public_api.py
+++ numpy-1.24.0/numpy/tests/test_public_api.py
@@ -351,6 +351,8 @@ def test_all_modules_are_expected():
SKIP_LIST_2 = [
'numpy.math',
'numpy.distutils.log.sys',
+ 'numpy.distutils.log.logging',
+ 'numpy.distutils.log.warnings',
'numpy.doc.constants.re',
'numpy.doc.constants.textwrap',
'numpy.lib.emath',

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Mon Jan 2 19:31:48 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 1.24.1
* NumPy 1.24.1 is a maintenance release that fixes bugs and
regressions discovered after the 1.24.0 release. The Python
versions supported by this release are 3.8-3.11.
* #22820: BLD: add workaround in setup.py for newer setuptools
* #22830: BLD: CIRRUS_TAG redux
* #22831: DOC: fix a couple typos in 1.23 notes
* #22832: BUG: Fix refcounting errors found using pytest-leaks
* #22834: BUG, SIMD: Fix invalid value encountered in several
ufuncs
* #22837: TST: ignore more np.distutils.log imports
* #22839: BUG: Do not use getdata() in np.ma.masked_invalid
* #22847: BUG: Ensure correct behavior for rows ending in
delimiter in...
* #22848: BUG, SIMD: Fix the bitmask of the boolean comparison
* #22857: BLD: Help raspian arm + clang 13 about
__builtin_mul_overflow
* #22858: API: Ensure a full mask is returned for masked_invalid
* #22866: BUG: Polynomials now copy properly (#22669)
* #22867: BUG, SIMD: Fix memory overlap in ufunc comparison loops
* #22868: BUG: Fortify string casts against floating point
warnings
* #22875: TST: Ignore nan-warnings in randomized out tests
* #22883: MAINT: restore npymath implementations needed for
freebsd
* #22884: BUG: Fix integer overflow in in1d for mixed integer
dtypes #22877
* #22887: BUG: Use whole file for encoding checks with
charset_normalizer.
- Drop numpy-distutils-ignore.patch fixed upstream
-------------------------------------------------------------------
Mon Dec 19 13:36:35 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,8 +17,8 @@
%global flavor @BUILD_FLAVOR@%{nil}
%define ver 1.24.0
%define _ver 1_24_0
%define ver 1.24.1
%define _ver 1_24_1
%define pname python-numpy
%define plainpython python
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
@ -83,8 +83,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 numpy-distutils-ignore.patch -- gh#numpy/numpy#22828
Patch2: numpy-distutils-ignore.patch
BuildRequires: %{python_module Cython >= 0.29.30}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module devel}