diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-01-15 10:30:44 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-01-15 10:30:44 +0000 |
commit | e0794be8a0d11e90461e5a9c85012a36b93ec976 (patch) | |
tree | efd9cbc55ea3322867bf601c4d536758a3dd5fcc /nixpkgs/pkgs/development/python-modules/umap-learn | |
parent | 3538874082ded7647b1ccec0343c7c1e882cfef3 (diff) | |
parent | 1a57d96edd156958b12782e8c8b6a374142a7248 (diff) | |
download | nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.tar nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.tar.gz nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.tar.bz2 nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.tar.lz nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.tar.xz nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.tar.zst nixlib-e0794be8a0d11e90461e5a9c85012a36b93ec976.zip |
Merge commit '1a57d96edd156958b12782e8c8b6a374142a7248'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/umap-learn')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/umap-learn/default.nix | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/umap-learn/default.nix b/nixpkgs/pkgs/development/python-modules/umap-learn/default.nix index 9979183c497b..f471fbef4c8c 100644 --- a/nixpkgs/pkgs/development/python-modules/umap-learn/default.nix +++ b/nixpkgs/pkgs/development/python-modules/umap-learn/default.nix @@ -6,21 +6,23 @@ , scikitlearn , scipy , numba +, pytestCheckHook }: buildPythonPackage rec { pname = "umap-learn"; - version = "0.3.10"; + version = "0.4.5"; src = fetchFromGitHub { owner = "lmcinnes"; repo = "umap"; rev = version; - sha256 = "0nck5va5km7qkbrhn15dsn0p2mms9kc641lcypy7l8haqgm44h8x"; + sha256 = "080by8h4rxr5ijx8vp8kn952chiqz029j26c04k4js4g9s7201bq"; }; checkInputs = [ nose + pytestCheckHook ]; propagatedBuildInputs = [ @@ -30,15 +32,15 @@ buildPythonPackage rec { numba ]; - postConfigure = '' - substituteInPlace umap/tests/test_umap.py \ - --replace "def test_umap_transform_on_iris()" "@SkipTest -def test_umap_transform_on_iris()" - ''; + disabledTests = [ + # Plot functionality requires additional packages. + # These test also fail with 'RuntimeError: cannot cache function' error. + "test_umap_plot_testability" + "test_plot_runs_at_all" - checkPhase = '' - nosetests -s umap - ''; + # Flaky test. Fails with AssertionError sometimes. + "test_sparse_hellinger" + ]; meta = with lib; { description = "Uniform Manifold Approximation and Projection"; |