pythonPackages.umap-learn: 0.3.10 -> 0.4.5
This commit is contained in:
parent
ee8db0e84f
commit
105d500c12
|
@ -6,21 +6,23 @@
|
||||||
, scikitlearn
|
, scikitlearn
|
||||||
, scipy
|
, scipy
|
||||||
, numba
|
, numba
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "umap-learn";
|
pname = "umap-learn";
|
||||||
version = "0.3.10";
|
version = "0.4.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lmcinnes";
|
owner = "lmcinnes";
|
||||||
repo = "umap";
|
repo = "umap";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0nck5va5km7qkbrhn15dsn0p2mms9kc641lcypy7l8haqgm44h8x";
|
sha256 = "080by8h4rxr5ijx8vp8kn952chiqz029j26c04k4js4g9s7201bq";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
nose
|
nose
|
||||||
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -30,15 +32,15 @@ buildPythonPackage rec {
|
||||||
numba
|
numba
|
||||||
];
|
];
|
||||||
|
|
||||||
postConfigure = ''
|
disabledTests = [
|
||||||
substituteInPlace umap/tests/test_umap.py \
|
# Plot functionality requires additional packages.
|
||||||
--replace "def test_umap_transform_on_iris()" "@SkipTest
|
# These test also fail with 'RuntimeError: cannot cache function' error.
|
||||||
def test_umap_transform_on_iris()"
|
"test_umap_plot_testability"
|
||||||
'';
|
"test_plot_runs_at_all"
|
||||||
|
|
||||||
checkPhase = ''
|
# Flaky test. Fails with AssertionError sometimes.
|
||||||
nosetests -s umap
|
"test_sparse_hellinger"
|
||||||
'';
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Uniform Manifold Approximation and Projection";
|
description = "Uniform Manifold Approximation and Projection";
|
||||||
|
|
Loading…
Reference in a new issue