diff options
| author | Jörg Thalheim <joerg@thalheim.io> | 2021-01-24 05:14:28 +0100 |
|---|---|---|
| committer | Jörg Thalheim <joerg@thalheim.io> | 2021-01-24 14:06:21 +0100 |
| commit | a1e458ccdbb22cdd1333de0d1a9c5e84df3659c1 (patch) | |
| tree | d9526052f76e677f1d0bccb9dd7de5e96a1a8776 /pkgs/development/python-modules/umap-learn/default.nix | |
| parent | python3.pkgs.pynndescent: init at 0.5.1 (diff) | |
| download | nixpkgs-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.nix | 12 |
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. |
