python3Packages.graspy: 0.2.0 -> 0.3.0

This commit is contained in:
Ben Darwin 2020-09-10 15:14:42 -04:00 committed by Jon
parent 5315ce0e40
commit 1179840f9a

View file

@ -2,8 +2,9 @@
, buildPythonPackage , buildPythonPackage
, isPy27 , isPy27
, fetchFromGitHub , fetchFromGitHub
, pytest , pytestCheckHook
, pytestcov , pytestcov
, hyppo
, matplotlib , matplotlib
, networkx , networkx
, numpy , numpy
@ -14,7 +15,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "graspy"; pname = "graspy";
version = "0.2"; version = "0.3";
disabled = isPy27; disabled = isPy27;
@ -22,10 +23,11 @@ buildPythonPackage rec {
owner = "neurodata"; owner = "neurodata";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1ss7d71lwblimg7ri88ir9w59j0ri13wl75091hjf7q0mchqr6yd"; sha256 = "0lab76qiryxvwl6zrcikhnxil1xywl0wkkm2vzi4v9mdzpa7w29r";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
hyppo
matplotlib matplotlib
networkx networkx
numpy numpy
@ -34,14 +36,9 @@ buildPythonPackage rec {
seaborn seaborn
]; ];
checkInputs = [ pytest pytestcov ]; checkInputs = [ pytestCheckHook pytestcov ];
pytestFlagsArray = [ "tests" "--ignore=docs" ];
checkPhase = '' disabledTests = [ "gridplot_outputs" ];
runHook preCheck
# `test_autogmm` takes too long; fixed in next release (graspy/pull/328)
pytest tests -k 'not test_autogmm'
runHook postCheck
'';
meta = with lib; { meta = with lib; {
homepage = "https://graspy.neurodata.io"; homepage = "https://graspy.neurodata.io";