Commit 8ad1990c authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.kmapper: cleanup, fix

parent c2f1b88e
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -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 = [ ];
  };
}
})