Skip to content

Commit

Permalink
python312Packages.keras: 3.7.0 -> 3.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Jan 7, 2025
1 parent 40d63cc commit 328431f
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions pkgs/development/python-modules/keras/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,22 @@

# dependencies
absl-py,
distutils,
h5py,
ml-dtypes,
namex,
numpy,
onnxruntime,
optree,
packaging,
pythonAtLeast,
rich,
scikit-learn,
tensorflow,
pythonAtLeast,
distutils,

# tests
dm-tree,
jax,
jaxlib,
pandas,
pydot,
pytestCheckHook,
Expand All @@ -33,14 +34,14 @@

buildPythonPackage rec {
pname = "keras";
version = "3.7.0";
version = "3.8.0";
pyproject = true;

src = fetchFromGitHub {
owner = "keras-team";
repo = "keras";
tag = "v${version}";
hash = "sha256-qidY1OmlOYPKVoxryx1bEukA7IS6rPV4jqlnuf3y39w=";
hash = "sha256-sbAGiI1Ai0MPiQ8AMpa5qX6hYt/plsIqhn9xYLBb120=";
};

build-system = [
Expand All @@ -53,9 +54,11 @@ buildPythonPackage rec {
ml-dtypes
namex
numpy
onnxruntime
optree
packaging
rich
scikit-learn
tensorflow
] ++ lib.optionals (pythonAtLeast "3.12") [ distutils ];

Expand All @@ -66,7 +69,6 @@ buildPythonPackage rec {

nativeCheckInputs = [
dm-tree
jaxlib
jax
pandas
pydot
Expand Down Expand Up @@ -99,6 +101,9 @@ buildPythonPackage rec {
];

disabledTestPaths = [
# Require onnx which is currently broken
"keras/src/export/onnx_test.py"

# Datasets are downloaded from the internet
"integration_tests/dataset_tests"

Expand All @@ -121,7 +126,6 @@ buildPythonPackage rec {

# TypeError: this __dict__ descriptor does not support '_DictWrapper' objects
"keras/src/backend/tensorflow/saved_model_test.py"
"keras/src/export/export_lib_test.py"

# KeyError: 'Unable to synchronously open object (bad object header version number)'
"keras/src/saving/file_editor_test.py"
Expand Down

0 comments on commit 328431f

Please sign in to comment.