Skip to content

Commit 5e6cb90

Browse files
committed
python3Packages.kmapper: cleanup, fix
1 parent 4e2d5c8 commit 5e6cb90

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

pkgs/development/python-modules/kmapper/default.nix

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
pytestCheckHook,
2323
}:
2424

25-
buildPythonPackage rec {
25+
buildPythonPackage (finalAttrs: {
2626
pname = "kmapper";
2727
version = "2.1.0";
2828
pyproject = true;
2929

3030
src = fetchFromGitHub {
3131
owner = "scikit-tda";
3232
repo = "kepler-mapper";
33-
tag = "v${version}";
33+
tag = "v${finalAttrs.version}";
3434
hash = "sha256-i909J0yI8v8BqGbCkcjBAdA02Io+qpILdDkojZj0wv4=";
3535
};
3636

@@ -55,11 +55,18 @@ buildPythonPackage rec {
5555
pytestCheckHook
5656
];
5757

58+
disabledTests = [
59+
# UnboundLocalError: cannot access local variable 'X_blend' where it is not associated with a value
60+
"test_tuple_projection"
61+
"test_tuple_projection_fit"
62+
];
63+
5864
meta = {
5965
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
6066
homepage = "https://kepler-mapper.scikit-tda.org/";
61-
changelog = "https://github.com/scikit-tda/kepler-mapper/releases/tag/v${version}";
67+
downloadPage = "https://github.com/scikit-tda/kepler-mapper";
68+
changelog = "https://github.com/scikit-tda/kepler-mapper/releases/tag/${finalAttrs.src.tag}";
6269
license = lib.licenses.mit;
6370
maintainers = [ ];
6471
};
65-
}
72+
})

0 commit comments

Comments
 (0)