From 5a0488839d1dac10310fc0b44219da572fd31f0f Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 7 Feb 2024 09:53:11 +0100 Subject: [PATCH] python311Packages.jax: 0.4.23 -> 0.4.24 Changelog: https://jax.readthedocs.io/en/latest/changelog.html#jax-0-4-24 --- pkgs/development/python-modules/jax/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jax/default.nix b/pkgs/development/python-modules/jax/default.nix index f60310bdef14..0450f73e639b 100644 --- a/pkgs/development/python-modules/jax/default.nix +++ b/pkgs/development/python-modules/jax/default.nix @@ -28,7 +28,7 @@ let in buildPythonPackage rec { pname = "jax"; - version = "0.4.23"; + version = "0.4.24"; pyproject = true; disabled = pythonOlder "3.9"; @@ -38,7 +38,7 @@ buildPythonPackage rec { repo = "jax"; # google/jax contains tags for jax and jaxlib. Only use jax tags! rev = "refs/tags/${pname}-v${version}"; - hash = "sha256-PDa3yVH/sszGbWkVkJ+19FdOr3oqdYk+OdbeUTMTDuU="; + hash = "sha256-hmx7eo3pephc6BQfoJ3U0QwWBWmhkAc+7S4QmW32qQs="; }; nativeBuildInputs = [ @@ -89,6 +89,9 @@ buildPythonPackage rec { "testKde3" "testKde5" "testKde6" + # Invokes python manually in a subprocess, which does not have the correct dependencies + # ImportError: This version of jax requires jaxlib version >= 0.4.19. + "test_no_log_spam" ] ++ lib.optionals usingMKL [ # See # * https://github.com/google/jax/issues/9705