summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authornatsukium <tomoya.otabi@gmail.com>2023-05-26 10:57:01 +0900
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-05-26 22:51:34 +0000
commit1d821d002d1d59cf803c00838a08471248b4bf4d (patch)
treeed36e94fd5b0db909f8e372e02b3eeaf4d82c1a7 /pkgs
parentb672dde5136ad1b165fb631a7bda426c85c3709a (diff)
python3Packages.umap-learn: patch for numpy>=1.24
(cherry picked from commit dff3db7d732140755739e886df16f7292b5e16e2)
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/umap-learn/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/umap-learn/default.nix b/pkgs/development/python-modules/umap-learn/default.nix
index 001a5f1b4208b..7097ee33a1a9c 100644
--- a/pkgs/development/python-modules/umap-learn/default.nix
+++ b/pkgs/development/python-modules/umap-learn/default.nix
@@ -42,6 +42,21 @@ buildPythonPackage rec {
       url = "https://github.com/lmcinnes/umap/commit/949abd082524fce8c45dfb147bcd8e8ef49eade3.patch";
       hash = "sha256-8/1k8iYeF77FIaUApNtY07auPJkrt3vNRR/HTYRvq+0=";
     })
+    # Fix tests with numpy>=1.24
+    # https://github.com/lmcinnes/umap/pull/952
+    (fetchpatch {
+      url = "https://github.com/lmcinnes/umap/commit/588e1f724c9f5de528eb1500b0c85a1a609fe947.patch";
+      hash = "sha256-B50eyMs3CRuzOAq+jxz56XMJPdiUofUxCL0Vqolaafo=";
+    })
+    # https://github.com/lmcinnes/umap/pull/1010
+    (fetchpatch {
+      url = "https://github.com/lmcinnes/umap/commit/848396c762c894e666aaf3d0bcfe1e041b529ea6.patch";
+      hash = "sha256-ir0Pxfr2c0oSuFGXQqHjkj7nzvlpTXCYbaI9qAiLun0=";
+    })
+    (fetchpatch {
+      url = "https://github.com/lmcinnes/umap/commit/30e39938f4627f327223245dfe2c908af6b7e304.patch";
+      hash = "sha256-7Divrym05wIPa7evgrNYXGm44/EOWG8sIYV8fmtuzJ4=";
+    })
   ];
 
   propagatedBuildInputs = [