rekado pushed a commit to branch master
in repository guix.

commit f2a1834249efc83fa23d85fa3260904a2ad0f58b
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Fri Jan 3 08:37:46 2025 +0100

    gnu: python-moto: Update to 5.0.25.
    
    * gnu/packages/python-xyz.scm (python-moto): Update to 5.0.25.
    [arguments]: Adjust tests.
    [native-inputs]: Add python-setuptools and python-wheel; remove python-sure;
    move python-graphql-core from here...
    [propagated-inputs]: ...to here; add java-antlr4-runtime-python,
    python-joserfc, python-jsonpath-ng, and python-multipart; remove
    python-docker, python-importlib-metadata, python-jose, python-jsondiff,
    python-markupsafe, python-pytz, python-pyyaml, and python-sshpubkeys.
    
    Change-Id: Ic341a7a7a2fb499a86069353a6834b76e4d44b0f
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b2da0977d5..9d742dc5b8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19840,17 +19840,21 @@ text.")
 (define-public python-moto
   (package
     (name "python-moto")
-    (version "4.2.4")
+    (version "5.0.25")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "moto" version))
               (sha256
-               (base32 
"12dkx35jm8qzyf5205wzkmd82yjxrbfdymdk2qlb3s47k6rcb8zf"))))
+               (base32 
"1cp61k745dxyzck543lamh8mnwwxazsgzqascg4nanpcihaqpsny"))))
     (build-system pyproject-build-system)
     (arguments
      (list
       #:test-flags
       '(list "-m" "not network and not requires_docker"
+             ;; This needs pycognito.
+             "--ignore-glob=tests/test_cognitoidp/*"
+             ;; This needs Internet access.
+             "--ignore=tests/test_core/test_request_passthrough.py"
              "-k"
              (string-append
               ;; XXX: This test is timing sensitive and may
@@ -19864,9 +19868,6 @@ text.")
               " and not test_route53resolver_bad_create_endpoint_subnets"
               " and not test_route53resolver_invalid_create_endpoint_args"
 
-              ;; FIXME: Unknown failure.  Likely requires Docker.
-              " and not test_cancel_pending_job"
-
               ;; These tests require Docker.
               " and not test_terminate_job"
               " and not test_invoke_function_from_sqs_exception"
@@ -19902,31 +19903,28 @@ text.")
      (list python-flask
            python-flask-cors
            python-freezegun
-           python-graphql-core
            python-pytest
-           python-sure))
+           python-setuptools
+           python-wheel))
     (inputs
      (list bash-minimal))
     (propagated-inputs
-     (list python-aws-xray-sdk
+     (list java-antlr4-runtime-python
+           python-aws-xray-sdk
            python-boto3
            python-botocore
            python-cfn-lint
            python-cryptography
            python-dateutil
-           python-docker
-           python-importlib-metadata
+           python-graphql-core
            python-jinja2
-           python-jose
-           python-jsondiff
-           python-markupsafe
+           python-joserfc
+           python-jsonpath-ng
+           python-multipart
            python-openapi-spec-validator
            python-py-partiql-parser
-           python-pytz
-           python-pyyaml
            python-requests
            python-responses
-           python-sshpubkeys
            python-werkzeug
            python-xmltodict))
     (home-page "https://github.com/spulec/moto";)

Reply via email to