Commit 753b206d authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.flowmc: skip failing tests

parent 5252199f
Loading
Loading
Loading
Loading
+15 −4
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "flowmc";
  version = "0.4.5";
  pyproject = true;
@@ -27,7 +27,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "kazewong";
    repo = "flowMC";
    tag = "flowMC-${version}";
    tag = "flowMC-${finalAttrs.version}";
    hash = "sha256-D3K9cvmUvwsVAjvXdSDgYlqrzTYXVlSVQbfx7TANz8A=";
  };

@@ -59,11 +59,22 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTestPaths = [
    # ValueError: Expected None, got JitTracer(bool[3,2])
    "test/integration/test_quickstart.py"
  ];

  disabledTests = [
    # ValueError: Expected None, got JitTracer(bool[3,2])
    "test_rqSpline"
    "test_training"
  ];

  meta = {
    description = "Normalizing-flow enhanced sampling package for probabilistic inference in Jax";
    homepage = "https://github.com/kazewong/flowMC";
    changelog = "https://github.com/kazewong/flowMC/releases/tag/flowMC-${version}";
    changelog = "https://github.com/kazewong/flowMC/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}
})