Skip to content

Commit

Permalink
Merge pull request NixOS#310533 from GaetanLepage/plotnine
Browse files Browse the repository at this point in the history
python311Packages.plotnine: 0.13.5 -> 0.13.6
  • Loading branch information
drupol authored May 10, 2024
2 parents 6c83985 + 2f40726 commit 6c29daf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkgs/development/python-modules/plotnine/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

buildPythonPackage rec {
pname = "plotnine";
version = "0.13.5";
version = "0.13.6";
pyproject = true;

disabled = pythonOlder "3.9";
Expand All @@ -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 = ''
Expand Down Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions pkgs/development/python-modules/statsmodels/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
, scipy
, setuptools
, setuptools-scm
, stdenv
}:

buildPythonPackage rec {
Expand Down Expand Up @@ -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;
};
}

0 comments on commit 6c29daf

Please sign in to comment.