summaryrefslogtreecommitdiff
path: root/math/py-fastcluster/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-fastcluster/files')
-rw-r--r--math/py-fastcluster/files/patch-pyproject.toml8
-rw-r--r--math/py-fastcluster/files/patch-setup.py11
2 files changed, 15 insertions, 4 deletions
diff --git a/math/py-fastcluster/files/patch-pyproject.toml b/math/py-fastcluster/files/patch-pyproject.toml
index a733d01745f2..1b5181373b1a 100644
--- a/math/py-fastcluster/files/patch-pyproject.toml
+++ b/math/py-fastcluster/files/patch-pyproject.toml
@@ -1,8 +1,8 @@
---- pyproject.toml.orig 2022-02-27 10:25:41 UTC
+--- pyproject.toml.orig 2025-05-06 15:48:45 UTC
+++ pyproject.toml
-@@ -10,4 +10,4 @@ requires = ["setuptools",
- # Scipy's "oldest_supported_numpy" package does this work for us.
+@@ -1,4 +1,4 @@ requires = ["setuptools",
+ [build-system]
requires = ["setuptools",
"wheel",
-- "oldest_supported_numpy"]
+- "numpy >= 2"]
+ "numpy"]
diff --git a/math/py-fastcluster/files/patch-setup.py b/math/py-fastcluster/files/patch-setup.py
new file mode 100644
index 000000000000..3c5c064a6fcc
--- /dev/null
+++ b/math/py-fastcluster/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2025-05-06 15:48:45 UTC
++++ setup.py
+@@ -92,7 +92,7 @@ Clustering Routines for R and Python*, Journal of Stat
+ long_description_content_type='text/markdown',
+ python_requires='>=3',
+ requires=['numpy'],
+- install_requires=["numpy>=2"],
++ install_requires=["numpy"],
+ provides=['fastcluster'],
+ ext_modules=[Extension('_fastcluster',
+ ['src/fastcluster_python.cpp'],