Accepting request 1109527 from home:glaubitz:branches:devel:languages:python:aws
- Update to version 1.74.0 * fix:RuntimeManagementConfig by @ConnorRobertson in #3274 * chore: update schema by @ConnorRobertson in #3276 * Merge main to develop by @ConnorRobertson in #3278 * chore: switch to SimpleTable in gql integ tests by @ssenchenko in #3279 * chore: Update Lambda envs in integ tests by @ssenchenko in #3280 * fix: Fix Propagate Tags when Tags is defined in Globals by @GavinZZ in #3284 * feat: Input transformer for AWS::Serverless::Function.EventBridgeRule by @ConnorRobertson in #3283 * Release 1.74.0 (to main) by @xazhao in #3329 - from version 1.73.0 * chore(schema): update by @github-actions in #3267 * chore(schema): update by @github-actions in #3266 * ci: fail tests on warnings by @hoffa in #3248 * chore(schema): update by @github-actions in #3272 * Release 1.73.0 (to main) by @ssenchenko in #3295 - from version 1.72.0 * Merge main to develop by @GavinZZ in #3226 * fix: read from default boto3 session if present. by @sriram-mv in #3224 * chore(schema): update by @github-actions in #3227 * chore: use auto-generated CFN docs from CDK by @hoffa in #3219 * docs: update schema diagram by @hoffa in #3229 * docs: add schema workflow badge by @hoffa in #3230 * chore: update SAM schema docs by @hoffa in #3232 * chore: remove SAM schema docs automation by @hoffa in #3233 * chore(schema): update by @github-actions in #3234 * docs: update schema diagram by @hoffa in #3235 * chore(schema): update by @github-actions in #3238 * chore(schema): update by @github-actions in #3239 * chore(schema): update by @github-actions in #3241 * Set runtime for resolvers which use generated code by @ssenchenko in #3240 * Merge main to develop by @hoffa in #3243 * chore(schema): update by @github-actions in #3244 * chore(schema): update by @github-actions in #3247 * optional table-arn for ddb datasource by @ssenchenko in #3250 * chore: update managed policies by @hoffa in #3251 * chore(schema): update by @github-actions in #3252 * allow intrinsics for some less important fields by @ssenchenko in #3253 * add "graphqlapi:createdBy": "SAM" tag by @ssenchenko in #3254 * chore(schema): update by @github-actions in #3255 * chore: remove legacy schema validation code by @hoffa in #3257 * chore: json schema docs update by @ssenchenko in #3256 * chore(schema): update by @github-actions in #3259 * Release 1.72.0 (to main) by @ConnorRobertson in #3277 - Drop patch to skip network tests * skip-tests-require-network.patch - Update and Rewrite skip list for failing tests OBS-URL: https://build.opensuse.org/request/show/1109527 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=44
This commit is contained in:
parent
d6301d98bb
commit
5a3cfa31ba
@ -1,5 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 1 15:44:47 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
Thu Sep 7 11:31:24 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 1.74.0
|
||||
* fix:RuntimeManagementConfig by @ConnorRobertson in #3274
|
||||
@ -45,7 +45,14 @@ Fri Sep 1 15:44:47 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.c
|
||||
* chore: json schema docs update by @ssenchenko in #3256
|
||||
* chore(schema): update by @github-actions in #3259
|
||||
* Release 1.72.0 (to main) by @ConnorRobertson in #3277
|
||||
- from version 1.71.0
|
||||
- Drop patch to skip network tests
|
||||
* skip-tests-require-network.patch
|
||||
- Update and Rewrite skip list for failing tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 1 15:44:47 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 1.71.0
|
||||
* chore(schema): update by @github-actions in #3192
|
||||
* chore: make statemachine cw events test nonblocking by @aaythapa in #3196
|
||||
* feat: make add_transform_test.py always match expected output by @hoffa in #3195
|
||||
|
@ -27,13 +27,13 @@
|
||||
%define skip_python2 1
|
||||
%endif
|
||||
Name: python-aws-sam-translator
|
||||
Version: 1.71.0
|
||||
Version: 1.74.0
|
||||
Release: 0
|
||||
Summary: AWS SAM template to AWS CloudFormation template translator
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/awslabs/serverless-application-model
|
||||
Source: https://github.com/awslabs/serverless-application-model/archive/v%{version}.tar.gz#/serverless-application-model-%{version}.tar.gz
|
||||
Patch0: skip-tests-require-network.patch
|
||||
#Patch0: skip-tests-require-network.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -87,11 +87,16 @@ install -D -m 755 bin/sam-translate.py %{buildroot}%{_bindir}/sam-translate
|
||||
%if %{with test}
|
||||
%check
|
||||
export LANG=en_US.UTF8
|
||||
# test_is_service_supported_positive_4_ec2:
|
||||
# samtranslator/region_configuration.py:52: NoRegionFound
|
||||
# test_errors_13_error_definitionuri:
|
||||
# AssertionError: Expected 7 errors, found 9
|
||||
%pytest -k 'not (test_is_service_supported_positive_4_ec2 or test_errors_13_error_definitionuri or test_py27_hash)'
|
||||
donttest="test_plugin_accepts_different_sar_client or test_plugin_accepts_flags or"
|
||||
donttest="$donttest test_plugin_accepts_parameters or test_plugin_default_values or"
|
||||
donttest="$donttest test_plugin_invalid_configuration_raises_exception or test_plugin_must_setup_correct_name or"
|
||||
donttest="$donttest test_must_process_applications or test_must_process_applications_validate or"
|
||||
donttest="$donttest test_process_invalid_applications or test_process_invalid_applications_validate or"
|
||||
donttest="$donttest test_resolve_intrinsics or test_sar_service_calls or test_sar_success_one_app or"
|
||||
donttest="$donttest test_sar_throttling_doesnt_stop_processing or test_sleep_between_sar_checks or"
|
||||
donttest="$donttest test_unexpected_sar_error_stops_processing or test_time_limit_exceeds_between_combined_sar_calls or"
|
||||
donttest="$donttest test_is_service_supported_positive_4_ec2"
|
||||
%pytest -k "not ($donttest)"
|
||||
%endif
|
||||
|
||||
%post
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8bdcc10b9dc70e8adb68b62dfed190c5112d7d628bab51ea3413b6582235f054
|
||||
size 6001064
|
3
serverless-application-model-1.74.0.tar.gz
Normal file
3
serverless-application-model-1.74.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b629ae028344e9e8e885217b223504d6faa29ecabb2760dd3c95110ac5485dbb
|
||||
size 5082475
|
@ -1,28 +0,0 @@
|
||||
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 @@
|
||||
from unittest import TestCase
|
||||
from unittest.mock import Mock, patch
|
||||
+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()
|
||||
|
||||
-
|
||||
+@unittest.skip("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")
|
||||
@@ -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
|
||||
|
||||
-
|
||||
+@unittest.skip("Skip tests that requires network")
|
||||
class TestServerlessAppPlugin_on_before_and_on_after_transform_template(TestCase):
|
||||
@patch("samtranslator.plugins.application.serverless_app_plugin.SamTemplate")
|
||||
def test_time_limit_exceeds_between_combined_sar_calls(self, SamTemplateMock):
|
Loading…
Reference in New Issue
Block a user