From 0d9f83522f47cd9736368677510f6e1ff7b9ede8 Mon Sep 17 00:00:00 2001 From: desert-sailor Date: Tue, 17 Jun 2025 12:24:42 +0800 Subject: [PATCH] Fix build error for numpy upgrade --- 0001-oldest-supported-numpy-2023.12.21.patch | 2 +- python-oldest-supported-numpy.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/0001-oldest-supported-numpy-2023.12.21.patch b/0001-oldest-supported-numpy-2023.12.21.patch index 404bfa0..f995550 100644 --- a/0001-oldest-supported-numpy-2023.12.21.patch +++ b/0001-oldest-supported-numpy-2023.12.21.patch @@ -16,7 +16,7 @@ index 3b4a3a3..547239b 100644 # however macOS was broken and it's safe to build against 1.21.6 on all platforms (see gh-28 and gh-45) numpy==1.21.6; python_version=='3.10' and platform_machine!='loongarch64' - numpy==1.23.2; python_version=='3.11' -+ numpy==1.24.3; python_version=='3.11' ++ numpy==1.26.4; python_version=='3.11' # numpy 1.26 before 1.26.2 enforced the presence of a blas library # when building from source, e.g. on i686 ( https://github.com/numpy/numpy/issues/24703 ) numpy==1.26.2; python_version=='3.12' diff --git a/python-oldest-supported-numpy.spec b/python-oldest-supported-numpy.spec index 6b3d924..d0da63b 100644 --- a/python-oldest-supported-numpy.spec +++ b/python-oldest-supported-numpy.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 2023.12.21 -Release: 1 +Release: 2 Summary: Meta-package that provides the oldest NumPy that supports a given Python version and platform. License: BSD URL: https://github.com/scipy/oldest-supported-numpy @@ -44,6 +44,9 @@ Summary: %{summary} %doc README.rst %changelog +* Tue Jun 17 2025 Dongxing Wang - 2023.12.21-2 +- Fix build error for numpy upgrade + * Wed Nov 13 2024 Dongxing Wang - 2023.12.21-1 - Update version to 2023.12.21 Update to 1.19.3 for python3.8 in aarch64 to limit cython<3.0 -- Gitee