Accepting request 1299204 from home:mcalabkova:branches:devel:languages:python:numeric

- Update to 2.3.2
  * This release supports Python versions 3.11-3.14
  # 2.3.0
  * Interactive examples in the NumPy documentation.
  * Building NumPy with OpenMP Parallelization.
  * Improved support for free threaded Python.
  * Improved annotations.
  * New function numpy.strings.slice
  ## Deprecations
  * The numpy.typing.mypy_plugin has been deprecated in favor of platform-
    agnostic static type inference.
  * The numpy.typing.NBitBase type has been deprecated and will be removed
    in a future version.
  ## Expired deprecations
  * Removed the np.compat package source code
  * Remove numpy/npy_1_7_deprecated_api.h and C macros like NPY_OWNDATA
    in favor of NPY_ARRAY_OWNDATA.
  * Remove alias generate_divbyzero_error to npy_set_floatstatus_divbyzero
    and generate_overflow_error to npy_set_floatstatus_overflow.
  * Remove np.tostring
  * Raise on np.conjugate of non-numeric types
  * Raise when using np.bincount(...minlength=None), use 0 instead
  * Passing shape=None to functions with a non-optional shape argument errors,
    use () instead
  * Inexact matches for mode and searchside raise
  * Setting __array_finalize__ = None errors
  * np.fromfile and np.fromstring error on bad data, previously they would guess
  * datetime64 and timedelta64 construction with a tuple no longer accepts an
    event value, either use a two-tuple of (unit, num) or a 4-tuple of (unit, num, den, 1) 
  * Parsing an integer via a float string is no longer supported. To avoid this

OBS-URL: https://build.opensuse.org/request/show/1299204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=188
This commit is contained in:
2025-08-13 09:06:28 +00:00
committed by Git OBS Bridge
parent 403e02ce8c
commit b6a67481f5
4 changed files with 54 additions and 6 deletions

Binary file not shown.

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

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

View File

@@ -1,3 +1,52 @@
-------------------------------------------------------------------
Wed Aug 13 08:24:49 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 2.3.2
* This release supports Python versions 3.11-3.14
# 2.3.0
* Interactive examples in the NumPy documentation.
* Building NumPy with OpenMP Parallelization.
* Improved support for free threaded Python.
* Improved annotations.
* New function numpy.strings.slice
## Deprecations
* The numpy.typing.mypy_plugin has been deprecated in favor of platform-
agnostic static type inference.
* The numpy.typing.NBitBase type has been deprecated and will be removed
in a future version.
## Expired deprecations
* Removed the np.compat package source code
* Remove numpy/npy_1_7_deprecated_api.h and C macros like NPY_OWNDATA
in favor of NPY_ARRAY_OWNDATA.
* Remove alias generate_divbyzero_error to npy_set_floatstatus_divbyzero
and generate_overflow_error to npy_set_floatstatus_overflow.
* Remove np.tostring
* Raise on np.conjugate of non-numeric types
* Raise when using np.bincount(...minlength=None), use 0 instead
* Passing shape=None to functions with a non-optional shape argument errors,
use () instead
* Inexact matches for mode and searchside raise
* Setting __array_finalize__ = None errors
* np.fromfile and np.fromstring error on bad data, previously they would guess
* datetime64 and timedelta64 construction with a tuple no longer accepts an
event value, either use a two-tuple of (unit, num) or a 4-tuple of (unit, num, den, 1)
* Parsing an integer via a float string is no longer supported. To avoid this
error you can make sure the original data is stored as integers, use the
converters=float keyword argument or use np.loadtxt(...).astype(np.int64)
* The use of a length 1 tuple for the ufunc signature errors. Use dtype or fill
the tuple with None
## New Features
* NumPy now registers its pkg-config paths with the pkgconf PyPI package
* Allow out=... in ufuncs to ensure array result
# 2.3.1
* Fix bug in matmul for non-contiguous out kwarg parameter
* Fix for Accelerate runtime warnings on M4 hardware
* Improved support of cpu features for FreeBSD and OpenBSD
# 2.3.2
* Wheels for Python 3.14.0rc1
* PyPy updated to the latest stable release
* OpenBLAS updated to 0.3.30
-------------------------------------------------------------------
Tue Jul 29 11:09:08 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -30,8 +30,7 @@
%{?sle15_python_module_pythons}
Name: python-numpy
# set %%ver and %%_ver instead above
Version: 2.2.2
Version: 2.3.2
Release: 0
Summary: NumPy array processing for numbers, strings, records and objects
License: BSD-3-Clause
@@ -46,7 +45,7 @@ Patch1: update-meson-1_5_2.patch
# PATCH-FIX-UPSTREAM reproducible.patch https://github.com/numpy/numpy/pull/29481 bwiedemann@suse
Patch2: reproducible.patch
BuildRequires: %{python_module Cython >= 3.0}
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module base >= 3.11}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module meson-python >= 0.15}
BuildRequires: %{python_module pip}