From 5066f089f885a12c0dc44ca610885f3e9f695b43 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 28 Dec 2022 22:17:36 +0100 Subject: [PATCH] python310Packages.statsmodels: 0.13.4 -> 0.13.5 Changelog: https://github.com/statsmodels/statsmodels/releases/tag/v0.13.5 --- .../python-modules/statsmodels/default.nix | 45 ++++++++++++------- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/statsmodels/default.nix b/pkgs/development/python-modules/statsmodels/default.nix index 9a6e3cfb6663..704d53963d4a 100644 --- a/pkgs/development/python-modules/statsmodels/default.nix +++ b/pkgs/development/python-modules/statsmodels/default.nix @@ -1,38 +1,53 @@ { lib , buildPythonPackage +, cython , fetchPypi -, isPy27 -, nose +, matplotlib , numpy -, scipy , pandas , patsy -, cython -, matplotlib +, pythonOlder +, scipy +, setuptools-scm }: buildPythonPackage rec { pname = "statsmodels"; - version = "0.13.4"; - disabled = isPy27; + version = "0.13.5"; + format = "pyproject"; + + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - sha256 = "sha256-juXRtp9kvA6TeWZ0Ve41hYSdXmvNPz5I5Yumytrf6tU="; + hash = "sha256-WTUmrK4cD9oOpsSEOfZ8OUMJTFQv52n4uQ/p5sbMSHE="; }; - nativeBuildInputs = [ cython ]; - checkInputs = [ nose ]; - propagatedBuildInputs = [ numpy scipy pandas patsy matplotlib ]; + nativeBuildInputs = [ + cython + setuptools-scm + ]; + + propagatedBuildInputs = [ + numpy + scipy + pandas + patsy + matplotlib + ]; # Huge test suites with several test failures doCheck = false; - pythonImportsCheck = [ "statsmodels" ]; - meta = { + pythonImportsCheck = [ + "statsmodels" + ]; + + meta = with lib; { description = "Statistical computations and models for use with SciPy"; homepage = "https://www.github.com/statsmodels/statsmodels"; - license = lib.licenses.bsd3; - maintainers = with lib.maintainers; [ fridh ]; + changelog = "https://github.com/statsmodels/statsmodels/releases/tag/v${version}"; + license = licenses.bsd3; + maintainers = with maintainers; [ fridh ]; }; }