python3Packages.kmapper: fix tests
This commit is contained in:
parent
bf12c8774d
commit
29ca0ab721
@ -1,11 +1,11 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, scikitlearn
|
, scikitlearn
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
, scipy
|
||||||
, jinja2
|
, jinja2
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, networkx
|
, networkx
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, python-igraph
|
, python-igraph
|
||||||
@ -17,9 +17,11 @@ buildPythonPackage rec {
|
|||||||
pname = "kmapper";
|
pname = "kmapper";
|
||||||
version = "2.0.0";
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "scikit-tda";
|
||||||
sha256 = "3708d889f96f6bbe89c52000dd9378ca4c35638180ff894b64ebbdfcfe62aab2";
|
repo = "kepler-mapper";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0djm27si2bn18khrbb7rwhflc5ma6g9smhikhk5i1apwn5avm6l4";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -30,7 +32,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
networkx
|
networkx
|
||||||
matplotlib
|
matplotlib
|
||||||
python-igraph
|
python-igraph
|
||||||
@ -38,10 +40,6 @@ buildPythonPackage rec {
|
|||||||
ipywidgets
|
ipywidgets
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest test --ignore test/test_drawing.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
|
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
|
||||||
homepage = "https://kepler-mapper.scikit-tda.org/";
|
homepage = "https://kepler-mapper.scikit-tda.org/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user