Subject: [bug#54798] [PATCH 5/5] gnu: python-moto: Update to 3.1.4.

From: Felix Gruber <[email-masked]>
Date: Fri, 8 Apr 2022 18:37:21 +0000

* gnu/packages/python-xyz.scm (python-moto): Update to 3.1.4.
[propagated-inputs]: Add python-graphql-core.
[arguments]: Disable two new failing tests.
---
 gnu/packages/python-xyz.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2ebb6a16de..74cd67a4f0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14166,13 +14166,13 @@ text.")
 (define-public python-moto
   (package
     (name "python-moto")
-    (version "2.2.12")
+    (version "3.1.4")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "moto" version))
               (sha256
                (base32
-                "0pvay0jp119lzzwf5qj5h6311271yq0w2i6344ds20grpf6g6gz8"))))
+                "0dfnad1f9d5ybabs69dzc7x357z1r4jbhrhgw57gyic1qnmcw864"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -14192,9 +14192,12 @@ text.")
                         ;; XXX: This test is timing sensitive and may
                         ;; fail non-deterministically.
                         "not test_cancel_pending_job"
+                        ;; XXX: Not sure why the following test fails.
+                        " and not test_create_custom_lambda_resource__verify_cfnresponse_failed"
                         ;; These tests require Docker.
                         " and not test_terminate_job"
                         " and not test_invoke_function_from_sqs_exception"
+                        " and not test_lambda_function"
                         " and not test_rotate_secret_lambda_invocations"
                         ;; These tests also require the network.
                         " and not test_put_record_batch_http_destination"
@@ -14220,6 +14223,7 @@ text.")
            python-cryptography
            python-dateutil
            python-docker
+           python-graphql-core
            python-idna
            python-jinja2
            python-jose
-- 
2.30.2