aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--srcpkgs/python3-scipy/patches/version-relaxation.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/srcpkgs/python3-scipy/patches/version-relaxation.patch b/srcpkgs/python3-scipy/patches/version-relaxation.patch
new file mode 100644
index 00000000000..b9959ec47f3
--- /dev/null
+++ b/srcpkgs/python3-scipy/patches/version-relaxation.patch
@@ -0,0 +1,13 @@
+SciPy imposes strict and unnecessary version restrictions on its dependencies.
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -12,7 +12,7 @@
+ requires = [
+ "meson-python>=0.15.0,<0.16.0", # working with 0.15.x series at branch time
+ "Cython>=0.29.35,!=3.0.3,<3.1.0", # when updating version, also update check in meson.build
+- "pybind11>=2.10.4,<2.12.0", # working with 2.11.x series at branch time
++ "pybind11",
+ "pythran>=0.15.0,<0.16.0", # working with 0.15.x series at branch time
+
+ # When numpy 2.0.0rc1 comes out, we should update this to build against 2.0,