summary refs log tree commit diff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-06-20 23:37:06 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-06-20 23:40:40 +0200
commit81441182bb5b61c6e5bc09b843f1fc1b9697523c (patch)
treee2227983b556176e24a98000ea9c71821a1cf2d3 /gnu/packages/patches
parentb4e37a3972b8e237214b52bf631fb6b69408e445 (diff)
downloadguix-81441182bb5b61c6e5bc09b843f1fc1b9697523c.tar.gz
gnu: python-keras: Update to 2.3.1.
* gnu/packages/patches/python-keras-integration-test.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/machine-learning.scm (python-keras): Update to 2.3.1.
[source]: Remove patch; update snippet.
[arguments]: Add build phase 'tf-compatibility; add phase 'hdf5-compatibility;
rename phase 'remove-tests-for-unavailable-features to
'delete-unavailable-backends; update 'check phase to disable tests that cannot
be repaired or are flaky.
[native-inputs]: Add python-flaky, python-markdown, and python-pyux.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/python-keras-integration-test.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/gnu/packages/patches/python-keras-integration-test.patch b/gnu/packages/patches/python-keras-integration-test.patch
deleted file mode 100644
index aa2b1a273d..0000000000
--- a/gnu/packages/patches/python-keras-integration-test.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Fix a test failure with recent versions of ... Pytest?  Python?
-
-Taken from upstream:
-https://github.com/keras-team/keras/commit/fe35050a8f18dc52304aa8da4e463eececa25240
-
-diff --git a/tests/integration_tests/applications_test.py b/tests/integration_tests/applications_test.py
-index 979f2f2abd6..6e3b57fa8e2 100644
---- a/tests/integration_tests/applications_test.py
-+++ b/tests/integration_tests/applications_test.py
-@@ -58,7 +58,8 @@ def _test_application_basic(app, last_dim=1000):
- def _test_application_notop(app, last_dim):
-     output_shape = _get_output_shape(
-         lambda: app(weights=None, include_top=False))
--    assert output_shape == (None, None, None, last_dim)
-+    assert len(output_shape) == 4
-+    assert output_shape[-1] == last_dim
- 
- 
- def test_mobilenet_v2_legacy_import():