commit python-cfn-lint for openSUSE:Factory
Hello community, here is the log from the commit of package python-cfn-lint for openSUSE:Factory checked in at 2020-10-10 00:29:50 Comparing /work/SRC/openSUSE:Factory/python-cfn-lint (Old) and /work/SRC/openSUSE:Factory/.python-cfn-lint.new.4249 (New) Package is "python-cfn-lint" Sat Oct 10 00:29:50 2020 rev:6 rq:840418 version:0.37.1 Changes: --- /work/SRC/openSUSE:Factory/python-cfn-lint/python-cfn-lint.changes 2020-09-15 16:16:28.941922945 +0200 +++ /work/SRC/openSUSE:Factory/.python-cfn-lint.new.4249/python-cfn-lint.changes 2020-10-10 00:29:51.777168229 +0200 @@ -1,0 +2,30 @@ +Fri Oct 9 07:23:49 UTC 2020 - John Paul Adrian Glaubitz + +- Update to 0.37.1 + * Update CloudFormation specs to 18.6.0 + * Add `AllowedValues` for `AWS::DMS::Endpoint.EngineName` + * Fix an issue with rule E2521 and E2520 to handle `Ref: AWS::Novalue` +- from version 0.37.0 + * Update CloudFormation specs to 18.5.0 + * Get `AllowedValues` from Botocore during `--update-specs` + * Add string length requirements for `AWS::Config::ConfigRule.Description` + * Patch `AWS::StepFunctions::Activity` to include `Name` and remove `Arn` + * Fix an issue with rule `E3002` to better handle when conditions +are used at the root level of a list + * Update core node libraries to remove `Ref: AWS::NoValue` from returned properties +- from version 0.36.1 + * Update CloudFormation specs to 18.4.0 + * Add `ap-northeast-3` to `scripts/update_specs_services_from_ssm.py` +- from version 0.36.0 + * Update rule E2541 to validate that input artifacts are output artifacts from +a previous action and that output artifact names are unique in the pipeline + * New rule E3007 to validate parameter and resource names are unique + * Update CloudFormation specs to 18.3.0 + * Expand `AllowedValues` for `AWS::AmazonMQ::Broker.EngineVersion` and `AWS::Glue::Trigger.Condition.State` + * Expand `templated_exceptions` property types that require package command for rule E3002 and W3002 + * Pin pyrsistent to `0.16.0` with Python versions less than `3.5` + * Fix an issue with SSM Spec patching that resulted in resource `PropertyTypes` +not being added to the spec patches + * Update directives to use the resource name key as the start + +--- Old: cfn-python-lint-0.35.1.tar.gz New: cfn-python-lint-0.37.1.tar.gz Other differences: -- ++ python-cfn-lint.spec ++ --- /var/tmp/diff_new_pack.FWOYlr/_old 2020-10-10 00:29:52.489168582 +0200 +++ /var/tmp/diff_new_pack.FWOYlr/_new 2020-10-10 00:29:52.489168582 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-cfn-lint -Version:0.35.1 +Version:0.37.1 Release:0 Summary:Tool to checks cloudformation for practices and behaviour License:MIT ++ cfn-python-lint-0.35.1.tar.gz -> cfn-python-lint-0.37.1.tar.gz ++ 251533 lines of diff (skipped)
commit python-cfn-lint for openSUSE:Factory
Hello community, here is the log from the commit of package python-cfn-lint for openSUSE:Factory checked in at 2020-09-15 16:16:20 Comparing /work/SRC/openSUSE:Factory/python-cfn-lint (Old) and /work/SRC/openSUSE:Factory/.python-cfn-lint.new.4249 (New) Package is "python-cfn-lint" Tue Sep 15 16:16:20 2020 rev:5 rq:832985 version:0.35.1 Changes: --- /work/SRC/openSUSE:Factory/python-cfn-lint/python-cfn-lint.changes 2020-07-20 21:07:03.285438660 +0200 +++ /work/SRC/openSUSE:Factory/.python-cfn-lint.new.4249/python-cfn-lint.changes 2020-09-15 16:16:28.941922945 +0200 @@ -1,0 +2,44 @@ +Tue Sep 8 09:54:16 UTC 2020 - John Paul Adrian Glaubitz + +- Update to 0.35.1 + * Update CloudFormation specs to 18.1.0 + * Expand `AllowedValues` for `AWS::CloudFront::Distribution.MinimumProtocolVersion`, +`AWS::Config::ConfigurationRecorder.ResourceTypes`, and `AWS::Glue::Connection. +ConnectionInput.ConnectionType` + * Add localzone `us-west-2-lax-1b` + * Update rule E2503 to include `routing.http.desync_mitigation_mode` + * Update excludes for rule E1029 to include `ResponseMappingTemplate` + * Update rule E1019 and E1010 to handle resource attributes of type `Map +- from version 0.35.0 + * Update CloudFormation specs to 17.0.0 + * Fix ElasticMapReduce and ManagedBlockchain InstanceType patching + * Include a regex pattern to check MetricValue is either a number or starts with `$` + * Add more types to `AWS::ApplicationAutoScaling::ScalingPolicy. +PredefinedMetricSpecification.PredefinedMetricType` + * Add more values to `AWS::Lambda::Function.Runtime` + * Add more values to `AWS::Budgets::Budget.BudgetType` + * Update rule E3031 to convert int or float to string before doing an allowed pattern +match on it + * Add exceptions to rule E1029 + * Update rule E8003 to look for string based parameters +- from version 0.34.1 + * Update CloudFormation specs to 16.3.0 + * Update rule E3001 to catch when Resource `Type` is not a string + * Update rule E1029 to handle `${}` in Step Function State Machines and Definition Substitutions + * Update rule W4002 to only look at `Ref` and `Sub` +- from version 0.34.0 + * Add rule W4002 that checks if `Metadata` references a `NoEcho` parameter + * Update CloudFormation specs to 16.1.0 + * Remove `AWS::EC2::LaunchTemplate.BlockDeviceMapping` from `OnlyOne` + * Add more `AllowedValues` to `AWS::Glue::Trigger.Predicate.Logical` + * Add more `AllowedValues` to `AWS::ApplicationAutoScaling::ScalingPolicy.PredefinedMetric +Specification.PredefinedMetricType` + * Add more `AllowedValues` to `AWS::S3::Bucket.TopicConfiguration.Event` + * Add more `AllowedValues` to `AWS::EC2::CapacityReservation.InstancePlatform` + * Fix an issue for applying `AllowedValues` to `AWS::RDS::DBInstance MonitoringInterval` +and `PerformanceInsightsRetentionPeriod` + * Fix an issue for applying `Maximum` and `Minimum` to `AWS::ElasticLoadBalancingV2:: +ListenerRule.Priority` + * Update rule E3503 to not fail on if ValidationDomain or DomainName aren't present + +--- Old: cfn-python-lint-0.33.2.tar.gz New: cfn-python-lint-0.35.1.tar.gz Other differences: -- ++ python-cfn-lint.spec ++ --- /var/tmp/diff_new_pack.5h8Mbf/_old 2020-09-15 16:16:29.477923442 +0200 +++ /var/tmp/diff_new_pack.5h8Mbf/_new 2020-09-15 16:16:29.481923445 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-cfn-lint -Version:0.33.2 +Version:0.35.1 Release:0 Summary:Tool to checks cloudformation for practices and behaviour License:MIT ++ cfn-python-lint-0.33.2.tar.gz -> cfn-python-lint-0.35.1.tar.gz ++ 130807 lines of diff (skipped)
commit python-cfn-lint for openSUSE:Factory
Hello community, here is the log from the commit of package python-cfn-lint for openSUSE:Factory checked in at 2020-07-20 21:05:21 Comparing /work/SRC/openSUSE:Factory/python-cfn-lint (Old) and /work/SRC/openSUSE:Factory/.python-cfn-lint.new.3592 (New) Package is "python-cfn-lint" Mon Jul 20 21:05:21 2020 rev:4 rq:821880 version:0.33.2 Changes: --- /work/SRC/openSUSE:Factory/python-cfn-lint/python-cfn-lint.changes 2020-05-09 19:52:29.352855246 +0200 +++ /work/SRC/openSUSE:Factory/.python-cfn-lint.new.3592/python-cfn-lint.changes 2020-07-20 21:07:03.285438660 +0200 @@ -1,0 +2,6 @@ +Fri Jul 3 15:05:15 UTC 2020 - Marketa Calabkova + +- Update to 0.33.2 + * few new rules and specification update + +--- Old: cfn-python-lint-0.30.1.tar.gz New: cfn-python-lint-0.33.2.tar.gz Other differences: -- ++ python-cfn-lint.spec ++ --- /var/tmp/diff_new_pack.nd1Wf1/_old 2020-07-20 21:07:05.693441102 +0200 +++ /var/tmp/diff_new_pack.nd1Wf1/_new 2020-07-20 21:07:05.697441106 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-cfn-lint -Version:0.30.1 +Version:0.33.2 Release:0 Summary:Tool to checks cloudformation for practices and behaviour License:MIT @@ -29,10 +29,11 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyYAML -Requires: python-aws-sam-translator >= 1.21.0 +Requires: python-aws-sam-translator >= 1.25.0 Requires: python-importlib_resources >= 1.0.2 Requires: python-jsonpatch Requires: python-jsonschema > 3.0 +Requires: python-junit-xml >= 1.9 Requires: python-networkx >= 2.2 Requires: python-requests >= 2.15.0 Requires: python-six >= 1.11 @@ -47,10 +48,11 @@ %endif # SECTION test requirements BuildRequires: %{python_module PyYAML} -BuildRequires: %{python_module aws-sam-translator >= 1.21.0} +BuildRequires: %{python_module aws-sam-translator >= 1.25.0} BuildRequires: %{python_module importlib_resources >= 1.0.2} BuildRequires: %{python_module jsonpatch} BuildRequires: %{python_module jsonschema > 3.0} +BuildRequires: %{python_module junit-xml >= 1.9} BuildRequires: %{python_module mock} BuildRequires: %{python_module networkx >= 2.2} BuildRequires: %{python_module pydot} ++ cfn-python-lint-0.30.1.tar.gz -> cfn-python-lint-0.33.2.tar.gz ++ 125167 lines of diff (skipped)
commit python-cfn-lint for openSUSE:Factory
Hello community, here is the log from the commit of package python-cfn-lint for openSUSE:Factory checked in at 2020-05-09 19:52:21 Comparing /work/SRC/openSUSE:Factory/python-cfn-lint (Old) and /work/SRC/openSUSE:Factory/.python-cfn-lint.new.2738 (New) Package is "python-cfn-lint" Sat May 9 19:52:21 2020 rev:3 rq:800033 version:0.30.1 Changes: --- /work/SRC/openSUSE:Factory/python-cfn-lint/python-cfn-lint.changes 2019-09-07 11:50:17.278300835 +0200 +++ /work/SRC/openSUSE:Factory/.python-cfn-lint.new.2738/python-cfn-lint.changes 2020-05-09 19:52:29.352855246 +0200 @@ -1,0 +2,18 @@ +Mon May 4 07:38:02 UTC 2020 - Tomáš Chvátal + +- Update to 0.30.1: + * Fix many various issues and support new regions +- Drop merged patches: + * cl_drop-compatible-releases-operator.patch + * cl_fix-config-expand-paths-test.patch + * cl_fix-lambda-runtimes-EOL-dates.patch + +--- +Mon May 4 07:33:44 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 +- Fix cfn-lint subpackage by moving it back to the python*-cfn-lint + it is setuptools entrypoint, no reason to split it out + * use update-alternatives to switch between binaries + +--- Old: cfn-python-lint-0.21.4.tar.gz cl_drop-compatible-releases-operator.patch cl_fix-config-expand-paths-test.patch cl_fix-lambda-runtimes-EOL-dates.patch New: cfn-python-lint-0.30.1.tar.gz Other differences: -- ++ python-cfn-lint.spec ++ --- /var/tmp/diff_new_pack.NEunnM/_old 2020-05-09 19:52:30.448857599 +0200 +++ /var/tmp/diff_new_pack.NEunnM/_new 2020-05-09 19:52:30.452857608 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-cfn-lint # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,48 +17,53 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-cfn-lint -Version:0.21.4 +Version:0.30.1 Release:0 Summary:Tool to checks cloudformation for practices and behaviour License:MIT -Group: Development/Languages/Python URL:https://github.com/aws-cloudformation/cfn-python-lint Source: https://github.com/aws-cloudformation/cfn-python-lint/archive/v%{version}.tar.gz#/cfn-python-lint-%{version}.tar.gz -Patch0: cl_drop-compatible-releases-operator.patch -Patch1: cl_fix-lambda-runtimes-EOL-dates.patch -Patch2: cl_fix-config-expand-paths-test.patch -%if 0%{?suse_version} < 1500 -BuildRequires: python -%endif BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyYAML -Requires: python-aws-sam-translator >= 1.10.0 +Requires: python-aws-sam-translator >= 1.21.0 +Requires: python-importlib_resources >= 1.0.2 Requires: python-jsonpatch -Requires: python-jsonschema > 2.6 +Requires: python-jsonschema > 3.0 +Requires: python-networkx >= 2.2 Requires: python-requests >= 2.15.0 -Requires: python-six > 1.11 +Requires: python-six >= 1.11 +Requires(post): update-alternatives +Requires(postun): update-alternatives +Recommends: python-pydot +Provides: cfn-lint = %{version} +Obsoletes: cfn-lint < %{version} BuildArch: noarch +%if 0%{?suse_version} < 1500 +BuildRequires: python +%endif # SECTION test requirements BuildRequires: %{python_module PyYAML} -BuildRequires: %{python_module aws-sam-translator >= 1.10.0} +BuildRequires: %{python_module aws-sam-translator >= 1.21.0} +BuildRequires: %{python_module importlib_resources >= 1.0.2} BuildRequires: %{python_module jsonpatch} -BuildRequires: %{python_module jsonschema > 2.6} +BuildRequires: %{python_module jsonschema > 3.0} BuildRequires: %{python_module mock} +BuildRequires: %{python_module networkx >= 2.2} +BuildRequires: %{python_module pydot} BuildRequires: %{python_module requests >= 2.15.0} -BuildRequires: %{python_module six > 1.11} +BuildRequires: %{python_module six >= 1.11} BuildRequires: bash -BuildRequires: python-enum34 >= 1.1 +%if %{with python2} BuildRequires: python-pathlib2 >= 2.3.0 +%endif # /SECTION %ifpython2 Requires: python-pathlib2 >= 2.3.0 %endif -%ifpython3 -Requires: cfn-lint = %{version} -%endif %python_subpackages %description @@ -66,24 +71,10 @@ spec and additional checks. Includes checking valid values for resource properties and best
commit python-cfn-lint for openSUSE:Factory
Hello community, here is the log from the commit of package python-cfn-lint for openSUSE:Factory checked in at 2019-09-07 11:50:10 Comparing /work/SRC/openSUSE:Factory/python-cfn-lint (Old) and /work/SRC/openSUSE:Factory/.python-cfn-lint.new.7948 (New) Package is "python-cfn-lint" Sat Sep 7 11:50:10 2019 rev:2 rq:728480 version:0.21.4 Changes: --- /work/SRC/openSUSE:Factory/python-cfn-lint/python-cfn-lint.changes 2019-06-18 14:57:28.441361967 +0200 +++ /work/SRC/openSUSE:Factory/.python-cfn-lint.new.7948/python-cfn-lint.changes 2019-09-07 11:50:17.278300835 +0200 @@ -1,0 +2,9 @@ +Thu Sep 5 11:17:31 UTC 2019 - John Paul Adrian Glaubitz + +- Add upstream patch to fix EOL dates for lambda runtimes + + cl_fix-lambda-runtimes-EOL-dates.patch +- Add upstream patch to fix test_config_expand_paths test + + cl_fix-config-expand-paths-test.patch +- Add python to BuildRequires for suse_version < 1500 + +--- New: cl_fix-config-expand-paths-test.patch cl_fix-lambda-runtimes-EOL-dates.patch Other differences: -- ++ python-cfn-lint.spec ++ --- /var/tmp/diff_new_pack.dQW75V/_old 2019-09-07 11:50:18.834300616 +0200 +++ /var/tmp/diff_new_pack.dQW75V/_new 2019-09-07 11:50:18.878300609 +0200 @@ -26,6 +26,11 @@ URL:https://github.com/aws-cloudformation/cfn-python-lint Source: https://github.com/aws-cloudformation/cfn-python-lint/archive/v%{version}.tar.gz#/cfn-python-lint-%{version}.tar.gz Patch0: cl_drop-compatible-releases-operator.patch +Patch1: cl_fix-lambda-runtimes-EOL-dates.patch +Patch2: cl_fix-config-expand-paths-test.patch +%if 0%{?suse_version} < 1500 +BuildRequires: python +%endif BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -77,6 +82,8 @@ %prep %setup -q -n cfn-python-lint-%{version} %patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build %python_build ++ cl_fix-config-expand-paths-test.patch ++ >From 4e31772eab4f39a5bfd6ae6c0ad192cf1299456f Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen Date: Sun, 23 Jun 2019 21:22:45 +0800 Subject: [PATCH] Fix a flaky test test_config_expand_paths sometimes fails with: == FAIL: test_config_expand_paths (module.config.test_config_mixin.TestConfigMixIn) Test precedence in -- Traceback (most recent call last): File "/home/yen/var/syncthing/Projects/cfn-python-lint/.tox/py37/lib/python3.7/site-packages/mock/mock.py", line 1330, in patched return func(*args, **keywargs) File "/home/yen/var/syncthing/Projects/cfn-python-lint/test/module/config/test_config_mixin.py", line 97, in test_config_expand_paths 'test/fixtures/templates/public/rds-cluster.yaml']) AssertionError: Lists differ: ['tes[23 chars]blic/rds-cluster.yaml', 'test/fixtures/templat[25 chars]aml'] != ['tes[23 chars]blic/lambda-poller.yaml', 'test/fixtures/templ[25 chars]aml'] First differing element 0: 'test/fixtures/templates/public/rds-cluster.yaml' 'test/fixtures/templates/public/lambda-poller.yaml' - ['test/fixtures/templates/public/rds-cluster.yaml', - 'test/fixtures/templates/public/lambda-poller.yaml'] ? ^ ^ + ['test/fixtures/templates/public/lambda-poller.yaml', ? ^ ^ + 'test/fixtures/templates/public/rds-cluster.yaml'] -- --- src/cfnlint/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cfnlint/config.py b/src/cfnlint/config.py index 5b16a231..9d7debc2 100644 --- a/src/cfnlint/config.py +++ b/src/cfnlint/config.py @@ -545,7 +545,7 @@ def templates(self): if add_filename not in ignore_templates: all_filenames.append(add_filename) -return all_filenames +return sorted(all_filenames) def _ignore_templates(self): """ templates """ ++ cl_fix-lambda-runtimes-EOL-dates.patch ++ >From 3189b0b190c80f9dcd1bd13188baff852e952ca1 Mon Sep 17 00:00:00 2001 From: Chuck Meyer Date: Tue, 2 Jul 2019 12:58:34 -0400 Subject: [PATCH] Patched date tests and rule descriptions EOL lambda runtimes (#999) --- .gitignore| 3 ++ .../resources/lmbd/DeprecatedRuntimeEnd.py| 2 +- .../results/public/lambda-poller.json | 50 +-- .../results/quickstart/nist_config_rules.json | 9 ++-- .../lmbd/test_deprecated_runtime_end.py | 3 ++