File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
pkgs/development/python-modules Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ buildPythonPackage rec {
2828 hash = "sha256-2K55gHYWf2Mrj9fszVCJ+qqEyQNMppQi+IZCX5SlsBs=" ;
2929 } ;
3030
31+ postPatch = ''
32+ # build-time constriant, used to ensure forward and backward compat
33+ substituteInPlace pyproject.toml \
34+ --replace-fail "numpy>=2" "numpy"
35+ '' ;
36+
3137 nativeBuildInputs = [
3238 gsl
3339 oldest-supported-numpy
Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ buildPythonPackage rec {
2121 hash = "sha256-Wq7ar96w5hdAyKMMvK4zjYln74RmX1l/VhvS++CN+Xk=" ;
2222 } ;
2323
24+ postPatch = ''
25+ # build-time constriant, used to ensure forward and backward compat
26+ substituteInPlace pyproject.toml \
27+ --replace-fail "numpy>=2.0" "numpy"
28+ '' ;
29+
2430 build-system = [ setuptools ] ;
2531
2632 dependencies = [
You can’t perform that action at this time.
0 commit comments