Date: Monday, November 14, 2022 @ 06:55:28 Author: yan12125 Revision: 1347466
python-aws-sam-translator: place the patch locally The one downloaded from GitHub has changed due to different abbreviated git hashes. Added: python-aws-sam-translator/trunk/python-aws-sam-translator-jsonschema-4.patch Modified: python-aws-sam-translator/trunk/PKGBUILD ----------------------------------------------+ PKGBUILD | 2 - python-aws-sam-translator-jsonschema-4.patch | 34 +++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-11-14 04:59:51 UTC (rev 1347465) +++ PKGBUILD 2022-11-14 06:55:28 UTC (rev 1347466) @@ -15,7 +15,7 @@ # Upstream intentionally exclude tests from sdist # https://github.com/aws/serverless-application-model/pull/381#issuecomment-382143094 source=("https://github.com/aws/serverless-application-model/archive/v$pkgver/$pkgname-$pkgver.tar.gz" - "$pkgname-jsonschema-4.patch"::"https://github.com/aws/serverless-application-model/pull/2441.patch") + "$pkgname-jsonschema-4.patch") sha256sums=('79b2117a14207c440ac1a8a5c48072038ea417dc0afe2e93e2c5ebbce8973d12' '7bba093258d9d7768112463f9a6fbe63bb78e060081d9585637582caf0da1d20') Added: python-aws-sam-translator-jsonschema-4.patch =================================================================== --- python-aws-sam-translator-jsonschema-4.patch (rev 0) +++ python-aws-sam-translator-jsonschema-4.patch 2022-11-14 06:55:28 UTC (rev 1347466) @@ -0,0 +1,34 @@ +From e847f1723f50bf79369e0a27773018b04fac28a3 Mon Sep 17 00:00:00 2001 +From: Wing Fung Lau <[email protected]> +Date: Wed, 6 Jul 2022 19:33:29 -0700 +Subject: [PATCH] Bump jsonschema version + +--- + requirements/base.txt | 2 +- + tests/validator/output/api/error_definitionuri.json | 4 +++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/requirements/base.txt b/requirements/base.txt +index 5a3e77e5d..25cd84cb9 100755 +--- a/requirements/base.txt ++++ b/requirements/base.txt +@@ -1,2 +1,2 @@ + boto3>=1.19.5,==1.* +-jsonschema~=3.2 ++jsonschema~=4.6 +diff --git a/tests/validator/output/api/error_definitionuri.json b/tests/validator/output/api/error_definitionuri.json +index bc3756e1a..f6adbb76a 100644 +--- a/tests/validator/output/api/error_definitionuri.json ++++ b/tests/validator/output/api/error_definitionuri.json +@@ -3,7 +3,9 @@ + "[Resources.ApiDefinitionUriBucketMissing.Properties.DefinitionUri] 'Bucket' is a required property", + "[Resources.ApiDefinitionUriBucketNotIntrinsic.Properties.DefinitionUri.Bucket] {'Not': 'Intrinsic'} is not of type 'string', 'intrinsic'", + "[Resources.ApiDefinitionUriBucketNotString.Properties.DefinitionUri.Bucket] 3 is not of type 'string', 'intrinsic'", ++ "[Resources.ApiDefinitionUriEmpty.Properties.DefinitionUri] Must not be empty", + "[Resources.ApiDefinitionUriKeyEmpty.Properties.DefinitionUri.Key] Must not be empty", + "[Resources.ApiDefinitionUriKeyMissing.Properties.DefinitionUri] 'Key' is a required property", +- "[Resources.ApiDefinitionUriKeyNotString.Properties.DefinitionUri.Key] {'Not': 'Intrinsic'} is not of type 'string', 'intrinsic'" ++ "[Resources.ApiDefinitionUriKeyNotString.Properties.DefinitionUri.Key] {'Not': 'Intrinsic'} is not of type 'string', 'intrinsic'", ++ "[Resources.ApiDefinitionUriNotStringOrObject.Properties.DefinitionUri] 3 is not of type 'string', 'object'" + ] +\ No newline at end of file
