1 Commits

Author SHA256 Message Date
835ea86c61 Accepting request 1296837 from devel:languages:python:numeric
Forwarded request #1296687 from bmwiedemann

This was now merged upstream, so I added relevant metadata

  Add reproducible.patch to make debuginfo reproducible (bsc#1245203)

OBS-URL: https://build.opensuse.org/request/show/1296837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=139
2026-01-12 14:05:47 +01:00
5 changed files with 1358 additions and 68 deletions

BIN
numpy-2.2.2.tar.gz LFS Normal file

Binary file not shown.

View File

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

View File

@@ -1,65 +1,3 @@
-------------------------------------------------------------------
Thu Sep 25 12:58:04 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 2.3.3
* BUG: Fix test_configtool_pkgconfigdir to resolve PKG_CONFIG_DIR
* BLD: allow targeting webassembly without emscripten
* BUG: Always return a real dtype from linalg.cond
* BLD: update vendored Meson to 1.8.3
* TYP: ndarray.fill() takes no keyword arguments
* BLD: Add missing <unordered_map> include
* TYP: fix np.bool method declarations
- Drop reproducible.patch, merged upstream
-------------------------------------------------------------------
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

@@ -1,7 +1,7 @@
#
# spec file for package python-numpy
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,8 @@
%{?sle15_python_module_pythons}
Name: python-numpy
Version: 2.3.3
# set %%ver and %%_ver instead above
Version: 2.2.2
Release: 0
Summary: NumPy array processing for numbers, strings, records and objects
License: BSD-3-Clause
@@ -42,8 +43,10 @@ Patch0: numpy-buildfix.patch
# PATCH-FIX-UPSTREAM update-meson-1_5_2.patch gh#numpy/numpy#27531 mcepl@suse.com
# update vendored meson
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.11}
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module meson-python >= 0.15}
BuildRequires: %{python_module pip}

1349
reproducible.patch Normal file

File diff suppressed because it is too large Load Diff