Skip to content

Commit

Permalink
python312Packages.blackjax: disable failing tests (#377350)
Browse files Browse the repository at this point in the history
  • Loading branch information
happysalada authored Jan 27, 2025
2 parents 3bb3198 + b5f8275 commit e16e376
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions pkgs/development/python-modules/blackjax/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,28 @@ buildPythonPackage rec {
pytest-xdist
];

disabledTestPaths =
[ "tests/test_benchmarks.py" ]
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
# Assertion errors on numerical values
"tests/mcmc/test_integrators.py"
];
disabledTestPaths = [
"tests/test_benchmarks.py"

# Assertion errors on numerical values
"tests/mcmc/test_integrators.py"
];

disabledTests =
[
# too slow
"test_adaptive_tempered_smc"

# AssertionError on numerical values
"test_barker"
"test_mclmc"
"test_mcse4"
"test_normal_univariate"
"test_nuts__with_device"
"test_nuts__with_jit"
"test_nuts__without_device"
"test_nuts__without_jit"
"test_smc_waste_free__with_jit"
]
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
# Numerical test (AssertionError)
Expand Down

0 comments on commit e16e376

Please sign in to comment.