Hello community,

here is the log from the commit of package python-python-xlib for 
openSUSE:Factory checked in at 2020-08-06 17:32:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-xlib (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-xlib.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-xlib"

Thu Aug  6 17:32:40 2020 rev:6 rq:824575 version:0.27

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-xlib/python-python-xlib.changes    
2020-01-16 18:14:24.680743022 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-python-xlib.new.3399/python-python-xlib.changes
  2020-08-06 17:33:23.321105073 +0200
@@ -1,0 +2,7 @@
+Wed Aug  5 08:07:43 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com>
+
+- update to 0.27
+  * fix TypeError in socket.error exception handling for Python 3.x (by 
@t-wissmann)
+  * NV-CONTROL: set offset for all perf levels (by @Sporif)
+
+-------------------------------------------------------------------

Old:
----
  python-xlib-0.26.tar.bz2

New:
----
  python-xlib-0.27.tar.bz2

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

Other differences:
------------------
++++++ python-python-xlib.spec ++++++
--- /var/tmp/diff_new_pack.OgilV5/_old  2020-08-06 17:33:24.893104909 +0200
+++ /var/tmp/diff_new_pack.OgilV5/_new  2020-08-06 17:33:24.897104908 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         oldpython python
 Name:           python-python-xlib
-Version:        0.26
+Version:        0.27
 Release:        0
 Summary:        Python X11 interface
 License:        LGPL-2.1-or-later

++++++ python-xlib-0.26.tar.bz2 -> python-xlib-0.27.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-xlib-0.26/CHANGELOG.md 
new/python-xlib-0.27/CHANGELOG.md
--- old/python-xlib-0.26/CHANGELOG.md   2019-12-08 13:01:55.000000000 +0100
+++ new/python-xlib-0.27/CHANGELOG.md   2020-04-07 17:03:59.000000000 +0200
@@ -1,5 +1,19 @@
 NEWS for Python X Library
 
+Version 0.27
+============
+
+Bug Fixes
+---------
+
+- fix TypeError in socket.error exception handling for Python 3.x (by 
@t-wissmann)
+
+Extensions
+--------------------
+
+- NV-CONTROL: set offset for all perf levels (by @Sporif)
+
+---
 Version 0.26
 ============
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-xlib-0.26/PKG-INFO 
new/python-xlib-0.27/PKG-INFO
--- old/python-xlib-0.26/PKG-INFO       2019-12-08 13:05:43.000000000 +0100
+++ new/python-xlib-0.27/PKG-INFO       2020-04-07 17:12:06.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-xlib
-Version: 0.26
+Version: 0.27
 Summary: Python X Library
 Home-page: https://github.com/python-xlib/python-xlib
 Author: Peter Liljenberg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-xlib-0.26/Xlib/__init__.py 
new/python-xlib-0.27/Xlib/__init__.py
--- old/python-xlib-0.26/Xlib/__init__.py       2019-12-08 13:01:55.000000000 
+0100
+++ new/python-xlib-0.27/Xlib/__init__.py       2020-04-07 17:03:59.000000000 
+0200
@@ -19,7 +19,7 @@
 #    Suite 330,
 #    Boston, MA 02111-1307 USA
 
-__version__ = (0, 26)
+__version__ = (0, 27)
 
 __version_extra__ = ''
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-xlib-0.26/Xlib/ext/nvcontrol.py 
new/python-xlib-0.27/Xlib/ext/nvcontrol.py
--- old/python-xlib-0.26/Xlib/ext/nvcontrol.py  2019-12-08 12:17:04.000000000 
+0100
+++ new/python-xlib-0.27/Xlib/ext/nvcontrol.py  2020-04-07 17:03:59.000000000 
+0200
@@ -273,6 +273,10 @@
     return set_int_attribute(self, target, perf_level, 
NV_CTRL_GPU_NVCLOCK_OFFSET, offset)
 
 
+def set_gpu_nvclock_offset_all_levels(self, target, offset):
+    return set_int_attribute(self, target, 0, 
NV_CTRL_GPU_NVCLOCK_OFFSET_ALL_PERFORMANCE_LEVELS, offset)
+
+
 def get_gpu_nvclock_offset_range(self, target, perf_level):
     return query_valid_attr_values(self, target, perf_level, 
NV_CTRL_GPU_NVCLOCK_OFFSET)
 
@@ -285,6 +289,10 @@
     return set_int_attribute(self, target, perf_level, 
NV_CTRL_GPU_MEM_TRANSFER_RATE_OFFSET, offset)
 
 
+def set_mem_transfer_rate_offset_all_levels(self, target, offset):
+    return set_int_attribute(self, target, 0, 
NV_CTRL_GPU_MEM_TRANSFER_RATE_OFFSET_ALL_PERFORMANCE_LEVELS, offset)
+
+
 def get_mem_transfer_rate_offset_range(self, target, perf_level):
     return query_valid_attr_values(self, target, perf_level, 
NV_CTRL_GPU_MEM_TRANSFER_RATE_OFFSET)
 
@@ -372,8 +380,10 @@
     disp.extension_add_method('display', 
'nvcontrol_get_current_performance_level', get_current_performance_level)
     disp.extension_add_method('display', 'nvcontrol_get_gpu_nvclock_offset', 
get_gpu_nvclock_offset)
     disp.extension_add_method('display', 'nvcontrol_set_gpu_nvclock_offset', 
set_gpu_nvclock_offset)
+    disp.extension_add_method('display', 
'nvcontrol_set_gpu_nvclock_offset_all_levels', 
set_gpu_nvclock_offset_all_levels)
     disp.extension_add_method('display', 
'nvcontrol_get_mem_transfer_rate_offset', get_mem_transfer_rate_offset)
     disp.extension_add_method('display', 
'nvcontrol_set_mem_transfer_rate_offset', set_mem_transfer_rate_offset)
+    disp.extension_add_method('display', 
'nvcontrol_set_mem_transfer_rate_offset_all_levels', 
set_mem_transfer_rate_offset_all_levels)
     disp.extension_add_method('display', 
'nvcontrol_get_cooler_manual_control_enabled',
                               get_cooler_manual_control_enabled)
     disp.extension_add_method('display', 'nvcontrol_get_fan_duty', 
get_fan_duty)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-xlib-0.26/Xlib/protocol/display.py 
new/python-xlib-0.27/Xlib/protocol/display.py
--- old/python-xlib-0.26/Xlib/protocol/display.py       2019-02-03 
22:05:24.000000000 +0100
+++ new/python-xlib-0.27/Xlib/protocol/display.py       2020-04-07 
17:03:59.000000000 +0200
@@ -582,7 +582,7 @@
                 try:
                     i = self.socket.send(self.data_send)
                 except socket.error as err:
-                    self.close_internal('server: %s' % err[1])
+                    self.close_internal('server: %s' % err)
                     raise self.socket_error
 
                 self.data_send = self.data_send[i:]
@@ -600,7 +600,7 @@
                         count = max(self.recv_buffer_size, count)
                         bytes_recv = self.socket.recv(count)
                     except socket.error as err:
-                        self.close_internal('server: %s' % err[1])
+                        self.close_internal('server: %s' % err)
                         raise self.socket_error
 
                     if not bytes_recv:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-xlib-0.26/python_xlib.egg-info/PKG-INFO 
new/python-xlib-0.27/python_xlib.egg-info/PKG-INFO
--- old/python-xlib-0.26/python_xlib.egg-info/PKG-INFO  2019-12-08 
13:05:42.000000000 +0100
+++ new/python-xlib-0.27/python_xlib.egg-info/PKG-INFO  2020-04-07 
17:12:05.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-xlib
-Version: 0.26
+Version: 0.27
 Summary: Python X Library
 Home-page: https://github.com/python-xlib/python-xlib
 Author: Peter Liljenberg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-xlib-0.26/setup.cfg 
new/python-xlib-0.27/setup.cfg
--- old/python-xlib-0.26/setup.cfg      2019-12-08 13:05:43.000000000 +0100
+++ new/python-xlib-0.27/setup.cfg      2020-04-07 17:12:06.000000000 +0200
@@ -39,4 +39,5 @@
 [egg_info]
 tag_build = 
 tag_date = 0
+tag_svn_revision = 0
 


Reply via email to