From 9d1b14a6e8b4446709253f5cc2c73aee83e02061 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 27 Feb 2025 08:10:51 +0100 Subject: 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 --- gnu/packages/python-web.scm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index defa2a6c3ad..6bc51520d92 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -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") -- cgit v1.3