diff --git a/pkgs/development/python-modules/kmapper/default.nix b/pkgs/development/python-modules/kmapper/default.nix index 895e94b1db51..7208df3a28d0 100644 --- a/pkgs/development/python-modules/kmapper/default.nix +++ b/pkgs/development/python-modules/kmapper/default.nix @@ -22,7 +22,7 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "kmapper"; version = "2.1.0"; pyproject = true; @@ -30,7 +30,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "scikit-tda"; repo = "kepler-mapper"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-i909J0yI8v8BqGbCkcjBAdA02Io+qpILdDkojZj0wv4="; }; @@ -55,11 +55,18 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = [ + # UnboundLocalError: cannot access local variable 'X_blend' where it is not associated with a value + "test_tuple_projection" + "test_tuple_projection_fit" + ]; + meta = { description = "Python implementation of Mapper algorithm for Topological Data Analysis"; homepage = "https://kepler-mapper.scikit-tda.org/"; - changelog = "https://github.com/scikit-tda/kepler-mapper/releases/tag/v${version}"; + downloadPage = "https://github.com/scikit-tda/kepler-mapper"; + changelog = "https://github.com/scikit-tda/kepler-mapper/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = [ ]; }; -} +})