summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/umap-learn/default.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2021-01-24 05:14:28 +0100
committerJörg Thalheim <joerg@thalheim.io>2021-01-24 14:06:21 +0100
commita1e458ccdbb22cdd1333de0d1a9c5e84df3659c1 (patch)
treed9526052f76e677f1d0bccb9dd7de5e96a1a8776 /pkgs/development/python-modules/umap-learn/default.nix
parentpython3.pkgs.pynndescent: init at 0.5.1 (diff)
downloadnixpkgs-a1e458ccdbb22cdd1333de0d1a9c5e84df3659c1.tar.gz
python3.pkgs.umap-learn: 0.4.5 -> 0.5.0
Diffstat (limited to 'pkgs/development/python-modules/umap-learn/default.nix')
-rw-r--r--pkgs/development/python-modules/umap-learn/default.nix12
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/umap-learn/default.nix b/pkgs/development/python-modules/umap-learn/default.nix
index f471fbef4c8c..b9abe2bb7682 100644
--- a/pkgs/development/python-modules/umap-learn/default.nix
+++ b/pkgs/development/python-modules/umap-learn/default.nix
@@ -6,22 +6,25 @@
, scikitlearn
, scipy
, numba
+, pynndescent
+, tensorflow
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "umap-learn";
- version = "0.4.5";
+ version = "0.5.0";
src = fetchFromGitHub {
owner = "lmcinnes";
repo = "umap";
rev = version;
- sha256 = "080by8h4rxr5ijx8vp8kn952chiqz029j26c04k4js4g9s7201bq";
+ sha256 = "sha256-2Z5RDi4bz8hh8zMwkcCQY9NrGaVd1DJEBOmrCl2oSvM=";
};
checkInputs = [
nose
+ tensorflow
pytestCheckHook
];
@@ -30,8 +33,13 @@ buildPythonPackage rec {
scikitlearn
scipy
numba
+ pynndescent
];
+ preCheck = ''
+ export HOME=$TMPDIR
+ '';
+
disabledTests = [
# Plot functionality requires additional packages.
# These test also fail with 'RuntimeError: cannot cache function' error.