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'?