Skip to content

Commit 04f68d2

Browse files
committed
python3Packages.dask: fix numpy 2.5 update
1 parent 0d28c06 commit 04f68d2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pkgs/development/python-modules/dask/default.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ buildPythonPackage (finalAttrs: {
5454
hash = "sha256-JfCiABGSCJKKSz2/r8fvpVwdQSZqvoQICe+lDvuNhoM=";
5555
};
5656

57-
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
57+
postPatch = ''
58+
substituteInPlace dask/dataframe/utils.py \
59+
--replace-fail '"m": np.timedelta64(1),' '"m": np.timedelta64(1, "us"),'
60+
''
61+
+ lib.optionalString stdenv.hostPlatform.isLinux ''
5862
substituteInPlace dask/tests/test_system.py \
5963
--replace-fail \
6064
'"taskset",' \

0 commit comments

Comments
 (0)