From b2d7ee373163f1dc27eaf6137c141e59723a0d41 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 31 Jan 2026 21:55:10 +0000 Subject: [PATCH 1/2] python3Packages.statsmodels: 0.14.5 -> 0.14.6 Changelog: https://github.com/statsmodels/statsmodels/releases/tag/v0.14.6 --- .../python-modules/statsmodels/default.nix | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/statsmodels/default.nix b/pkgs/development/python-modules/statsmodels/default.nix index c9111049f9ef..3caf52a419c9 100644 --- a/pkgs/development/python-modules/statsmodels/default.nix +++ b/pkgs/development/python-modules/statsmodels/default.nix @@ -1,26 +1,32 @@ { lib, + stdenv, buildPythonPackage, + fetchFromGitHub, + + # build-system cython, - fetchPypi, numpy, - packaging, - pandas, - patsy, scipy, setuptools, setuptools-scm, - stdenv, + + # dependencies + packaging, + pandas, + patsy, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "statsmodels"; - version = "0.14.5"; + version = "0.14.6"; pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-3iYOWMzP0s7d+DW1WjVyM9bKhToapPkPdVOlLMccbd8="; + src = fetchFromGitHub { + owner = "statsmodels"; + repo = "statsmodels"; + tag = "v${finalAttrs.version}"; + hash = "sha256-Rr+7vQ+nx8XihoQQECqHlDKvk7xRTdCpQTzs5pBbqmk="; }; postPatch = '' @@ -59,7 +65,7 @@ buildPythonPackage rec { meta = { description = "Statistical computations and models for use with SciPy"; homepage = "https://www.github.com/statsmodels/statsmodels"; - changelog = "https://github.com/statsmodels/statsmodels/releases/tag/v${version}"; + changelog = "https://github.com/statsmodels/statsmodels/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; }; -} +}) From 63f7956c0432e592fdb4e4a2d3a92d419552ec24 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 31 Jan 2026 21:36:13 +0000 Subject: [PATCH 2/2] python3Packages.plotnine: 0.15.2 -> 0.15.3 Diff: https://github.com/has2k1/plotnine/compare/v0.15.2...v0.15.3 Changelog: https://github.com/has2k1/plotnine/releases/tag/v0.15.3 --- pkgs/development/python-modules/plotnine/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/plotnine/default.nix b/pkgs/development/python-modules/plotnine/default.nix index 0a71ca5c0759..51d4ab2ed56c 100644 --- a/pkgs/development/python-modules/plotnine/default.nix +++ b/pkgs/development/python-modules/plotnine/default.nix @@ -21,16 +21,16 @@ writableTmpDirAsHomeHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "plotnine"; - version = "0.15.2"; + version = "0.15.3"; pyproject = true; src = fetchFromGitHub { owner = "has2k1"; repo = "plotnine"; - tag = "v${version}"; - hash = "sha256-JjSBcPRMmxAIoQsr8ESfgcf+EWBLsq1H+q56iyD3X84="; + tag = "v${finalAttrs.version}"; + hash = "sha256-nhFod9jhadKfQ8SW2RPNc8u+4gkWNDZRcnDcN5xVk54="; }; build-system = [ setuptools-scm ]; @@ -114,8 +114,8 @@ buildPythonPackage rec { meta = { description = "Grammar of graphics for Python"; homepage = "https://plotnine.readthedocs.io/"; - changelog = "https://github.com/has2k1/plotnine/releases/tag/${src.tag}"; + changelog = "https://github.com/has2k1/plotnine/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ onny ]; }; -} +})