Hello community, here is the log from the commit of package libvirt-python for openSUSE:Factory checked in at 2015-10-12 10:02:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libvirt-python (Old) and /work/SRC/openSUSE:Factory/.libvirt-python.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libvirt-python" Changes: -------- --- /work/SRC/openSUSE:Factory/libvirt-python/libvirt-python.changes 2015-09-11 09:04:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libvirt-python.new/libvirt-python.changes 2015-10-12 10:03:29.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Oct 2 20:57:57 UTC 2015 - [email protected] + +- Update to 1.2.20 + - Add all new APIs and constants in libvirt 1.2.20 + +------------------------------------------------------------------- Old: ---- libvirt-python-1.2.19.tar.gz libvirt-python-1.2.19.tar.gz.asc New: ---- libvirt-python-1.2.20.tar.gz libvirt-python-1.2.20.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libvirt-python.spec ++++++ --- /var/tmp/diff_new_pack.Q3H3oG/_old 2015-10-12 10:03:30.000000000 +0200 +++ /var/tmp/diff_new_pack.Q3H3oG/_new 2015-10-12 10:03:30.000000000 +0200 @@ -18,7 +18,7 @@ Name: libvirt-python Url: http://libvirt.org/ -Version: 1.2.19 +Version: 1.2.20 Release: 0 Summary: Library providing a simple virtualization API License: LGPL-2.1+ ++++++ libvirt-python-1.2.19.tar.gz -> libvirt-python-1.2.20.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.2.19/ChangeLog new/libvirt-python-1.2.20/ChangeLog --- old/libvirt-python-1.2.19/ChangeLog 2015-09-02 04:28:00.000000000 +0200 +++ new/libvirt-python-1.2.20/ChangeLog 2015-10-02 16:16:11.000000000 +0200 @@ -1,3 +1,25 @@ +2015-09-21 Luyao Huang <[email protected]> + + generator: fix build fail with old xml lib + https://bugzilla.redhat.com/show_bug.cgi?id=1222795#c6 + + if build libvirt-python with some old xml lib (python-pyxml), + build will fail and error like this: + + File "generator.py", line 139, in start + if "string" in attrs: + File "/usr/local/lib/python2.7/site-packages/_xmlplus/sax/xmlreader.py" \ + , line 316, in __getitem__ + return self._attrs[name] + KeyError: 0 + + This is an old issue and have been mentioned in commit 3ae0a76d. + There is no __contains__ in class AttributesImpl, python will use + __getitem__ in this place, so we will get error. + Let's use 'YYY in XXX.keys()' to avoid this issue. + + + 2015-08-26 Luyao Huang <[email protected]> examples: small fix for nodestats.py example diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.2.19/PKG-INFO new/libvirt-python-1.2.20/PKG-INFO --- old/libvirt-python-1.2.19/PKG-INFO 2015-09-02 04:28:01.000000000 +0200 +++ new/libvirt-python-1.2.20/PKG-INFO 2015-10-02 16:16:11.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: libvirt-python -Version: 1.2.19 +Version: 1.2.20 Summary: The libvirt virtualization API Home-page: http://www.libvirt.org Author: Libvirt Maintainers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.2.19/generator.py new/libvirt-python-1.2.20/generator.py --- old/libvirt-python-1.2.19/generator.py 2015-08-03 11:51:05.000000000 +0200 +++ new/libvirt-python-1.2.20/generator.py 2015-10-02 16:13:01.000000000 +0200 @@ -136,7 +136,7 @@ elif attrs['file'] == "libvirt-qemu": qemu_enum(attrs['type'],attrs['name'],attrs['value']) elif tag == "macro": - if "string" in attrs: + if "string" in attrs.keys(): params.append((attrs['name'], attrs['string'])) def end(self, tag): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvirt-python-1.2.19/libvirt-python.spec new/libvirt-python-1.2.20/libvirt-python.spec --- old/libvirt-python-1.2.19/libvirt-python.spec 2015-09-02 04:27:59.000000000 +0200 +++ new/libvirt-python-1.2.20/libvirt-python.spec 2015-10-02 16:16:11.000000000 +0200 @@ -6,7 +6,7 @@ Summary: The libvirt virtualization API python2 binding Name: libvirt-python -Version: 1.2.19 +Version: 1.2.20 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-1.2.19/setup.py new/libvirt-python-1.2.20/setup.py --- old/libvirt-python-1.2.19/setup.py 2015-09-02 04:24:24.000000000 +0200 +++ new/libvirt-python-1.2.20/setup.py 2015-10-02 16:16:02.000000000 +0200 @@ -311,7 +311,7 @@ _c_modules, _py_modules = get_module_lists() setup(name = 'libvirt-python', - version = '1.2.19', + version = '1.2.20', url = 'http://www.libvirt.org', maintainer = 'Libvirt Maintainers', maintainer_email = '[email protected]',
