Hello community,
here is the log from the commit of package python-libvirt-python for
openSUSE:Factory checked in at 2018-11-08 09:48:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-libvirt-python (Old)
and /work/SRC/openSUSE:Factory/.python-libvirt-python.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-libvirt-python"
Thu Nov 8 09:48:27 2018 rev:17 rq:646471 version:4.9.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-libvirt-python/python-libvirt-python.changes
2018-10-12 13:10:41.611299793 +0200
+++
/work/SRC/openSUSE:Factory/.python-libvirt-python.new/python-libvirt-python.changes
2018-11-08 09:48:32.757095888 +0100
@@ -1,0 +2,7 @@
+Mon Nov 5 16:28:26 UTC 2018 - James Fehlig <[email protected]>
+
+- Update to 4.9.0
+ - Add all new APIs and constants in libvirt 4.9.0
+ - FATE#326371
+
+-------------------------------------------------------------------
Old:
----
libvirt-python-4.8.0.tar.gz
libvirt-python-4.8.0.tar.gz.asc
New:
----
libvirt-python-4.9.0.tar.gz
libvirt-python-4.9.0.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-libvirt-python.spec ++++++
--- /var/tmp/diff_new_pack.aHGFIE/_old 2018-11-08 09:48:33.481095035 +0100
+++ /var/tmp/diff_new_pack.aHGFIE/_new 2018-11-08 09:48:33.481095035 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -20,7 +20,7 @@
%define srcname libvirt-python
Name: python-libvirt-python
Url: https://libvirt.org/
-Version: 4.8.0
+Version: 4.9.0
Release: 0
Summary: Library providing a virtualization API
License: LGPL-2.1-or-later
++++++ libvirt-python-4.8.0.tar.gz -> libvirt-python-4.9.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-4.8.0/ChangeLog
new/libvirt-python-4.9.0/ChangeLog
--- old/libvirt-python-4.8.0/ChangeLog 2018-10-01 17:29:59.000000000 +0200
+++ new/libvirt-python-4.9.0/ChangeLog 2018-11-04 18:06:21.000000000 +0100
@@ -1,3 +1,38 @@
+2018-11-01 Philipp Hahn <[email protected]>
+
+ event-test.py: Report ERROR events
+ VIR_DOMAIN_EVENT_ID_IO_ERROR and VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON
+ callbacks receive the same 'action' parameter, so also translate that
+ numeric action to a descriptive text for the first callback.
+
+
+
+2018-11-01 Philipp Hahn <[email protected]>
+
+ event-test.py: Fix ERROR event
+ ERROR_EVENTS translates the numeric 'action' argument to a description,
+ not the 'reason' argument which already contains a descriptive string
+ like 'enospc'.
+
+ > Traceback (most recent call last):
+ > File "/usr/lib/python2.7/dist-packages/libvirt.py", line 4661, in
_dispatchDomainEventIOErrorReasonCallback
+ > reason, opaque)
+ > File "libvirt-python/examples/event-test.py", line 536, in
myDomainEventIOErrorReasonCallback
+ > dom.name(), dom.ID(), srcpath, devalias, action,
ERROR_EVENTS[reason]))
+ > File "libvirt-python/examples/event-test.py", line 474, in __getitem__
+ > data = self.args[item]
+ > TypeError: tuple indices must be integers, not str
+
+ Fixes: f5928c6711654f1496707ca77f626b3192843d57
+
+
+2018-10-01 Daniel Veillard <[email protected]>
+
+ Release of libvirt-python 4.8.0
+
+ - setup.py : updated for release
+
+
2018-09-24 Philipp Hahn <[email protected]>
event-test.py: Fix blanks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-4.8.0/PKG-INFO
new/libvirt-python-4.9.0/PKG-INFO
--- old/libvirt-python-4.8.0/PKG-INFO 2018-10-01 17:30:00.000000000 +0200
+++ new/libvirt-python-4.9.0/PKG-INFO 2018-11-04 18:06:22.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: libvirt-python
-Version: 4.8.0
+Version: 4.9.0
Summary: The libvirt virtualization API python binding
Home-page: http://www.libvirt.org
Author: Libvirt Maintainers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-4.8.0/examples/event-test.py
new/libvirt-python-4.9.0/examples/event-test.py
--- old/libvirt-python-4.8.0/examples/event-test.py 2018-10-01
17:00:19.000000000 +0200
+++ new/libvirt-python-4.9.0/examples/event-test.py 2018-11-04
18:03:50.000000000 +0100
@@ -534,13 +534,13 @@
def myDomainEventIOErrorCallback(conn, dom, srcpath, devalias, action, opaque):
- print("myDomainEventIOErrorCallback: Domain %s(%s) %s %s %d" % (
- dom.name(), dom.ID(), srcpath, devalias, action))
+ print("myDomainEventIOErrorCallback: Domain %s(%s) %s %s %s" % (
+ dom.name(), dom.ID(), srcpath, devalias, ERROR_EVENTS[action]))
def myDomainEventIOErrorReasonCallback(conn, dom, srcpath, devalias, action,
reason, opaque):
- print("myDomainEventIOErrorReasonCallback: Domain %s(%s) %s %s %d %s" % (
- dom.name(), dom.ID(), srcpath, devalias, action, ERROR_EVENTS[reason]))
+ print("myDomainEventIOErrorReasonCallback: Domain %s(%s) %s %s %s %s" % (
+ dom.name(), dom.ID(), srcpath, devalias, ERROR_EVENTS[action], reason))
def myDomainEventGraphicsCallback(conn, dom, phase, localAddr, remoteAddr,
authScheme, subject, opaque):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-4.8.0/libvirt-python.spec
new/libvirt-python-4.9.0/libvirt-python.spec
--- old/libvirt-python-4.8.0/libvirt-python.spec 2018-10-01
17:29:59.000000000 +0200
+++ new/libvirt-python-4.9.0/libvirt-python.spec 2018-11-04
18:06:21.000000000 +0100
@@ -33,7 +33,7 @@
Summary: The libvirt virtualization API python2 binding
Name: libvirt-python
-Version: 4.8.0
+Version: 4.9.0
Release: 1%{?dist}%{?extra_release}
Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz
Url: http://libvirt.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-4.8.0/setup.py
new/libvirt-python-4.9.0/setup.py
--- old/libvirt-python-4.8.0/setup.py 2018-10-01 17:00:49.000000000 +0200
+++ new/libvirt-python-4.9.0/setup.py 2018-11-04 18:06:08.000000000 +0100
@@ -334,7 +334,7 @@
_c_modules, _py_modules = get_module_lists()
setup(name = 'libvirt-python',
- version = '4.8.0',
+ version = '4.9.0',
url = 'http://www.libvirt.org',
maintainer = 'Libvirt Maintainers',
maintainer_email = '[email protected]',