Hello community,
here is the log from the commit of package python-libvirt-python for openSUSE:Factory checked in at 2019-04-15 13:59:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-libvirt-python (Old)
and /work/SRC/openSUSE:Factory/.python-libvirt-python.new.17052 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-libvirt-python"
Mon Apr 15 13:59:12 2019 rev:21 rq:693776 version:5.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-libvirt-python/python-libvirt-python.changes 2019-03-12 09:46:59.179614947 +0100
+++ /work/SRC/openSUSE:Factory/.python-libvirt-python.new.17052/python-libvirt-python.changes 2019-04-15 13:59:13.548703489 +0200
@@ -1,0 +2,6 @@
+Wed Apr 3 20:57:40 UTC 2019 - James Fehlig
+
+- Update to 5.2.0
+ - Add all new APIs and constants in libvirt 5.2.0
+
+-------------------------------------------------------------------
Old:
----
libvirt-python-5.1.0.tar.gz
libvirt-python-5.1.0.tar.gz.asc
New:
----
libvirt-python-5.2.0.tar.gz
libvirt-python-5.2.0.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-libvirt-python.spec ++++++
--- /var/tmp/diff_new_pack.tTxnHL/_old 2019-04-15 13:59:14.016703641 +0200
+++ /var/tmp/diff_new_pack.tTxnHL/_new 2019-04-15 13:59:14.020703643 +0200
@@ -20,7 +20,7 @@
%define srcname libvirt-python
Name: python-libvirt-python
Url: https://libvirt.org/
-Version: 5.1.0
+Version: 5.2.0
Release: 0
Summary: Library providing a virtualization API
License: LGPL-2.1-or-later
++++++ libvirt-python-5.1.0.tar.gz -> libvirt-python-5.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-5.1.0/ChangeLog new/libvirt-python-5.2.0/ChangeLog
--- old/libvirt-python-5.1.0/ChangeLog 2019-03-04 11:22:09.000000000 +0100
+++ new/libvirt-python-5.2.0/ChangeLog 2019-04-03 09:45:27.000000000 +0200
@@ -1,3 +1,28 @@
+2019-03-12 Nir Soffer
+
+ Fix handling of optional params in blockCopy()
+ Commit 2b4bd07e0a22 (Add check for params, nparams being a dictionary)
+ changed the way the optional params argument is treated. If
+ libvirt.virDomain.blockCopy() is called without specifying params,
+ params is None, and the call will fail with:
+
+ TypeError: block params must be a dictionary
+
+ This is wrong as params is defined as kwarg, breaking existing libvirt
+ users like oVirt. Add a check for Py_None, so we accept either a dict or
+ None and fail with TypeError with anything else.
+
+ Resolves: https://bugzilla.redhat.com/1687114
+
+
+
+2019-03-04 Daniel Veillard
+
+ Release of libvirt-python 5.1.0
+ * setup.py: updated for release
+
+
+
2019-02-25 Pavel Hrdina
Fix virDomainPinIOThread typed params check
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-5.1.0/PKG-INFO new/libvirt-python-5.2.0/PKG-INFO
--- old/libvirt-python-5.1.0/PKG-INFO 2019-03-04 11:22:09.000000000 +0100
+++ new/libvirt-python-5.2.0/PKG-INFO 2019-04-03 09:45:27.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: libvirt-python
-Version: 5.1.0
+Version: 5.2.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-5.1.0/libvirt-override.c new/libvirt-python-5.2.0/libvirt-override.c
--- old/libvirt-python-5.1.0/libvirt-override.c 2019-03-04 11:18:33.000000000 +0100
+++ new/libvirt-python-5.2.0/libvirt-override.c 2019-04-03 09:44:53.000000000 +0200
@@ -8837,7 +8837,7 @@
VIR_N_ELEMENTS(virPyDomainBlockCopyParams)) < 0) {
return NULL;
}
- } else {
+ } else if (pyobj_dict != Py_None) {
PyErr_Format(PyExc_TypeError, "block params must be a dictionary");
return NULL;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-5.1.0/libvirt-python.spec new/libvirt-python-5.2.0/libvirt-python.spec
--- old/libvirt-python-5.1.0/libvirt-python.spec 2019-03-04 11:22:08.000000000 +0100
+++ new/libvirt-python-5.2.0/libvirt-python.spec 2019-04-03 09:45:27.000000000 +0200
@@ -33,7 +33,7 @@
Summary: The libvirt virtualization API python2 binding
Name: libvirt-python
-Version: 5.1.0
+Version: 5.2.0
Release: 1%{?dist}
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-5.1.0/setup.py new/libvirt-python-5.2.0/setup.py
--- old/libvirt-python-5.1.0/setup.py 2019-03-04 11:21:57.000000000 +0100
+++ new/libvirt-python-5.2.0/setup.py 2019-04-03 09:45:19.000000000 +0200
@@ -334,7 +334,7 @@
_c_modules, _py_modules = get_module_lists()
setup(name = 'libvirt-python',
- version = '5.1.0',
+ version = '5.2.0',
url = 'http://www.libvirt.org',
maintainer = 'Libvirt Maintainers',
maintainer_email = 'libvir-list@redhat.com',