Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-openwrt-luci-rpc for 
openSUSE:Factory checked in at 2023-07-25 11:50:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openwrt-luci-rpc (Old)
 and      /work/SRC/openSUSE:Factory/.python-openwrt-luci-rpc.new.1467 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-openwrt-luci-rpc"

Tue Jul 25 11:50:41 2023 rev:4 rq:1099788 version:1.1.16

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-openwrt-luci-rpc/python-openwrt-luci-rpc.changes
  2023-03-07 16:50:02.841493954 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openwrt-luci-rpc.new.1467/python-openwrt-luci-rpc.changes
        2023-07-25 11:52:16.913866549 +0200
@@ -1,0 +2,8 @@
+Thu Jul 20 19:38:26 UTC 2023 - Antonio Teixeira <[email protected]>
+
+- Update to 1.1.16 (2023-03-09)
+  * Downgrade logging level for version detection (#57)
+  * Modify test
+- Drop fix-tests.patch
+
+-------------------------------------------------------------------

Old:
----
  fix-tests.patch
  openwrt-luci-rpc-1.1.12.tar.gz

New:
----
  openwrt-luci-rpc-1.1.16.tar.gz

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

Other differences:
------------------
++++++ python-openwrt-luci-rpc.spec ++++++
--- /var/tmp/diff_new_pack.cnm5Ea/_old  2023-07-25 11:52:17.553870296 +0200
+++ /var/tmp/diff_new_pack.cnm5Ea/_new  2023-07-25 11:52:17.557870320 +0200
@@ -17,14 +17,12 @@
 
 
 Name:           python-openwrt-luci-rpc
-Version:        1.1.12
+Version:        1.1.16
 Release:        0
 Summary:        Module for interacting with OpenWrt Luci RPC interface
 License:        Apache-2.0
 URL:            https://github.com/fbradyirl/openwrt-luci-rpc
 Source:         
https://files.pythonhosted.org/packages/source/o/openwrt-luci-rpc/openwrt-luci-rpc-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE fix-tests.patch
-Patch0:         fix-tests.patch
 BuildRequires:  %{python_module click >= 6.0}
 BuildRequires:  %{python_module packaging >= 19.1}
 BuildRequires:  %{python_module requests >= 2.21}

++++++ openwrt-luci-rpc-1.1.12.tar.gz -> openwrt-luci-rpc-1.1.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwrt-luci-rpc-1.1.12/HISTORY.rst 
new/openwrt-luci-rpc-1.1.16/HISTORY.rst
--- old/openwrt-luci-rpc-1.1.12/HISTORY.rst     2022-09-11 14:48:53.000000000 
+0200
+++ new/openwrt-luci-rpc-1.1.16/HISTORY.rst     2023-03-09 21:34:52.000000000 
+0100
@@ -152,3 +152,9 @@
 1.1.12 (2022-09-11)
 -------------------
 * Includes latest fixes to support newer versions of OpenWrt
+
+
+1.1.16 (2023-03-09)
+-------------------
+* Downgrade logging level for version detection (#57)
+* Modify test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwrt-luci-rpc-1.1.12/PKG-INFO 
new/openwrt-luci-rpc-1.1.16/PKG-INFO
--- old/openwrt-luci-rpc-1.1.12/PKG-INFO        2022-09-11 14:48:56.601897000 
+0200
+++ new/openwrt-luci-rpc-1.1.16/PKG-INFO        2023-03-09 21:34:57.081500800 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: openwrt-luci-rpc
-Version: 1.1.12
+Version: 1.1.16
 Summary: Module for interacting with OpenWrt Luci RPC interface
 Home-page: https://github.com/fbradyirl/openwrt-luci-rpc
 Author: Finbarr Brady
@@ -202,6 +202,12 @@
         -------------------
         * Includes latest fixes to support newer versions of OpenWrt
         
+        
+        1.1.16 (2023-03-09)
+        -------------------
+        * Downgrade logging level for version detection (#57)
+        * Modify test
+        
 Keywords: openwrt-luci-rpc
 Platform: UNKNOWN
 Classifier: Development Status :: 2 - Pre-Alpha
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwrt-luci-rpc-1.1.12/openwrt_luci_rpc/__init__.py 
new/openwrt-luci-rpc-1.1.16/openwrt_luci_rpc/__init__.py
--- old/openwrt-luci-rpc-1.1.12/openwrt_luci_rpc/__init__.py    2022-09-11 
14:48:53.000000000 +0200
+++ new/openwrt-luci-rpc-1.1.16/openwrt_luci_rpc/__init__.py    2023-03-09 
21:34:52.000000000 +0100
@@ -4,7 +4,7 @@
 
 __author__ = """Finbarr Brady"""
 __email__ = '[email protected]'
-__version__ = '1.1.12'
+__version__ = '1.1.16'
 
 from .openwrt_luci_rpc import OpenWrtLuciRPC
 from .constants import Constants
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openwrt-luci-rpc-1.1.12/openwrt_luci_rpc/openwrt_luci_rpc.py 
new/openwrt-luci-rpc-1.1.16/openwrt_luci_rpc/openwrt_luci_rpc.py
--- old/openwrt-luci-rpc-1.1.12/openwrt_luci_rpc/openwrt_luci_rpc.py    
2022-09-11 14:48:53.000000000 +0200
+++ new/openwrt-luci-rpc-1.1.16/openwrt_luci_rpc/openwrt_luci_rpc.py    
2023-03-09 21:34:52.000000000 +0100
@@ -114,7 +114,7 @@
             self._refresh_token()
             return self._determine_if_legacy_version()
         except Exception:
-            log.error("Could not determine OpenWRT version, \
+            log.debug("Could not determine OpenWRT version, \
                          defaulting to version 18.06")
             self.owrt_version = version.parse("18.06")
 
@@ -189,15 +189,15 @@
 
             if self.is_legacy_version:
                 if "Flags" in device_entry and only_reachable:
-                # Check if the Flags for each device contain
-                # NUD_REACHABLE and if not, skip.
+                    # Check if the Flags for each device contain
+                    # NUD_REACHABLE and if not, skip.
                     if not int(device_entry['Flags'], 16) & 0x2:
                         continue
             else:
-                if "reachable" in device_entry and only_reachable:             
   
-                    if device_entry['reachable'] == False:
+                if "reachable" in device_entry and only_reachable:
+                    if device_entry['reachable'] is False:
                         continue
-            
+
             last_results.append(device)
 
         log.debug(last_results)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openwrt-luci-rpc-1.1.12/openwrt_luci_rpc.egg-info/PKG-INFO 
new/openwrt-luci-rpc-1.1.16/openwrt_luci_rpc.egg-info/PKG-INFO
--- old/openwrt-luci-rpc-1.1.12/openwrt_luci_rpc.egg-info/PKG-INFO      
2022-09-11 14:48:56.000000000 +0200
+++ new/openwrt-luci-rpc-1.1.16/openwrt_luci_rpc.egg-info/PKG-INFO      
2023-03-09 21:34:56.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: openwrt-luci-rpc
-Version: 1.1.12
+Version: 1.1.16
 Summary: Module for interacting with OpenWrt Luci RPC interface
 Home-page: https://github.com/fbradyirl/openwrt-luci-rpc
 Author: Finbarr Brady
@@ -202,6 +202,12 @@
         -------------------
         * Includes latest fixes to support newer versions of OpenWrt
         
+        
+        1.1.16 (2023-03-09)
+        -------------------
+        * Downgrade logging level for version detection (#57)
+        * Modify test
+        
 Keywords: openwrt-luci-rpc
 Platform: UNKNOWN
 Classifier: Development Status :: 2 - Pre-Alpha
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwrt-luci-rpc-1.1.12/setup.cfg 
new/openwrt-luci-rpc-1.1.16/setup.cfg
--- old/openwrt-luci-rpc-1.1.12/setup.cfg       2022-09-11 14:48:56.601897000 
+0200
+++ new/openwrt-luci-rpc-1.1.16/setup.cfg       2023-03-09 21:34:57.081500800 
+0100
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 1.1.12
+current_version = 1.1.16
 commit = True
 tag = True
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwrt-luci-rpc-1.1.12/setup.py 
new/openwrt-luci-rpc-1.1.16/setup.py
--- old/openwrt-luci-rpc-1.1.12/setup.py        2022-09-11 14:48:53.000000000 
+0200
+++ new/openwrt-luci-rpc-1.1.16/setup.py        2023-03-09 21:34:52.000000000 
+0100
@@ -39,6 +39,6 @@
     test_suite='tests',
     tests_require=test_requirements,
     url='https://github.com/fbradyirl/openwrt-luci-rpc',
-    version='1.1.12',
+    version='1.1.16',
     zip_safe=False,
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/openwrt-luci-rpc-1.1.12/tests/test_version.py 
new/openwrt-luci-rpc-1.1.16/tests/test_version.py
--- old/openwrt-luci-rpc-1.1.12/tests/test_version.py   2022-09-11 
14:48:53.000000000 +0200
+++ new/openwrt-luci-rpc-1.1.16/tests/test_version.py   2023-03-09 
21:34:52.000000000 +0100
@@ -29,6 +29,3 @@
         assert is_legacy_version(version.parse("18.06")) is False
         assert is_legacy_version(version.parse("18.06.9")) is False
         assert is_legacy_version(version.parse("19.07.7")) is False
-
-        assert is_legacy_version(version.parse("snapshot")) is False
-        assert is_legacy_version(version.parse("21.02-snapshot")) is False

Reply via email to