Unverified Commit 6c29daf6 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #310533 from GaetanLepage/plotnine

python311Packages.plotnine: 0.13.5 -> 0.13.6
parents 6c839850 2f407266
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -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.
+3 −0
Original line number Diff line number Diff line
@@ -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;
  };
}