Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cfn-lint for openSUSE:Factory checked in at 2022-12-07 17:35:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cfn-lint (Old) and /work/SRC/openSUSE:Factory/.python-cfn-lint.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cfn-lint" Wed Dec 7 17:35:49 2022 rev:16 rq:1041110 version:0.72.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cfn-lint/python-cfn-lint.changes 2022-09-27 20:14:46.689938386 +0200 +++ /work/SRC/openSUSE:Factory/.python-cfn-lint.new.1835/python-cfn-lint.changes 2022-12-07 17:37:39.613424592 +0100 @@ -1,0 +2,89 @@ +Wed Dec 7 10:33:01 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to 0.72.2 + * Update CloudFormation specs to `100.0.0` (pull #2493) + * Update rule (#E1011) to merge key validation into one method (pull #2502) +- from version 0.72.1 + * Add `ap-south-2` region (pull #2503) + * Rebuild the graph after doing the transform (pull #2502) +- from version 0.72.0 + * Add more info into the graph including outputs and parameters (pull #2452) + * Update CloudFormation specs to `99.0.0` (pull #2486) + * Add `eu-south-2` region (pull #2490) + * Make sure regex patterns with `\w` are validating against ASCII (pull #2487) + +------------------------------------------------------------------- +Wed Nov 16 13:08:35 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.71.1 + * Add support for region eu-central-2 (pull #2478) + * Update CloudFormation specs to 97.0.0 (pull #2475) +- Clean specfile from old python directives: requires Python >= 3.7 +- Clean %check section: alternatives provided by python-rpm-macros +- Drop skip-tests-require-network.patch + +------------------------------------------------------------------- +Mon Nov 14 16:40:02 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com> + +- Update to 0.71.0: + * Reduce storage on disk by reducing regional specs to only have differences + from us-east-1 spec (pull #2457) + * Update CloudFormation specs to 96.0.0 (pull #2461) + * Fix an issue with junit/pretty formatter/core process to get all rules even + on parse failure (pull #2462) + * Fix an issue when use stdin to pass a template and cfn-lint with parameters + giving E0000 (pull #2470) +- Release v0.70.1 + * Add support for Python 3.11 (pull #2463) + * Fix an issue with --list-rules failing (pull #2466) +- Release v0.70.0 + * Add rule W8003 to check if Fn::Equals will always be true or false (pull + #2426) + * Allow you to configure how exit codes work (pull #2436) + * Update CloudFormation specs to 95.0.0 (pull #2440) + * Remove check for string size of Lambda::Function.Code.Zipfile (pull #2447) + * Update rule E3012 to validate bad functions (pull #2441) + * Update rule E3016 to make checks less restrictive (pull #2453) +- Release v0.69.1 + * Updated string max value to Lambda::Function.Code.Zipfile to 4MB (pull + #2444) +- Release v0.69.0 + * Update decode of yaml/json to report on all duplicates (pull #2428) + * Patch in db.serverless into AWS::RDS::DBInstance.DBInstanceClass (pull + #2430) + * Added string max value to Lambda::Function.Code.Zipfile (pull #2431) + * Don't replace location for resource AWS::Serverless::Application in SAM + transform when its a string (pull #2425) +- Release v0.68.1 + * Patch in db.serverless into AWS::RDS::DBInstance.DBInstanceClass (pull + #2424) + * Update CloudFormation specs to 94.0.0 (pull #2420) +- Release v0.68.0 + * Ability to override location of the finding (pull #2410) + * Patch in DBClusterResourceId for as an Attribute of AWS::RDS::DBCluster + (pull #2407) + * Update CloudFormation specs to 93.0.0 (pull #2409) + * Update AllowedPatternRegex for AWS::CloudWatch::Alarm.MetricDataQuery.Id + (pull #2414 + * Add GetAtt to AWS::KMS::ReplicaKey.Arn for KmsKey.Arn (pull #2417) +- Release v0.67.0 + * Support child rules allowing rules to add another rule in their match + responses (pull #2393) + * Update CloudFormation specs to 92.0.0 (pull #2399) +- Release v0.66.1 + * Update CloudFormation specs to 91.0.0 (pull #2392) + * Update E8003, E1018, E1019 to allow Fn::ToJsonString inside Equals, Split, + and Sub (pull #2397) + * Update I3013 to allow https and s3 (pull #2394) +- Release v0.66.0 + * Update E3002 to provide a suggestion if the wrong value is close to a + correct value (pull #2387) + * Update CloudFormation specs to 90.0.0 (pull #2376) + * Add in allowed values for oracle cdb engine types to + AWS::RDS::DBInstance.Engine (pull #2381) + * Add in allowd value PredictiveScaling to + AWS::AutoScaling::ScalingPolicy.PolicyType (pull #2378) + * Update W3002 to validate values aren't already S3 paths (pull #2382) + * Update I3013 to not regex check if a function (pull #2386) + +------------------------------------------------------------------- Old: ---- cfn-lint-0.65.1.tar.gz skip-tests-require-network.patch New: ---- cfn-lint-0.72.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cfn-lint.spec ++++++ --- /var/tmp/diff_new_pack.WNRqvk/_old 2022-12-07 17:37:40.089427198 +0100 +++ /var/tmp/diff_new_pack.WNRqvk/_new 2022-12-07 17:37:40.093427219 +0100 @@ -16,76 +16,45 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 Name: python-cfn-lint -Version: 0.65.1 +Version: 0.72.2 Release: 0 Summary: Tool to checks cloudformation for practices and behaviour License: MIT URL: https://github.com/aws-cloudformation/cfn-python-lint Source: https://github.com/aws-cloudformation/cfn-python-lint/archive/v%{version}.tar.gz#/cfn-lint-%{version}.tar.gz -Patch0: skip-tests-require-network.patch +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: git-core Requires: python-PyYAML >= 5.4 -Requires: python-aws-sam-translator >= 1.51.0 +Requires: python-aws-sam-translator >= 1.54.0 +Requires: python-jschema-to-python >= 1.2.3 Requires: python-jsonpatch -Requires: python-jsonschema > 3.0 Requires: python-junit-xml >= 1.9 -Requires: python-requests >= 2.15.0 -Requires: python-sarif-om >= 1.0.4 -Requires: python-six >= 1.11 -%if 0%{python_version_nodots} <= 34 -Requires: python-importlib_resources >= 1.0.2 -Requires: python-networkx >= 2.2 -Requires: python-pathlib2 >= 2.3.0 -Requires: python-pyrsistent <= 0.16.0 -%else Requires: python-networkx >= 2.4 -Requires: python-numpy -%if 0%{python_version_nodots} < 37 -Requires: python-importlib_resources >= 1.4 -%endif -%endif - +Requires: python-sarif-om >= 1.0.4 +Requires: (python-jsonschema > 3.0 with python-jsonschema < 5) Requires(post): update-alternatives Requires(postun):update-alternatives -Requires: python-jschema-to-python >= 1.2.3 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 >= 5.4} -BuildRequires: %{python_module aws-sam-translator >= 1.39.0} +BuildRequires: %{python_module aws-sam-translator >= 1.54.0} BuildRequires: %{python_module jschema-to-python >= 1.2.3} BuildRequires: %{python_module jsonpatch} -BuildRequires: %{python_module jsonschema > 3.0} +BuildRequires: %{python_module jsonschema > 3.0 with %python-jsonschema < 5} BuildRequires: %{python_module junit-xml >= 1.9} -BuildRequires: %{python_module networkx >= 2.2} -BuildRequires: %{python_module numpy} +BuildRequires: %{python_module networkx >= 2.4} BuildRequires: %{python_module pydot} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module requests >= 2.15.0} BuildRequires: %{python_module sarif-om >= 1.0.4} -BuildRequires: %{python_module six >= 1.11} BuildRequires: bash BuildRequires: git-core -%if %{with python2} -BuildRequires: python-importlib-resources >= 1.0.2 -BuildRequires: python-pathlib2 >= 2.3.0 -%endif -BuildRequires: (python3-importlib-resources >= 1.0.2 if python3-base == 3.4) -BuildRequires: (python3-importlib-resources >= 1.4 if (python3-base < 3.7 and python3-base > 3.4)) -BuildRequires: (python3-pathlib2 >= 2.3.0 if python3-base <= 3.4) -BuildRequires: (python36-importlib-resources >= 1.4 if python36-base) # /SECTION %python_subpackages @@ -96,7 +65,6 @@ %prep %setup -q -n cfn-lint-%{version} -%patch0 -p1 # do not hardcode versions sed -i -e 's:~=:>=:g' setup.py @@ -108,31 +76,23 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/cfn-lint -%post -%python_install_alternative cfn-lint - -%postun -%python_uninstall_alternative cfn-lint - %check export LANG=en_US.UTF-8 export AWS_DEFAULT_REGION=us-east-1 - -# We use update-alternatives and don't have cfn-lint binary around during check -mkdir bin -OPATH=$PATH - # the code calls git grep, need to be inside git repo git init git add src/cfnlint/rules +# deselect online tests +donttest="test_sarif_formatter" +donttest="$donttest or test_update_resource_specs_python_2" +donttest="$donttest or test_update_resource_specs_python_3" +%pytest -s test -v -k "not ($donttest)" -%{python_expand # -ln -sf %{buildroot}%{_bindir}/cfn-lint-%{$python_bin_suffix} bin/cfn-lint -export PATH="./bin:$OPATH" -export PYTHONPATH=%{buildroot}%{$python_sitelib} -# test_sarif_formatter: online test -$python -B -m pytest -s test -v -k 'not test_sarif_formatter' -} +%post +%python_install_alternative cfn-lint + +%postun +%python_uninstall_alternative cfn-lint %files %{python_files} %doc CHANGELOG.md README.md ++++++ cfn-lint-0.65.1.tar.gz -> cfn-lint-0.72.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-cfn-lint/cfn-lint-0.65.1.tar.gz /work/SRC/openSUSE:Factory/.python-cfn-lint.new.1835/cfn-lint-0.72.2.tar.gz differ: char 16, line 1