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 2021-08-18 08:56:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cfn-lint (Old)
 and      /work/SRC/openSUSE:Factory/.python-cfn-lint.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cfn-lint"

Wed Aug 18 08:56:17 2021 rev:12 rq:912693 version:0.53.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cfn-lint/python-cfn-lint.changes  
2021-06-11 22:31:09.122179905 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cfn-lint.new.1899/python-cfn-lint.changes    
    2021-08-18 08:57:09.334887166 +0200
@@ -1,0 +2,57 @@
+Tue Aug 17 00:38:41 UTC 2021 - Fusion Future <qydwhotm...@gmail.com>
+
+- Update to 0.53.0:
+  + Features
+    * Update aws-sam-translator to 1.38.0 (pull #2082)
+    * Signal the end of life for Python 3.5 (pull #2052)
+    * Allow configuration of top level sections in rule E1001
+      (pull #2090)
+  + CloudFormation Specifications
+    * Update resource specs to 39.8.0 (pull #2087)
+    * Add StringMax to AWS::SNS::Topic.TopicName,
+      AWS::IAM::Role.Name, AWS::SNS::Topic.TopicName,
+      AWS::Lambda::Function properties Handler, Description,
+      FunctionName, and AWS::Lambda::LayerVersion properties
+      LayerName (pull #2089)
+  + Fixes
+    * Update RetentionPeriodHours for AWS::Kinesis::Stream to 8760
+      (pull #2071)
+    * Expand expanding likely_stateful_resource_types to include
+      AWS::DynamoDB::GlobalTable (pull #2079)
+- Changes from 0.52.0:
+  + Features
+    * End support for Python 3.4 (pull #2048)
+    * New rule I3013 to validate retention period settings on
+      applicable resources (pull #2054)
+  + CloudFormation Specifications
+    * Update resource specs to `39.3.0` (pull #2047)
+  + Fixes
+    * Update `ManagedPolicies.json` to include
+      `AWSLambda_FullAccess` and `AWSLambda_ReadOnlyAccess`
+      (pull #2062)
+    * Fix a warning in setuptools with `description-file` needed to
+      be `description_file` (pull #2051)
+    * Update the `schema.json` for `.cfnlintrc` files to have the
+      correct format for `custom_rules` (pull #2055)
+    * Update rule E1029 to `not` look at `TemplatyBody` since it
+      can be a nested template (pull #2057)
+    * Update rule E3012 to think of a list as json (pull #2067)
+- Changes from 0.51.0:
+  + Features
+    * A new sub class to make working with `Fn::Sub` easier
+      (pull #2003)
+  + CloudFormation Specifications
+    * Update resource specs to `39.1.0` (pull #2044)
+  + Fixes
+    * Fix an issue with `networkx` package nesting in the graph
+      function (pull #2035)
+    * Update rule E1029 to only alert when the value found is a
+      parameter or a resource (pull #2031)
+- Drop command to remove source files containing online tests.
+- Rename original tarball filename in Source field.
+- Add skip-tests-require-network.patch to skip tests that requires
+  network:
+  * test_update_resource_specs_python_2
+  * test_update_resource_specs_python_3
+
+-------------------------------------------------------------------

Old:
----
  cfn-python-lint-0.50.0.tar.gz

New:
----
  cfn-lint-0.53.0.tar.gz
  skip-tests-require-network.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cfn-lint.spec ++++++
--- /var/tmp/diff_new_pack.emY4Sh/_old  2021-08-18 08:57:09.746886682 +0200
+++ /var/tmp/diff_new_pack.emY4Sh/_new  2021-08-18 08:57:09.750886677 +0200
@@ -20,12 +20,13 @@
 %define skip_python2 1
 %define skip_python36 1
 Name:           python-cfn-lint
-Version:        0.50.0
+Version:        0.53.0
 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-python-lint-%{version}.tar.gz
+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 setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -37,7 +38,7 @@
 Requires:       python-junit-xml >= 1.9
 Requires:       python-requests >= 2.15.0
 Requires:       python-six >= 1.11
-%if %{python_version_nodots} <= 34
+%if 0%{python_version_nodots} <= 34
 Requires:       python-importlib_resources >= 1.0.2
 Requires:       python-networkx >= 2.2
 Requires:       python-pathlib2 >= 2.3.0
@@ -45,7 +46,7 @@
 %else
 Requires:       python-networkx >= 2.4
 Requires:       python-numpy
-%if %{python_version_nodots} < 37
+%if 0%{python_version_nodots} < 37
 Requires:       python-importlib_resources >= 1.4
 %endif
 %endif
@@ -91,10 +92,9 @@
 
 %prep
 %setup -q -n cfn-lint-%{version}
+%patch0 -p1
 # do not hardcode versions
 sed -i -e 's:~=:>=:g' setup.py
-# Tests require internet
-rm test/unit/module/maintenance/test_update_resource_specs*.py
 
 %build
 %python_build

++++++ cfn-python-lint-0.50.0.tar.gz -> cfn-lint-0.53.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-cfn-lint/cfn-python-lint-0.50.0.tar.gz 
/work/SRC/openSUSE:Factory/.python-cfn-lint.new.1899/cfn-lint-0.53.0.tar.gz 
differ: char 12, line 1

++++++ skip-tests-require-network.patch ++++++
 
--- a/test/unit/module/maintenance/test_update_resource_specs.py
+++ b/test/unit/module/maintenance/test_update_resource_specs.py
@@ -12,6 +12,7 @@ try:
     from urllib.request import urlopen, Request
 except ImportError:
     from urllib2 import urlopen
+import unittest
 
 LOGGER = logging.getLogger('cfnlint.maintenance')
 LOGGER.addHandler(logging.NullHandler())
@@ -190,6 +191,7 @@ class TestUpdateResourceSpecs(BaseTestCa
         mock_patch_spec.assert_not_called()
         mock_json_dump.assert_not_called()
 
+    @unittest.skip("Skip tests that requires network")
     @patch('cfnlint.maintenance.multiprocessing.Pool')
     @patch('cfnlint.maintenance.update_resource_spec')
     @patch('cfnlint.maintenance.SPEC_REGIONS', {'us-east-1': 
'http://foo.badurl'})
@@ -202,6 +204,7 @@ class TestUpdateResourceSpecs(BaseTestCa
 
         fake_pool.starmap.assert_called_once()
 
+    @unittest.skip("Skip tests that requires network")
     @patch('cfnlint.maintenance.multiprocessing.Pool')
     @patch('cfnlint.maintenance.update_resource_spec')
     @patch('cfnlint.maintenance.SPEC_REGIONS', {'us-east-1': 
'http://foo.badurl'})

Reply via email to