Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-aws-sam-translator for
openSUSE:Factory checked in at 2023-07-06 18:28:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aws-sam-translator (Old)
and /work/SRC/openSUSE:Factory/.python-aws-sam-translator.new.23466 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aws-sam-translator"
Thu Jul 6 18:28:42 2023 rev:20 rq:1096956 version:1.68.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-aws-sam-translator/python-aws-sam-translator.changes
2022-12-06 14:23:57.653926335 +0100
+++
/work/SRC/openSUSE:Factory/.python-aws-sam-translator.new.23466/python-aws-sam-translator.changes
2023-07-06 18:28:44.595171664 +0200
@@ -1,0 +2,384 @@
+Wed Jun 7 13:24:54 UTC 2023 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Update to 1.68.0
+ * chore: Upgrade ruff to 0.0.263 and enable more rules by @aahung in (#3127)
+ * docs: mention what transform tests are by @hoffa in (#3129)
+ * chore(schema): update by @github-actions in (#3131)
+ * Merge main to develop by @ssenchenko in (#3136)
+ * feat: actionable error on non-ARN policy by @hoffa in (#3132)
+ * chore(schema): update by @github-actions in (#3137)
+ * feat(SimpleTable): add PointInTimeRecoverySpecification by @hoffa in
(#3138)
+ * chore(schema): update by @github-actions in (#3139)
+ * chore: mark test_request_parameters_open_api as @nonblocking by @hoffa in
#(3141)
+ * chore(schema): update by @github-actions in (#3143)
+ * docs: remove automatic type/bug label by @hoffa in (#3147)
+ * chore(schema): update by @github-actions in (#3148)
+ * chore: update bundled managed policies by @hoffa in (#3149)
+ * chore(schema): update by @github-actions in (#3150)
+ * AppSync Api -> Lambda connector by @ssenchenko in (#3145)
+ * Revert "feat: actionable error on non-ARN policy (#3132)" by @hoffa in
(#3153)
+ * chore: add Policies test with every type by @hoffa in (#3155)
+ * Release 1.68.0 (to main) by @GavinZZ in (#3185)
+- from version 1.67.0
+ * chore(schema): update by @github-actions in (#3104)
+ * chore: Enable termination protection for companion stacks by @GavinZZ in
(#3105)
+ * chore(schema): update by @github-actions in (#3108)
+ * fix: Availability Dip Fix for MergeDefinitions property by @GavinZZ in
(#3115)
+ * chore(schema): update by @github-actions in (#3116)
+ * chore: bundle aws-cn AWS managed policies by @hoffa in (#3117)
+ * Merge main to develop by @xazhao in (#3119)
+ * fix: Add ScheduleV2 OmitName to omit generated Name in
+ Scheduler::Schedule by @aahung in (#3120)
+ * chore: Use importlib.metadata to get package version by @aahung in (#3121)
+ * chore(schema): update by @github-actions in (#3124)
+ * chore: Add sar_client_creator to ServerlessAppPlugin constructor by
@aahung in (#3126)
+ * Release 1.67.0 (to main) by @hoffa in (#3167)
+- from version 1.66.0
+ * chore: Use TypeGuard to avoid unncessary type casts by @aahung in #3090
+ * chore(schema): update by @github-actions in #3092
+ * chore: Fix public_interface not catching all constants and
+ enable Path rules (ruff 0.261) by @aahung in #3091
+ * Merge main to develop by @aahung in #3094
+ * chore: Enable DynamoDB on demand mode by @GavinZZ in #3098
+ * chore(schema): update by @github-actions in #3096
+ * chore(schema): update by @github-actions in #3099
+ * chore: update bundled managed policies by @hoffa in #3100
+ * chore: remove mix destination connector integ test because
+ transform test is⦠by @xazhao in #3101
+ * Release 1.66.0 (to main) by @ssenchenko in #3135
+- from version 1.65.0
+ * feat: scaffolding for improved pass-throughs in schema by @hoffa in #3055
+ * feat: improve schema pass-through handling by @hoffa in #3056
+ * chore: more improved schema pass-throughs by @hoffa in #3057
+ * fix: pin cfn-lint to bypass issue in latest by @hoffa in #3063
+ * fix: Fix availability dip from API MergeDefinitions property by @GavinZZ
in #3062
+ * chore: improve cfn-lint install by @hoffa in #3064
+ * fix: Shorten Location IndexName property by @GavinZZ in #3065
+ * chore: more improved pass-through schemas by @hoffa in #3060
+ * Merge main to develop by @GavinZZ in #3069
+ * chore: Upgrade ruff to 0.0.259 and enable C4 rules by @aahung in #3066
+ * chore: remove description in favor of markdownDescription by @hoffa in
#3068
+ * chore: more typed schema pass-throughs by @hoffa in #3072
+ * chore(schema): update by @github-actions in #3074
+ * chore: and more typed schema pass-throughs by @hoffa in #3078
+ * fix: Add Name property to SAM Statemachine EventBridgeRule event by
@aaythapa in #3087
+ * chore(schema): update by @github-actions in #3084
+ * fix: Connector "Type" cannot be Serverless resource types by @GavinZZ in
#3088
+ * Release 1.65.0 (to main) by @xazhao in #3118
+- from version 1.64.0
+ * chore(schema): update by @github-actions in #3034
+ * chore: run test coverage command in parallel by @aaythapa in #3037
+ * feat: Add a new property SeparateRecordSetGroup to disable merging into
record set group by @xazhao in #2993
+ * chore: upgrade mypy by @hoffa in #3039
+ * fix: add DeletionProtection to AWS::Cognito::UserPool by @hoffa in #3041
+ * docs: add clause about internal to guidelines by @hoffa in #3044
+ * chore(schema): update by @github-actions in #3043
+ * fix: Skip MQ Integ Test and add it to Transform Test by @GavinZZ in #3045
+ * feat: allow classes that inherit Resource to disable setattr validation by
@pradhapanr in #3047
+ * chore(schema): update by @github-actions in #3048
+ * feat: appsync datasource to lambda connector by @ssenchenko in #3046
+ * fix: integ test for AppSync DataSource -> DDB connector by @ssenchenko in
#3049
+ * chore: update schema docs by @hoffa in #3052
+ * Release 1.64.0 (to main) by @aahung in #3093
+ * feat: Support InvokeMode in lambda function URL config by @valerena
+- from version 1.63.0
+ * chore: adding some type checks as constants by @xazhao in #2986
+ * feat: new SESBulkTemplatedCrudPolicy_v2 policy by @aaythapa in #2929
+ * chore: fix local transform format by @xazhao in #2990
+ * ci: test on Python 3.11 by @hoffa in #2991
+ * chore: add Python 3.11 to classifiers by @hoffa in #2992
+ * chore(schema): update by @github-actions in #2994
+ * chore(schema): update by @github-actions in #2997
+ * Feature: SNS Event FilterPolicyScope attribute by @mustafa-sadiq in #2988
+ * ci: ignore unused parameter cfn-lint rule by @hoffa in #3003
+ * chore(schema): update by @github-actions in #3002
+ * fix: Fix add transform test by @GavinZZ in #3010
+ * chore(schema): update by @github-actions in #3009
+ * Merge main to develop by @aahung in #3012
+ * chore: Add integration test service detector for SNS FilterPolicyScope by
@aahung in #3015
+ * chore: Add skip_using_service_detector to sns integ tests by @aahung in
#3016
+ * ci: Trigger gh actions on merge group by @aahung in #3017
+ * fix: Defining CORS when ApiKeyRequired is true results in an OPTIONS
method that requires an API key by @ConnorRobertson in #2981
+ * chore: Upgrade ruff to 0.0.254 by @aahung in #3014
+ * chore: Get rid of py2 import stuff by @aahung in #3018
+ * chore: Enable pyupgrade check by @aahung in #3019
+ * chore(schema): update by @github-actions in #3020
+ * feat: Add EnableFunctionDefaultPermissions property to HTTP Api by
@aaythapa in #3001
+ * fix: integration test cors_with_apikey_and_cors by @ConnorRobertson in
#3021
+ * fix: Call correct exception when Connectors attribute is non-dict by
@aaythapa in #3022
+ * fix: Fix two places that could cause internal errors by @aahung in #3023
+ * fix: cors integ test by @ConnorRobertson in #3024
+ * Add Region & SetIdentifier properties to Route53 to enable latency based
routing by @davidcolclazier in #2998
+ * chore: Add type to metrics code and deprecate CWMetricsPublisher by
@aahung in #3025
+ * ci: Exclude samtranslator.internal from interface scan by @aahung in #3027
+ * Merge main to develop by @hoffa in #3029
+ * chore: update properties in schema with new docs by @aaythapa in #3026
+ * chore(schema): update by @github-actions in #3030
+ * fix: remove Region/SetIdentifier-related integration tests by @hoffa in
#3033
+- from version 1.62.0
+ * chore: add stricter typing to construct assume role policy function by
@pradhapanr in #2965
+ * ci: Make transform test error json easier to diff/review by @aahung in
#2968
+ * feat: v2 of Start SFN execution policy by @ssenchenko in #2955
+ * ci: Rename make black* to make format* by @aahung in #2970
+ * fix: multiple mq source event policy name (add DynamicPolicyName) by
@ssenchenko in #2953
+ * fix: Truncate Event Bridge Rule if Id is over 64 characters by @GavinZZ in
#2967
+ * fix: Remove logical id change for Events Rule by @GavinZZ in #2972
+ * fix: Useful error message when "Properties" key is missing in embedded
connectors by @aaythapa in #2966
+ * chore: Do not install âschema_sourceâ to site-packages by
@musicinmybrain in #2973
+ * fix: Add MergeDefinitions property to Global Section by @GavinZZ in #2976
+ * feat: add AlwaysDeploy to AWS::Serverless::Api by @hoffa in #2935
+ * fix: Decouple samtranslator.models and *.intrinsics and add import tests
by @aahung in #2977
+ * chore: Merge main to develop by @aws-sam-cli-bot in #2979
+ * ci: Upgrade ruff to 0.0.253 and enable more rules by @aahung in #2983
+ * chore: Update Add Transform Tests Script by @GavinZZ in #2984
+ * chore: Release 1.62.0 (to main) by @hoffa in #3028
+- from version 1.61.0
+ * chore(schema): add Connectors resource attribute to CFN resources by
@hoffa in #2908
+ * chore(schema): update by @github-actions in #2909
+ * chore: add GeneratedProperty for CloudFormation Resource properties by
@hoffa in #2907
+ * refactor: preliminary changes for managed policy improvements by @hoffa in
#2910
+ * feat: New DisableFunctionDefaultPermissions property to block the creation
of permissions resource from SAM API Auth by @aaythapa in #2885
+ * feat: load managed policies locally by @hoffa in #2839
+ * chore: Loose typing_extensions version requirement by @jakob-keller in
#2916
+ * feat: Appsync to DynamoDb connector by @ssenchenko in #2915
+ * Move schema files by @GavinZZ in #2919
+ * Add resource validator using schema models by @GavinZZ in #2917
+ * fix: make MemorySize a pass-through by @hoffa in #2923
+ * fix: Make pass-through properties pass-through in serverless::function by
@aahung in #2924
+ * docs: add link to GeneratedProperty by @hoffa in #2925
+ * chore(schema): update by @github-actions in #2926
+ * Remove property validations for lambda resources by @xazhao in #2928
+ * Update doc path by @GavinZZ in #2931
+ * chore: replace generated properties by GeneratedProperty() by @hoffa in
#2934
+ * fix: Fix two places that could cause uncatched errors by @aahung in #2930
+ * Chore: another scan of replacing generated properties by
GeneratedProperty() by @xazhao in #2937
+ * chore: Batch update dev dependencies by @aahung in #2936
+ * fix: appsync-ddb connector integ tests by @ssenchenko in #2938
+ * chore(schema): update by @github-actions in #2946
+ * chore: Remove "type: ignore" in samtranslator/translator by @aahung in
#2947
+ * Downgrade TriggerFunction node to v14 because 18 is not available in all
regions by @ssenchenko in #2948
+ * feat: Support SAM API MergeDefinitions property by @GavinZZ in #2943
+ * chore: Replace py36 with py310 in black config by @aahung in #2949
+ * One more fix for integ tests by @ssenchenko in #2951
+ * chore: Update "Development Status" classifiers by @aahung in #2950
+ * chore: remove soft template validation by @hoffa in #2961
+ * chore: do not load managed policies if already ARN by @hoffa in #2964
+- from version 1.60.1
+ * fix: Decouple samtranslator.models and *.intrinsics and add import tests
#2977
+ * Release 1.60.1 (to main) by @aws-sam-cli-bot in #2978
+- from version 1.60.0
+ * chore: simpler way to update schema data by @hoffa in #2817
+ * feat: CloudFormation docs in schema by @hoffa in #2816
+ * feat: Allow resource attributes to be used on connectors by @aaythapa in
#2822
+ * feat: multiple destination connector by @xazhao in #2796
+ * Sync Connectors from Profile Source of Truth by @awood45 in #2824
+ * chore: Move schema source/generation out of samtranslator package by
@aahung in #2825
+ * fix(schema): more robust docs mapping by @hoffa in #2827
+ * Add location tests by @GavinZZ in #2826
+ * ci: mypy/pylint/format schema_source package by @aahung in #2828
+ * Skip Location service integ tests if service is not supported by @GavinZZ
in #2831
+ * Revert last change and Re-add location exclusion in connector tests by
@GavinZZ in #2832
+ * ci: (experimental) Add ruff before pylint to lint the codebase by @aahung
in #2833
+ * ci: (experimental) Enable more ruff rules by @aahung in #2834
+ * chore: update schema by @hoffa in #2836
+ * ci: (experimental) Enable more ruff rules by @aahung in #2835
+ * fix(schema): better docs parsing by @hoffa in #2837
+ * ci: Remove pylint by @aahung in #2843
+ * chore: use https to pull docs by @hoffa in #2846
+ * ci: Upgrade ruff to 0.0.239 by @aahung in #2847
+ * feat: New opt-in property to update Lambda version whenever a property
changes by @aaythapa in #2838
+ * ci(schema): scheduled updates by @hoffa in #2845
+ * fix: workflow typo by @hoffa in #2848
+ * chore(schema): update by @github-actions in #2849
+ * fix(schema): improve docs parsing by @hoffa in #2850
+ * docs: schema generation by @hoffa in #2851
+ * docs: add workshop by @hoffa in #2852
+ * chore: filter CFN docs by @hoffa in #2853
+ * feat: Ssm paramater policy fix by @aaythapa in #2693
++++ 187 more lines (skipped)
++++ between
/work/SRC/openSUSE:Factory/python-aws-sam-translator/python-aws-sam-translator.changes
++++ and
/work/SRC/openSUSE:Factory/.python-aws-sam-translator.new.23466/python-aws-sam-translator.changes
Old:
----
serverless-application-model-1.55.0.tar.gz
New:
----
serverless-application-model-1.68.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-aws-sam-translator.spec ++++++
--- /var/tmp/diff_new_pack.dnxqEY/_old 2023-07-06 18:28:45.547177509 +0200
+++ /var/tmp/diff_new_pack.dnxqEY/_new 2023-07-06 18:28:45.551177533 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-aws-sam-translator
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@
%define skip_python2 1
%endif
Name: python-aws-sam-translator
-Version: 1.55.0
+Version: 1.68.0
Release: 0
Summary: AWS SAM template to AWS CloudFormation template translator
License: Apache-2.0
@@ -39,6 +39,8 @@
BuildRequires: python-rpm-macros
Requires: python-boto3 >= 1.19.5
Requires: python-jsonschema >= 3.2
+Requires: python-pydantic >= 1.8
+Requires: (python-typing_extensions >= 4.4.0 if python-base < 3.7)
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
@@ -52,6 +54,7 @@
BuildRequires: %{python_module docopt >= 0.6.2}
BuildRequires: %{python_module jsonschema >= 3.2}
BuildRequires: %{python_module parameterized >= 0.7.4}
+BuildRequires: %{python_module pydantic >= 1.8}
BuildRequires: %{python_module pytest >= 3.0.7}
BuildRequires: %{python_module pytest-cov >= 2.10.1}
BuildRequires: %{python_module pytest-rerunfailures}
++++++ serverless-application-model-1.55.0.tar.gz ->
serverless-application-model-1.68.0.tar.gz ++++++
++++ 639520 lines of diff (skipped)
++++++ skip-tests-require-network.patch ++++++
--- /var/tmp/diff_new_pack.dnxqEY/_old 2023-07-06 18:28:47.207187699 +0200
+++ /var/tmp/diff_new_pack.dnxqEY/_new 2023-07-06 18:28:47.211187724 +0200
@@ -1,25 +1,27 @@
-diff -Nru
serverless-application-model-1.51.0.orig/tests/plugins/application/test_serverless_app_plugin.py
serverless-application-model-1.51.0/tests/plugins/application/test_serverless_app_plugin.py
----
serverless-application-model-1.51.0.orig/tests/plugins/application/test_serverless_app_plugin.py
2022-09-13 20:17:17.000000000 +0200
-+++
serverless-application-model-1.51.0/tests/plugins/application/test_serverless_app_plugin.py
2022-09-20 15:15:16.316869823 +0200
+diff -Nru
serverless-application-model-1.68.0.orig/tests/plugins/application/test_serverless_app_plugin.py
serverless-application-model-1.68.0/tests/plugins/application/test_serverless_app_plugin.py
+---
serverless-application-model-1.68.0.orig/tests/plugins/application/test_serverless_app_plugin.py
2023-05-25 20:47:48.000000000 +0200
++++
serverless-application-model-1.68.0/tests/plugins/application/test_serverless_app_plugin.py
2023-06-15 16:12:56.049114662 +0200
@@ -1,5 +1,6 @@
- import boto3
- import itertools
-+import unittest
- from botocore.exceptions import ClientError
-
+ from unittest import TestCase
from unittest.mock import Mock, patch
-@@ -99,6 +100,7 @@
- self.assertEqual(self.plugin._parameters, parameters)
++import unittest
+ import boto3
+ from botocore.exceptions import ClientError
+@@ -114,7 +115,7 @@
+ self.assertEqual(plugin._sar_client, sar_client)
+ self.client_mock.assert_not_called()
+-
[email protected]("Skip tests that requires network")
class
TestServerlessAppPlugin_on_before_transform_template_translate(TestCase):
def setUp(self):
client = boto3.client("serverlessrepo", region_name="us-east-1")
-@@ -440,6 +442,7 @@
+@@ -453,7 +454,7 @@
+ self.assertEqual(client.get_cloud_formation_template.call_count, 2)
self.assertEqual(plugin._get_sleep_time_sec.call_count, 1) # make
sure we slept once
-
+-
[email protected]("Skip tests that requires network")
class
TestServerlessAppPlugin_on_before_and_on_after_transform_template(TestCase):
@patch("samtranslator.plugins.application.serverless_app_plugin.SamTemplate")