gnu: python-aws-sam-translator: Use Pydantic 2.

* gnu/packages/python-web.scm (python-aws-sam-translator)[arguments]: Enable
tests that failed due to the use of Pydantic 1.
[propagated-inputs]: Replace python-pydantic with python-pydantic-2.

Change-Id: I8623da82278465f36339160926853d8410af74db
This commit is contained in:
Ricardo Wurmus 2025-02-27 08:10:51 +01:00
parent 0a80a595d3
commit 9d1b14a6e8
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1419,16 +1419,6 @@ routes using HTTP Digest Authentication.")
#:test-flags
#~(list "--numprocesses" (number->string (parallel-job-count))
"--ignore=tests/bin/test_public_interface.py"
"-k"
(string-join
;; AttributeError: module 'pydantic.v1' has no attribute
;; 'error_wrappers'
(list "not test_connector_with_empty_properties"
"test_connector_with_invalid_permission"
"test_connector_with_invalid_permission_type"
"test_connector_without_source"
"test_transform_invalid_document")
" and not ")
"tests")
#:phases
#~(modify-phases %standard-phases
@ -1450,7 +1440,7 @@ routes using HTTP Digest Authentication.")
(propagated-inputs
(list python-boto3
python-jsonschema
python-pydantic
python-pydantic-2
python-typing-extensions))
(home-page "https://github.com/aws/serverless-application-model")
(synopsis "Transform AWS SAM templates into AWS CloudFormation templates")