From ef9bf0291e0908cb3fc7217baaf8443f144e1e11 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Mon, 29 Jun 2026 19:18:31 +0200 Subject: [PATCH] python3Packages.jax: disable test broken with numpy 2.5 --- pkgs/development/python-modules/jax/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/jax/default.nix b/pkgs/development/python-modules/jax/default.nix index b1e084faa030..cc3ae7a61914 100644 --- a/pkgs/development/python-modules/jax/default.nix +++ b/pkgs/development/python-modules/jax/default.nix @@ -132,6 +132,10 @@ buildPythonPackage (finalAttrs: { # --numprocesses. # New test in jax 0.10.2 (tests/random_impl_test.py). "test_random_bits" + + # Jax uses deprecated numpy logic as an oracle. Fixed upstream in jax 0.11.0, can't be properly backported. + # https://github.com/jax-ml/jax/commit/d219f03b589a1075f499148113aa9c647e1be0b9 + "testCross" ] ++ lib.optionals usingMKL [ # See