python3.pkgs.umap-learn: 0.4.5 -> 0.5.0

This commit is contained in:
Jörg Thalheim 2021-01-24 05:14:28 +01:00
parent 1924bb8b14
commit a1e458ccdb
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

View file

@ -6,22 +6,25 @@
, scikitlearn , scikitlearn
, scipy , scipy
, numba , numba
, pynndescent
, tensorflow
, pytestCheckHook , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "umap-learn"; pname = "umap-learn";
version = "0.4.5"; version = "0.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lmcinnes"; owner = "lmcinnes";
repo = "umap"; repo = "umap";
rev = version; rev = version;
sha256 = "080by8h4rxr5ijx8vp8kn952chiqz029j26c04k4js4g9s7201bq"; sha256 = "sha256-2Z5RDi4bz8hh8zMwkcCQY9NrGaVd1DJEBOmrCl2oSvM=";
}; };
checkInputs = [ checkInputs = [
nose nose
tensorflow
pytestCheckHook pytestCheckHook
]; ];
@ -30,8 +33,13 @@ buildPythonPackage rec {
scikitlearn scikitlearn
scipy scipy
numba numba
pynndescent
]; ];
preCheck = ''
export HOME=$TMPDIR
'';
disabledTests = [ disabledTests = [
# Plot functionality requires additional packages. # Plot functionality requires additional packages.
# These test also fail with 'RuntimeError: cannot cache function' error. # These test also fail with 'RuntimeError: cannot cache function' error.