Skip to content

Commit

Permalink
python3Packages.graspy: 0.2.0 -> 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdarwin authored and Jon committed Sep 20, 2020
1 parent 5315ce0 commit 1179840
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions pkgs/development/python-modules/graspy/default.nix
Expand Up @@ -2,8 +2,9 @@
, buildPythonPackage
, isPy27
, fetchFromGitHub
, pytest
, pytestCheckHook
, pytestcov
, hyppo
, matplotlib
, networkx
, numpy
Expand All @@ -14,18 +15,19 @@

buildPythonPackage rec {
pname = "graspy";
version = "0.2";
version = "0.3";

disabled = isPy27;

src = fetchFromGitHub {
owner = "neurodata";
repo = pname;
rev = "v${version}";
sha256 = "1ss7d71lwblimg7ri88ir9w59j0ri13wl75091hjf7q0mchqr6yd";
sha256 = "0lab76qiryxvwl6zrcikhnxil1xywl0wkkm2vzi4v9mdzpa7w29r";
};

propagatedBuildInputs = [
hyppo
matplotlib
networkx
numpy
Expand All @@ -34,14 +36,9 @@ buildPythonPackage rec {
seaborn
];

checkInputs = [ pytest pytestcov ];

checkPhase = ''
runHook preCheck
# `test_autogmm` takes too long; fixed in next release (graspy/pull/328)
pytest tests -k 'not test_autogmm'
runHook postCheck
'';
checkInputs = [ pytestCheckHook pytestcov ];
pytestFlagsArray = [ "tests" "--ignore=docs" ];
disabledTests = [ "gridplot_outputs" ];

meta = with lib; {
homepage = "https://graspy.neurodata.io";
Expand Down

0 comments on commit 1179840

Please sign in to comment.