summaryrefslogtreecommitdiff
path: root/lang/python/numpy/patches
diff options
context:
space:
mode:
authorAndy Syam <privasisource@gmail.com>2023-12-22 21:52:35 +0800
committerRosen Penev <rosenp@gmail.com>2024-01-02 19:34:05 -0800
commitfb2bf1c737acab6e674303cd6445be1b2095cb2d (patch)
tree2588d282519e89c6eb8679e1171f7425bb7d758e /lang/python/numpy/patches
parentd7d7c5bbb34c709ada745a49239831f9c7a15463 (diff)
numpy: update to version 1.26.2
https://github.com/numpy/numpy/releases NumPy 1.26.2 Release Notes NumPy 1.26.2 is a maintenance release that fixes bugs and regressions discovered after the 1.26.1 release. The 1.26.release series is the last planned minor release series before NumPy 2.0. The Python versions supported by this release are 3.9-3.12. Signed-off-by: Andy Syam <privasisource@gmail.com>
Diffstat (limited to 'lang/python/numpy/patches')
-rw-r--r--lang/python/numpy/patches/001-unpin-build-dependencies.patch16
-rw-r--r--lang/python/numpy/patches/002-avoid-build-user-config-files.patch2
-rw-r--r--lang/python/numpy/patches/003-without-vendored-meson.patch22
3 files changed, 23 insertions, 17 deletions
diff --git a/lang/python/numpy/patches/001-unpin-build-dependencies.patch b/lang/python/numpy/patches/001-unpin-build-dependencies.patch
deleted file mode 100644
index dbfaea505..000000000
--- a/lang/python/numpy/patches/001-unpin-build-dependencies.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -4,11 +4,11 @@
- #build-backend = "mesonpy"
- requires = [
- # setuptools, wheel and Cython are needed for the setup.py based build
-- "setuptools==59.2.0",
-+ "setuptools>=59.2.0",
- # `wheel` is needed for non-isolated builds, given that `meson-python`
- # doesn't list it as a runtime requirement (at least in 0.11.0) - it's
- # likely to be removed as a dependency in meson-python 0.12.0.
-- "wheel==0.38.1",
-+ "wheel>=0.38.1",
- "Cython>=0.29.34,<3.0",
- # "meson-python>=0.10.0",
- ]
diff --git a/lang/python/numpy/patches/002-avoid-build-user-config-files.patch b/lang/python/numpy/patches/002-avoid-build-user-config-files.patch
index cf7faf4ed..c3d70207e 100644
--- a/lang/python/numpy/patches/002-avoid-build-user-config-files.patch
+++ b/lang/python/numpy/patches/002-avoid-build-user-config-files.patch
@@ -1,6 +1,6 @@
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
-@@ -403,7 +403,7 @@ def get_standard_file(fname):
+@@ -404,7 +404,7 @@ def get_standard_file(fname):
pass
else:
user_file = os.path.join(f, fname)
diff --git a/lang/python/numpy/patches/003-without-vendored-meson.patch b/lang/python/numpy/patches/003-without-vendored-meson.patch
new file mode 100644
index 000000000..ef6761bfe
--- /dev/null
+++ b/lang/python/numpy/patches/003-without-vendored-meson.patch
@@ -0,0 +1,22 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,6 +1,6 @@
+ [build-system]
+-build-backend = "mesonpy"
+-backend-path = ['./vendored-meson/meson-python']
++#build-backend = "mesonpy"
++#backend-path = ['./vendored-meson/meson-python']
+ requires = [
+ "Cython>=0.29.34,<3.1",
+ # All dependencies of the vendored meson-python (except for meson, because
+@@ -194,8 +194,8 @@ repair-wheel-command = ""
+ [tool.spin]
+ package = 'numpy'
+
+-[tool.spin.meson]
+-cli = 'vendored-meson/meson/meson.py'
++#[tool.spin.meson]
++#cli = 'vendored-meson/meson/meson.py'
+
+ [tool.spin.commands]
+ "Build" = [