gnu: python-moto: Update to 5.1.5.

* gnu/packages/python-xyz.scm (python-moto): Update to 5.1.5.
[arguments] <test-args>: Run tests in parallel. Skip 10 more tests.
[propagated-inputs]: Add python-pyparsing.
[native-inputs]: Add python-pytest-xdist.

Change-Id: I5054e141f870640f898a0722389e95f42d5a951d
This commit is contained in:
Sharlatan Hellseher 2025-09-20 15:12:37 +01:00
parent e319764cba
commit d4f3820ddb
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -20616,17 +20616,19 @@ text.")
(define-public python-moto (define-public python-moto
(package (package
(name "python-moto") (name "python-moto")
(version "5.0.25") (version "5.1.5")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "moto" version)) (uri (pypi-uri "moto" version))
(sha256 (sha256
(base32 "1cp61k745dxyzck543lamh8mnwwxazsgzqascg4nanpcihaqpsny")))) (base32 "0kpqdn96gw9h2bq05bp943q85f4lq89c4nk1gf71w60nkbm65cs2"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
;; tests: 10000 passed, 16 skipped, 2 xfailed, 42 warnings
#:test-flags #:test-flags
'(list "-m" "not network and not requires_docker" '(list "-m" "not network and not requires_docker"
"--numprocesses" (number->string (min 8 (parallel-job-count)))
;; This needs pycognito. ;; This needs pycognito.
"--ignore-glob=tests/test_cognitoidp/*" "--ignore-glob=tests/test_cognitoidp/*"
;; This needs Internet access. ;; This needs Internet access.
@ -20658,7 +20660,28 @@ text.")
" and not test_with_custom_request_header" " and not test_with_custom_request_header"
" and not test_dependencies" " and not test_dependencies"
" and not test_cancel_running_job" " and not test_cancel_running_job"
" and not test_container_overrides")) " and not test_container_overrides"
;; TypeError: Got unexpected keyword argument
;; 'account_id_endpoint_mode'
" and not test_dynamodb_with_account_id_routing"
;; botocore.exceptions.ParamValidationError: Parameter
;; validation failed
" and not test_create_firewall"
" and not test_describe_logging_configuration"
" and not test_update_logging_configuration"
" and not test_list_firewalls"
;; AttributeError: 'TimestreamInfluxDB' object has no attribute
;; 'list_db_clusters'
" and not test_create_db_cluster"
" and not test_get_db_cluster"
" and not test_list_db_clusters"
;; XXX: misc
" and not test_list_objects_v2_checksum_algo"
" and not test_upload_file_with_checksum_algorithm"))
#:phases #:phases
'(modify-phases %standard-phases '(modify-phases %standard-phases
(add-after 'unpack 'compatibility (add-after 'unpack 'compatibility
@ -20680,6 +20703,7 @@ text.")
python-flask-cors python-flask-cors
python-freezegun python-freezegun
python-pytest python-pytest
python-pytest-xdist
python-setuptools python-setuptools
python-wheel)) python-wheel))
(inputs (inputs
@ -20699,6 +20723,7 @@ text.")
python-multipart python-multipart
python-openapi-spec-validator python-openapi-spec-validator
python-py-partiql-parser python-py-partiql-parser
python-pyparsing
python-requests python-requests
python-responses python-responses
python-werkzeug python-werkzeug