Unverified Commit 1941b6ff authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #292292 from fabaff/arviz-fix

python311Packages.arviz: disable failing test
parents a28ba508 c9352199
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ buildPythonPackage rec {
    "test_plot_ppc_discrete_save_animation"
    # Assertion error
    "test_data_zarr"
    "test_plot_forest"
  ];

  pythonImportsCheck = [
+6 −6
Original line number Diff line number Diff line
@@ -23,9 +23,14 @@ buildPythonPackage rec {
    owner = "pymc-devs";
    repo = "pymc";
    rev = "refs/tags/v${version}";
    hash = "sha256-bOrWgZaSOXXalw251cm5JUDkAARGaxmUk+z3SY6Git8=";
    hash = "sha256-tiOXbryY2TmeBVrG5cIMeDJ4alolBQ5LosdfH3tpVOA=";
  };

  postPatch = ''
    substituteInPlace setup.py \
      --replace-fail ', "pytest-cov"' ""
  '';

  propagatedBuildInputs = [
    arviz
    cachetools
@@ -37,11 +42,6 @@ buildPythonPackage rec {
    typing-extensions
  ];

  postPatch = ''
    substituteInPlace setup.py \
      --replace ', "pytest-cov"' ""
  '';

  # The test suite is computationally intensive and test failures are not
  # indicative for package usability hence tests are disabled by default.
  doCheck = false;