summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2024-07-19 18:42:35 +0300
committerDoron Behar <doron.behar@gmail.com>2024-07-22 15:45:51 +0300
commit4f37fc7a48712cea23ea3cd8d7b5bc0cbaaaa22e (patch)
treede331907aff8192a9c82387f06c7cb04331cef1d /pkgs/development/python-modules
parent9eae9c20350ad5b133bdfd63d27a2029a5734a79 (diff)
python311Packages.nitime: fix pyproject.toml substitution
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/nitime/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/nitime/default.nix b/pkgs/development/python-modules/nitime/default.nix
index e9a1ac4c3a18..6cc35b662c00 100644
--- a/pkgs/development/python-modules/nitime/default.nix
+++ b/pkgs/development/python-modules/nitime/default.nix
@@ -27,11 +27,11 @@ buildPythonPackage rec {
hash = "sha256-4Ie8fuk9CKdn/64TsCfN2No2dU16ICpBRWYerqqF0/0=";
};
- # Upstream wants to build against the oldest version of numpy possible, but
- # we only want to build against the most recent version.
+ # Upstream wants to build against the newest version of numpy possible, but
+ # we only want to build against our default numpy.
postPatch = ''
substituteInPlace pyproject.toml \
- --replace "numpy==" "numpy>="
+ --replace-fail "numpy>=2.0.0rc1,<3" "numpy"
'';
nativeBuildInputs = [