Loading pkgs/development/python-modules/hyppo/default.nix +13 −5 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, setuptools, pytestCheckHook, autograd, numba, Loading @@ -16,7 +17,7 @@ buildPythonPackage rec { pname = "hyppo"; version = "0.4.0"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.6"; Loading @@ -27,6 +28,14 @@ buildPythonPackage rec { hash = "sha256-QRE3oSxTEobTQ/7DzCAUOdjzIZmWUn9bgPmJWj6JuZg="; }; # some of the doctests (4/21) are broken, e.g. unbound variables, nondeterministic with insufficient tolerance, etc. # (note upstream's .circleci/config.yml only tests test_*.py files despite their pytest.ini adding --doctest-modules) postPatch = '' substituteInPlace pytest.ini --replace-fail "addopts = --doctest-modules" "" ''; build-system = [ setuptools ]; propagatedBuildInputs = [ autograd numba Loading @@ -40,15 +49,14 @@ buildPythonPackage rec { matplotlib seaborn ]; disabledTestPaths = [ "docs" "benchmarks" "examples" pytestFlagsArray = [ "hyppo" ]; meta = with lib; { homepage = "https://github.com/neurodata/hyppo"; description = "Python package for multivariate hypothesis testing"; changelog = "https://github.com/neurodata/hyppo/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; }; Loading Loading
pkgs/development/python-modules/hyppo/default.nix +13 −5 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, setuptools, pytestCheckHook, autograd, numba, Loading @@ -16,7 +17,7 @@ buildPythonPackage rec { pname = "hyppo"; version = "0.4.0"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.6"; Loading @@ -27,6 +28,14 @@ buildPythonPackage rec { hash = "sha256-QRE3oSxTEobTQ/7DzCAUOdjzIZmWUn9bgPmJWj6JuZg="; }; # some of the doctests (4/21) are broken, e.g. unbound variables, nondeterministic with insufficient tolerance, etc. # (note upstream's .circleci/config.yml only tests test_*.py files despite their pytest.ini adding --doctest-modules) postPatch = '' substituteInPlace pytest.ini --replace-fail "addopts = --doctest-modules" "" ''; build-system = [ setuptools ]; propagatedBuildInputs = [ autograd numba Loading @@ -40,15 +49,14 @@ buildPythonPackage rec { matplotlib seaborn ]; disabledTestPaths = [ "docs" "benchmarks" "examples" pytestFlagsArray = [ "hyppo" ]; meta = with lib; { homepage = "https://github.com/neurodata/hyppo"; description = "Python package for multivariate hypothesis testing"; changelog = "https://github.com/neurodata/hyppo/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; }; Loading