From 8e0a8819b7836e844c1bca500a0c4d03a97cf3a0 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 11 Oct 2021 23:42:40 -0400 Subject: [PATCH] gnu: python-keras: Skip a flaky test. * gnu/packages/machine-learning.scm (python-keras) [phases]{check}: Also skip the test_stateful_metrics test. --- gnu/packages/machine-learning.scm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index a2b5283900..1a17c73eea 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -16,7 +16,7 @@ ;;; Copyright © 2020 Konrad Hinsen ;;; Copyright © 2020 Edouard Klein ;;; Copyright © 2020, 2021 Vinicius Monego -;;; Copyright © 2020 Maxim Cournoyer +;;; Copyright © 2020, 2021 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -2561,9 +2561,14 @@ (define-public python-keras "-p" "no:pep8" ;; FIXME: python-build-system lacks PARALLEL-TESTS? "-n" (number->string (parallel-job-count)) - ;; The following test fail only in the build container; - ;; skip it. - "-k" "not test_selu"))))))) + "-k" + (string-append + ;; The following test fails only in the build + ;; container; skip it. + "not test_selu " + ;; The following test was found flaky and removed in + ;; recent versions. + "and not test_stateful_metrics")))))))) (propagated-inputs `(("python-h5py" ,python-h5py) ("python-keras-applications" ,python-keras-applications)