From 2a676fc43ecb869cc2903e2d6939f7e88d7e4cd9 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 30 Dec 2024 01:02:33 +0100 Subject: [PATCH] python312Packages.keras: disable failing test --- pkgs/development/python-modules/keras/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/keras/default.nix b/pkgs/development/python-modules/keras/default.nix index d33143d829d5..f35ff2252362 100644 --- a/pkgs/development/python-modules/keras/default.nix +++ b/pkgs/development/python-modules/keras/default.nix @@ -39,7 +39,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "keras-team"; repo = "keras"; - rev = "refs/tags/v${version}"; + tag = "v${version}"; hash = "sha256-qidY1OmlOYPKVoxryx1bEukA7IS6rPV4jqlnuf3y39w="; }; @@ -86,6 +86,10 @@ buildPythonPackage rec { # TypeError: this __dict__ descriptor does not support '_DictWrapper' objects "test_reloading_default_saved_model" + + # ValueError: The truth value of an empty array is ambiguous. + # Use `array.size > 0` to check that an array is not empty. + "test_min_max_norm" ] ++ lib.optionals stdenv.isDarwin [ # AttributeError: module 'numpy' has no attribute 'float128'. Did you mean: 'float16'?