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
This commit is contained in:
Ricardo Wurmus 2025-01-03 08:37:46 +01:00
parent 0328ebfec3
commit f2a1834249
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -19840,17 +19840,21 @@ text.")
(define-public python-moto (define-public python-moto
(package (package
(name "python-moto") (name "python-moto")
(version "4.2.4") (version "5.0.25")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "moto" version)) (uri (pypi-uri "moto" version))
(sha256 (sha256
(base32 "12dkx35jm8qzyf5205wzkmd82yjxrbfdymdk2qlb3s47k6rcb8zf")))) (base32 "1cp61k745dxyzck543lamh8mnwwxazsgzqascg4nanpcihaqpsny"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:test-flags #:test-flags
'(list "-m" "not network and not requires_docker" '(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" "-k"
(string-append (string-append
;; XXX: This test is timing sensitive and may ;; 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_bad_create_endpoint_subnets"
" and not test_route53resolver_invalid_create_endpoint_args" " and not test_route53resolver_invalid_create_endpoint_args"
;; FIXME: Unknown failure. Likely requires Docker.
" and not test_cancel_pending_job"
;; These tests require Docker. ;; These tests require Docker.
" and not test_terminate_job" " and not test_terminate_job"
" and not test_invoke_function_from_sqs_exception" " and not test_invoke_function_from_sqs_exception"
@ -19902,31 +19903,28 @@ text.")
(list python-flask (list python-flask
python-flask-cors python-flask-cors
python-freezegun python-freezegun
python-graphql-core
python-pytest python-pytest
python-sure)) python-setuptools
python-wheel))
(inputs (inputs
(list bash-minimal)) (list bash-minimal))
(propagated-inputs (propagated-inputs
(list python-aws-xray-sdk (list java-antlr4-runtime-python
python-aws-xray-sdk
python-boto3 python-boto3
python-botocore python-botocore
python-cfn-lint python-cfn-lint
python-cryptography python-cryptography
python-dateutil python-dateutil
python-docker python-graphql-core
python-importlib-metadata
python-jinja2 python-jinja2
python-jose python-joserfc
python-jsondiff python-jsonpath-ng
python-markupsafe python-multipart
python-openapi-spec-validator python-openapi-spec-validator
python-py-partiql-parser python-py-partiql-parser
python-pytz
python-pyyaml
python-requests python-requests
python-responses python-responses
python-sshpubkeys
python-werkzeug python-werkzeug
python-xmltodict)) python-xmltodict))
(home-page "https://github.com/spulec/moto") (home-page "https://github.com/spulec/moto")