git.iko.soy/typeable/nixpkgs
on master help sign in
python3.pkgs.umap-learn: 0.4.5 -> 0.5.0
commita1e458ccdbb22cdd1333de0d1a9c5e84df3659c1 authorJörg Thalheim <joerg@thalheim.io> dateSun 24 Jan 2021, 05:14 (6 years ago) parent1924bb8
1 file changed+10−2
pkgs/development/python-modules/umap-learn/default.nix+10−2
pkgs/development/python-modules/umap-learn/default.nix+10−2
@@ -6,22 +6,25 @@
66, scikitlearn
77, scipy
88, numba
9+, pynndescent
10+, tensorflow
911, pytestCheckHook
1012}:
1113
1214buildPythonPackage rec {
1315 pname = "umap-learn";
14− version = "0.4.5";
16+ version = "0.5.0";
1517
1618 src = fetchFromGitHub {
1719 owner = "lmcinnes";
1820 repo = "umap";
1921 rev = version;
20− sha256 = "080by8h4rxr5ijx8vp8kn952chiqz029j26c04k4js4g9s7201bq";
22+ sha256 = "sha256-2Z5RDi4bz8hh8zMwkcCQY9NrGaVd1DJEBOmrCl2oSvM=";
2123 };
2224
2325 checkInputs = [
2426 nose
27+ tensorflow
2528 pytestCheckHook
2629 ];
2730
@@ -30,8 +33,13 @@ buildPythonPackage rec {
3033 scikitlearn
3134 scipy
3235 numba
36+ pynndescent
3337 ];
3438
39+ preCheck = ''
40+ export HOME=$TMPDIR
41+ '';
42+
3543 disabledTests = [
3644 # Plot functionality requires additional packages.
3745 # These test also fail with 'RuntimeError: cannot cache function' error.