python3Packages.keras: 3.13.2 -> 3.14.0
Diff: https://github.com/keras-team/keras/compare/v3.13.2...v3.14.0 Changelog: https://github.com/keras-team/keras/releases/tag/v3.14.0
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@@ -38,24 +37,16 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "keras";
|
||||
version = "3.13.2";
|
||||
version = "3.14.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "keras-team";
|
||||
repo = "keras";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-7s3bJdkS/G/Ydj9txbtGrqGCE3PjjS1ZiuoGOzk+UIg=";
|
||||
hash = "sha256-EMwqo+0mIwjDY3wKW4idiAczSSPIGjTRNIYlqPDwd+w=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "numpy-2.4-compat.patch";
|
||||
url = "https://github.com/keras-team/keras/commit/bc3bc4fc167049eb35136deaf5680cdaacc80371.patch";
|
||||
hash = "sha256-+eN3QVBpHGIv67hbRxzVHeKjFZIz5LCdbNO0AL65OoQ=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
@@ -95,6 +86,7 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
disabledTests = [
|
||||
# Require unpackaged `grain`
|
||||
"test_basics_grain"
|
||||
"test_fit_with_data_adapter_grain_dataloader"
|
||||
"test_fit_with_data_adapter_grain_datast"
|
||||
"test_fit_with_data_adapter_grain_datast_with_len"
|
||||
@@ -109,7 +101,13 @@ buildPythonPackage (finalAttrs: {
|
||||
"test_image_dataset_from_directory_pad_to_aspect_ratio_grain"
|
||||
"test_image_dataset_from_directory_shuffle_grain"
|
||||
"test_image_dataset_from_directory_validation_split_grain"
|
||||
"test_no_targets_grain"
|
||||
"test_not_batched_grain"
|
||||
"test_sample_count_grain"
|
||||
"test_sampling_rate_grain"
|
||||
"test_sequence_stride_grain"
|
||||
"test_shuffle_grain"
|
||||
"test_start_and_end_index_grain"
|
||||
"test_text_dataset_from_directory_binary_grain"
|
||||
"test_text_dataset_from_directory_follow_links_grain"
|
||||
"test_text_dataset_from_directory_manual_labels_grain"
|
||||
@@ -117,6 +115,7 @@ buildPythonPackage (finalAttrs: {
|
||||
"test_text_dataset_from_directory_not_batched_grain"
|
||||
"test_text_dataset_from_directory_standalone_grain"
|
||||
"test_text_dataset_from_directory_validation_split_grain"
|
||||
"test_timeseries_regression_grain"
|
||||
|
||||
# Tries to install the package in the sandbox
|
||||
"test_keras_imports"
|
||||
@@ -132,8 +131,11 @@ buildPythonPackage (finalAttrs: {
|
||||
disabledTestPaths = [
|
||||
# Require unpackaged `grain`
|
||||
"keras/src/layers/preprocessing/data_layer_test.py"
|
||||
"keras/src/layers/preprocessing/discretization_test.py"
|
||||
"keras/src/layers/preprocessing/image_preprocessing/resizing_test.py"
|
||||
"keras/src/layers/preprocessing/rescaling_test.py"
|
||||
"keras/src/layers/preprocessing/string_lookup_test.py"
|
||||
"keras/src/layers/preprocessing/text_vectorization_test.py"
|
||||
"keras/src/trainers/data_adapters/grain_dataset_adapter_test.py"
|
||||
|
||||
# These tests succeed when run individually, but crash within the full test suite:
|
||||
|
||||
Reference in New Issue
Block a user