Hello community,
here is the log from the commit of package python-libvirt-python for
openSUSE:Factory checked in at 2019-12-07 15:15:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-libvirt-python (Old)
and /work/SRC/openSUSE:Factory/.python-libvirt-python.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-libvirt-python"
Sat Dec 7 15:15:57 2019 rev:29 rq:753077 version:5.10.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-libvirt-python/python-libvirt-python.changes
2019-11-11 12:58:24.845564745 +0100
+++
/work/SRC/openSUSE:Factory/.python-libvirt-python.new.4691/python-libvirt-python.changes
2019-12-07 15:17:52.867774660 +0100
@@ -1,0 +2,6 @@
+Mon Dec 2 23:33:10 UTC 2019 - James Fehlig <[email protected]>
+
+- Update to 5.10.0
+ - Add all new APIs and constants in libvirt 5.10.0
+
+-------------------------------------------------------------------
Old:
----
libvirt-python-5.9.0.tar.gz
libvirt-python-5.9.0.tar.gz.asc
New:
----
libvirt-python-5.10.0.tar.gz
libvirt-python-5.10.0.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-libvirt-python.spec ++++++
--- /var/tmp/diff_new_pack.mLZw0s/_old 2019-12-07 15:17:53.583774558 +0100
+++ /var/tmp/diff_new_pack.mLZw0s/_new 2019-12-07 15:17:53.583774558 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-libvirt-python
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,8 +19,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define srcname libvirt-python
Name: python-libvirt-python
-Url: https://libvirt.org/
-Version: 5.9.0
+URL: https://libvirt.org/
+Version: 5.10.0
Release: 0
Summary: Library providing a virtualization API
License: LGPL-2.1-or-later
++++++ libvirt-python-5.9.0.tar.gz -> libvirt-python-5.10.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-5.9.0/ChangeLog
new/libvirt-python-5.10.0/ChangeLog
--- old/libvirt-python-5.9.0/ChangeLog 2019-11-06 15:44:08.000000000 +0100
+++ new/libvirt-python-5.10.0/ChangeLog 2019-12-02 20:45:48.000000000 +0100
@@ -1,3 +1,22 @@
+2019-11-28 Pavel Hrdina <[email protected]>
+
+ generator.py: add mapping for VIR_DOMAIN_QEMU_AGENT_COMMAND_*
+ Libvirt commit <95f5ac9ae52455e9da47afc95fa31c9456ac27ae> changed the
+ VIR_DOMAIN_QEMU_AGENT_COMMAND_* enum values to use different enum values
+ instead of direct numbers. We need to translate it back.
+
+ Traceback (most recent call last):
+ File "generator.py", line 2143, in <module>
+ qemuBuildWrappers(sys.argv[1])
+ File "generator.py", line 2008, in qemuBuildWrappers
+ items.sort(key=lambda i: (int(i[1]), i[0]))
+ File "generator.py", line 2008, in <lambda>
+ items.sort(key=lambda i: (int(i[1]), i[0]))
+ ValueError: invalid literal for int() with base 10:
'VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_BLOCK'
+
+ Reviewed-by: Peter Krempa <[email protected]>
+
+
2019-11-06 Daniel Veillard <[email protected]>
Release of libvirt-python 5.9.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-5.9.0/PKG-INFO
new/libvirt-python-5.10.0/PKG-INFO
--- old/libvirt-python-5.9.0/PKG-INFO 2019-11-06 15:44:08.000000000 +0100
+++ new/libvirt-python-5.10.0/PKG-INFO 2019-12-02 20:45:48.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: libvirt-python
-Version: 5.9.0
+Version: 5.10.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.9.0/generator.py
new/libvirt-python-5.10.0/generator.py
--- old/libvirt-python-5.9.0/generator.py 2019-10-05 09:53:03.000000000
+0200
+++ new/libvirt-python-5.10.0/generator.py 2019-12-02 20:45:06.000000000
+0100
@@ -261,6 +261,12 @@
def qemu_enum(type, name, value):
if type not in qemu_enums:
qemu_enums[type] = {}
+ if value == 'VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_BLOCK':
+ value = -2
+ elif value == 'VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_DEFAULT':
+ value = -1
+ elif value == 'VIR_DOMAIN_AGENT_RESPONSE_TIMEOUT_NOWAIT':
+ value = 0
if onlyOverrides and name not in qemu_enums[type]:
return
qemu_enums[type][name] = value
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-5.9.0/libvirt-python.spec
new/libvirt-python-5.10.0/libvirt-python.spec
--- old/libvirt-python-5.9.0/libvirt-python.spec 2019-11-06
15:44:08.000000000 +0100
+++ new/libvirt-python-5.10.0/libvirt-python.spec 2019-12-02
20:45:47.000000000 +0100
@@ -33,7 +33,7 @@
Summary: The libvirt virtualization API python2 binding
Name: libvirt-python
-Version: 5.9.0
+Version: 5.10.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.9.0/setup.py
new/libvirt-python-5.10.0/setup.py
--- old/libvirt-python-5.9.0/setup.py 2019-11-06 15:42:17.000000000 +0100
+++ new/libvirt-python-5.10.0/setup.py 2019-12-02 20:45:41.000000000 +0100
@@ -334,7 +334,7 @@
_c_modules, _py_modules = get_module_lists()
setup(name = 'libvirt-python',
- version = '5.9.0',
+ version = '5.10.0',
url = 'http://www.libvirt.org',
maintainer = 'Libvirt Maintainers',
maintainer_email = '[email protected]',