Merge pull request #322337 from GaetanLepage/keras

python311Packages.keras: 3.3.3 -> 3.4.0
This commit is contained in:
Samuel Ainsworth 2024-06-25 17:45:33 -04:00 committed by GitHub
commit 2078aa4e84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,11 @@
buildPythonPackage, buildPythonPackage,
pythonOlder, pythonOlder,
fetchFromGitHub, fetchFromGitHub,
# build-system
setuptools, setuptools,
# dependencies
absl-py, absl-py,
dm-tree, dm-tree,
h5py, h5py,
@ -12,13 +16,14 @@
namex, namex,
numpy, numpy,
optree, optree,
packaging,
rich, rich,
tensorflow, tensorflow,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "keras"; pname = "keras";
version = "3.3.3"; version = "3.4.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -27,7 +32,7 @@ buildPythonPackage rec {
owner = "keras-team"; owner = "keras-team";
repo = "keras"; repo = "keras";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-hhY28Ocv4zacZiwFflJtufKpeKfH1MD1PZJ+NTJfpH0="; hash = "sha256-P/TRczWi/prv5D0/I6yLChIDfc6QdGcRSaF4Dd1Iowk=";
}; };
build-system = [ build-system = [
@ -43,6 +48,7 @@ buildPythonPackage rec {
namex namex
numpy numpy
optree optree
packaging
rich rich
tensorflow tensorflow
]; ];
@ -58,6 +64,7 @@ buildPythonPackage rec {
meta = { meta = {
description = "Multi-backend implementation of the Keras API, with support for TensorFlow, JAX, and PyTorch"; description = "Multi-backend implementation of the Keras API, with support for TensorFlow, JAX, and PyTorch";
homepage = "https://keras.io"; homepage = "https://keras.io";
changelog = "https://github.com/keras-team/keras/releases/tag/v${version}";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ NikolaMandic ]; maintainers = with lib.maintainers; [ NikolaMandic ];
}; };