update to py3-oldest-supported-numpy-2023.12.21

the patch can be dropped, because for python 3.13 it allows any version
This commit is contained in:
sthen
2026-01-07 14:35:43 +00:00
parent 2c40b78134
commit 9712afcd4f
4 changed files with 10 additions and 58 deletions
+2 -3
View File
@@ -1,9 +1,8 @@
COMMENT= pypi meta-package to depend on numpy
COMMENT= deprecated pypi meta-package to depend on numpy
MODPY_DISTV= 2022.8.16
MODPY_DISTV= 2023.12.21
DISTNAME= oldest-supported-numpy-${MODPY_DISTV}
PKGNAME= py-${DISTNAME}
REVISION= 3
CATEGORIES= math
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (oldest-supported-numpy-2022.8.16.tar.gz) = vCFoK2blibxka5O6Cn9d3fsYO8kM8Tp1ixpI8Aynq2U=
SIZE (oldest-supported-numpy-2022.8.16.tar.gz) = 3910
SHA256 (oldest-supported-numpy-2023.12.21.tar.gz) = cdicMbtWeBTkfi4mjrLpK2+Z9c529MPbMIM2JOnvKeA=
SIZE (oldest-supported-numpy-2023.12.21.tar.gz) = 5200
@@ -1,43 +0,0 @@
Index: setup.cfg
--- setup.cfg.orig
+++ setup.cfg
@@ -11,38 +11,7 @@ version = 2022.8.16
[options]
python_requires = >=3.5
install_requires =
-
- numpy==1.16.0; python_version=='3.5' and platform_system=='AIX'
- numpy==1.16.0; python_version=='3.6' and platform_system=='AIX'
- numpy==1.16.0; python_version=='3.7' and platform_system=='AIX'
-
- numpy==1.18.5; python_version=='3.5' and platform_machine=='aarch64' and platform_python_implementation != 'PyPy'
- numpy==1.19.2; python_version=='3.6' and platform_machine=='aarch64' and platform_python_implementation != 'PyPy'
- numpy==1.19.2; python_version=='3.7' and platform_machine=='aarch64' and platform_python_implementation != 'PyPy'
- numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64' and platform_python_implementation != 'PyPy'
-
- numpy==1.21.0; python_version=='3.7' and platform_machine=='arm64' and platform_system=='Darwin'
- numpy==1.21.0; python_version=='3.8' and platform_machine=='arm64' and platform_system=='Darwin'
- numpy==1.21.0; python_version=='3.9' and platform_machine=='arm64' and platform_system=='Darwin'
-
- numpy==1.17.5; python_version=='3.8' and platform_machine=='s390x' and platform_python_implementation != 'PyPy'
-
- numpy==1.22.2; platform_machine=='loongarch64' and python_version<'3.11'
-
- numpy==1.13.3; python_version=='3.5' and platform_machine not in 'aarch64|loongarch64' and platform_system!='AIX'
- numpy==1.13.3; python_version=='3.6' and platform_machine not in 'aarch64|loongarch64' and platform_system!='AIX' and platform_python_implementation != 'PyPy'
- numpy==1.14.5; python_version=='3.7' and platform_machine not in 'arm64|aarch64|loongarch64' and platform_system!='AIX' and platform_python_implementation != 'PyPy'
- numpy==1.17.3; python_version=='3.8' and platform_machine not in 'arm64|aarch64|s390x|loongarch64' and platform_python_implementation != 'PyPy'
- numpy==1.19.3; python_version=='3.9' and platform_machine not in 'arm64|loongarch64' and platform_python_implementation != 'PyPy'
- numpy==1.21.6; python_version=='3.10' and platform_machine!='loongarch64' and platform_python_implementation != 'PyPy'
- numpy==1.23.2; python_version=='3.11' and platform_python_implementation != 'PyPy'
-
- numpy==1.19.0; python_version=='3.6' and platform_machine!='loongarch64' and platform_python_implementation=='PyPy'
- numpy==1.20.0; python_version=='3.7' and platform_machine!='loongarch64' and platform_python_implementation=='PyPy'
- numpy==1.22.2; python_version=='3.8' and platform_machine!='loongarch64' and platform_python_implementation=='PyPy'
-
- numpy; python_version>='3.12'
- numpy; python_version>='3.9' and platform_python_implementation=='PyPy'
+ numpy; platform_system=='OpenBSD'
[egg_info]
tag_build =
+6 -10
View File
@@ -1,11 +1,7 @@
This is a Python meta-package which can be used in pyproject.toml files
to automatically provide as a build-time dependency on Numpy.
This is a Python meta-package which used to be used in pyproject.toml
files to automatically provide a build-time dependency on Numpy, with
the version set to the oldest Numpy version supporting the installed
Python and OS (used to create binary wheels for distribution on pypi).
Normally it is used to depend on the oldest version that supports the
given Python version and platform where a pre-built Numpy wheel is
available, such that compiled extensions are ABI-compatible with a
wider range of Numpy versions.
For OpenBSD packages where we manage dependencies internally and
don't use upstream pre-built wheels, this is modified to allow any
version.
It is deprecated but still packaged to avoid patches in those ports
which still use it.