From 10264bfa00524bae28c42db67e1865789d785e63 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 10 May 2024 15:17:55 +0200 Subject: [PATCH 1/2] python311Packages.statsmodel: Mark as broken on darwin --- pkgs/development/python-modules/statsmodels/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/statsmodels/default.nix b/pkgs/development/python-modules/statsmodels/default.nix index e3f40a5cff31..24dc020859d8 100644 --- a/pkgs/development/python-modules/statsmodels/default.nix +++ b/pkgs/development/python-modules/statsmodels/default.nix @@ -10,6 +10,7 @@ , scipy , setuptools , setuptools-scm +, stdenv }: buildPythonPackage rec { @@ -57,5 +58,7 @@ buildPythonPackage rec { homepage = "https://www.github.com/statsmodels/statsmodels"; changelog = "https://github.com/statsmodels/statsmodels/releases/tag/v${version}"; license = licenses.bsd3; + # Fails at build time + broken = stdenv.isDarwin; }; } From 2f40726687479d298e6898642a0fd40258026e14 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 10 May 2024 10:37:23 +0200 Subject: [PATCH 2/2] python311Packages.plotnine: 0.13.5 -> 0.13.6 Diff: https://github.com/has2k1/plotnine/compare/refs/tags/v0.13.5...v0.13.6 Changelog: https://github.com/has2k1/plotnine/releases/tag/v0.13.6 --- pkgs/development/python-modules/plotnine/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/plotnine/default.nix b/pkgs/development/python-modules/plotnine/default.nix index fb86d44472d2..6368f8c66785 100644 --- a/pkgs/development/python-modules/plotnine/default.nix +++ b/pkgs/development/python-modules/plotnine/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "plotnine"; - version = "0.13.5"; + version = "0.13.6"; pyproject = true; disabled = pythonOlder "3.9"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "has2k1"; repo = "plotnine"; rev = "refs/tags/v${version}"; - hash = "sha256-vGxsBcY4CRT4rBUq0AQ4oo0etKK+CtUD487VvnoK/rI="; + hash = "sha256-/yxRYK3ZTrYj+l3TQhFllyICnJjCZPd4ebNurCLZAYg="; }; postPatch = '' @@ -57,6 +57,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "plotnine" ]; + disabledTests = [ + # Tries to change locale. The issued warning causes this test to fail. + # UserWarning: Could not set locale to English/United States. Some date-related tests may fail + "test_no_after_scale_warning" + ]; + disabledTestPaths = [ # Assertion Errors: # Generated plot images do not exactly match the expected files.