From c2bead39eecc15f8cc6f6159f0ed9e8e2967e769 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 18 Aug 2025 10:37:43 +0200 Subject: [PATCH] python3Packages.blackjax: skip failing test https://github.com/blackjax-devs/blackjax/issues/795 --- pkgs/development/python-modules/blackjax/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/blackjax/default.nix b/pkgs/development/python-modules/blackjax/default.nix index 1a0b0da52e03..e10d406aed7f 100644 --- a/pkgs/development/python-modules/blackjax/default.nix +++ b/pkgs/development/python-modules/blackjax/default.nix @@ -75,10 +75,12 @@ buildPythonPackage rec { "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) + # First report, when the failure was only happening on aarch64-linux: # https://github.com/blackjax-devs/blackjax/issues/668 + # Second report, when the test started happening on x86_64-linux too after Jax was updated to 0.7.0 + # https://github.com/blackjax-devs/blackjax/issues/795 "test_chees_adaptation" ];