Merge pull request #310533 from GaetanLepage/plotnine

python311Packages.plotnine: 0.13.5 -> 0.13.6
This commit is contained in:
Pol Dellaiera 2024-05-10 18:52:14 +02:00 committed by GitHub
commit 6c29daf60a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 2 deletions

View File

@ -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.

View File

@ -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;
};
}