From 4ed1db2025813432609d2cc94fcc640c2255b8d3 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 1 Aug 2026 10:51:22 +0000 Subject: [PATCH 1/2] python3Packages.blackjax: skip failing tests on aarch64-linux --- pkgs/development/python-modules/blackjax/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/blackjax/default.nix b/pkgs/development/python-modules/blackjax/default.nix index f138d6a33e08..5b52a178d97e 100644 --- a/pkgs/development/python-modules/blackjax/default.nix +++ b/pkgs/development/python-modules/blackjax/default.nix @@ -100,6 +100,8 @@ buildPythonPackage (finalAttrs: { ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # AssertionError: Not equal to tolerance rtol=1e-07, atol=1e-05 "test_equal_matrices" + "test_restart_after_reset_matches_fresh_accumulation" + "test_split_pop_k1_degenerate" ]; pythonImportsCheck = [ "blackjax" ]; From 05dfd7c6ef352ab4744d6ea24ac50b20b21caa8d Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 1 Aug 2026 00:08:02 +0000 Subject: [PATCH 2/2] python3Packages.bambi: 0.18.0 -> 0.19.0 Diff: https://github.com/bambinos/bambi/compare/0.18.0...0.19.0 Changelog: https://github.com/bambinos/bambi/releases/tag/0.19.0 --- pkgs/development/python-modules/bambi/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bambi/default.nix b/pkgs/development/python-modules/bambi/default.nix index 370c916452dd..d46086b896c6 100644 --- a/pkgs/development/python-modules/bambi/default.nix +++ b/pkgs/development/python-modules/bambi/default.nix @@ -28,14 +28,15 @@ buildPythonPackage (finalAttrs: { pname = "bambi"; - version = "0.18.0"; + version = "0.19.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "bambinos"; repo = "bambi"; tag = finalAttrs.version; - hash = "sha256-vxsjPYQkqvmB5oKKl29+xq1BPEzBTozz9/W5mICWI4A="; + hash = "sha256-2BLbvdVN+wkmP2NCGaBoJO10hbBXUJ1/Q7bjRN4idWM="; }; build-system = [ @@ -74,6 +75,9 @@ buildPythonPackage (finalAttrs: { ]; disabledTests = [ + # Requires `nutpie`, which is not packaged in nixpkgs + "test_nuts_parameter_forwarded_to_external_samplers" + # ValueError: dtype attribute is not a valid dtype instance "test_vonmises_regression" @@ -89,6 +93,8 @@ buildPythonPackage (finalAttrs: { # Tests require network access "test_alias_equal_to_name" + "test_exclusion" + "test_inplace_false" "test_average_by" "test_ax" "test_basic"