Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-libvirt-python for 
openSUSE:Factory checked in at 2026-07-02 20:08:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-libvirt-python (Old)
 and      /work/SRC/openSUSE:Factory/.python-libvirt-python.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-libvirt-python"

Thu Jul  2 20:08:48 2026 rev:104 rq:1363068 version:12.5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-libvirt-python/python-libvirt-python.changes  
    2026-06-02 19:47:11.472811525 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-libvirt-python.new.1982/python-libvirt-python.changes
    2026-07-02 20:11:27.341551814 +0200
@@ -1,0 +2,6 @@
+Wed Jul  1 20:40:09 UTC 2026 - James Fehlig <[email protected]>
+
+- Update to 12.5.0
+  - Add all new APIs and constants in libvirt 12.5.0
+
+-------------------------------------------------------------------

Old:
----
  libvirt-python-12.4.0.tar.gz

New:
----
  libvirt-python-12.5.0.tar.gz

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

Other differences:
------------------
++++++ python-libvirt-python.spec ++++++
--- /var/tmp/diff_new_pack.BpcnS0/_old  2026-07-02 20:11:28.205581710 +0200
+++ /var/tmp/diff_new_pack.BpcnS0/_new  2026-07-02 20:11:28.209581849 +0200
@@ -23,7 +23,7 @@
 %{?sle15_python_module_pythons}
 Name:           python-libvirt-python
 URL:            https://libvirt.org/
-Version:        12.4.0
+Version:        12.5.0
 Release:        0
 Summary:        Library providing a virtualization API
 License:        LGPL-2.1-or-later

++++++ _service ++++++
--- /var/tmp/diff_new_pack.BpcnS0/_old  2026-07-02 20:11:28.245583095 +0200
+++ /var/tmp/diff_new_pack.BpcnS0/_new  2026-07-02 20:11:28.249583233 +0200
@@ -1,7 +1,7 @@
 <services>
   <service name="tar_scm" mode="manual">
     <param name="filename">libvirt-python</param>
-    <param name="revision">v12.4.0</param>
+    <param name="revision">v12.5.0</param>
     <param name="scm">git</param>
     <param name="submodules">disable</param>
     <param name="url">https://gitlab.com/libvirt/libvirt-python.git</param>

++++++ libvirt-python-12.4.0.tar.gz -> libvirt-python-12.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-12.4.0/VERSION 
new/libvirt-python-12.5.0/VERSION
--- old/libvirt-python-12.4.0/VERSION   2026-05-25 14:06:09.000000000 +0200
+++ new/libvirt-python-12.5.0/VERSION   2026-06-09 09:46:26.000000000 +0200
@@ -1 +1 @@
-12.4.0
+12.5.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-12.4.0/generator.py 
new/libvirt-python-12.5.0/generator.py
--- old/libvirt-python-12.4.0/generator.py      2026-05-25 14:06:09.000000000 
+0200
+++ new/libvirt-python-12.5.0/generator.py      2026-06-09 09:46:26.000000000 
+0200
@@ -463,6 +463,7 @@
     'virDomainRestoreParams',
     'virDomainGetAutostartOnce',
     'virDomainSetThrottleGroup',
+    'virDomainAnnounceInterface',
 
     'virDomainLxcOpenNamespace',
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-12.4.0/libvirt-override-api.xml 
new/libvirt-python-12.5.0/libvirt-override-api.xml
--- old/libvirt-python-12.4.0/libvirt-override-api.xml  2026-05-25 
14:06:09.000000000 +0200
+++ new/libvirt-python-12.5.0/libvirt-override-api.xml  2026-06-09 
09:46:26.000000000 +0200
@@ -879,5 +879,13 @@
       <arg name='params' type='virTypedParameterPtr' info='pointer to blkio 
parameter objects'/>
       <arg name='flags'  type='int' info='an OR&apos;ed set of 
virDomainModificationImpact'/>
     </function>
+    <function name='virDomainAnnounceInterface' file='python'>
+      <info>Cause this domain to "announce" its network interfaces by 
injecting a series of "gratuitous ARP" packets into the outgoing data stream 
for the interface matching @device (or all interfaces).</info>
+      <return type='int' info='0 in case of success and -1 in case of 
failure'/>
+      <arg name='domain' type='virDomainPtr' info='pointer to domain object'/>
+      <arg name='device' type='const char *' info='the interface name or mac 
address, or None to announce all interfaces'/>
+      <arg name='params' type='virTypedParameterPtr' info='parameters 
containing announce attributes'/>
+      <arg name='flags' type='unsigned int' info='currently unused, pass 0'/>
+    </function>
   </symbols>
 </api>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libvirt-python-12.4.0/libvirt-override.c 
new/libvirt-python-12.5.0/libvirt-override.c
--- old/libvirt-python-12.4.0/libvirt-override.c        2026-05-25 
14:06:09.000000000 +0200
+++ new/libvirt-python-12.5.0/libvirt-override.c        2026-06-09 
09:46:26.000000000 +0200
@@ -11165,6 +11165,57 @@
 #endif /* LIBVIR_CHECK_VERSION(11, 2, 0) */
 
 
+#if LIBVIR_CHECK_VERSION(12, 5, 0)
+static virPyTypedParamsHint virPyDomainAnnounceInterfaceParams[] = {
+    { VIR_DOMAIN_ANNOUNCE_INTERFACE_INITIAL, VIR_TYPED_PARAM_UINT },
+    { VIR_DOMAIN_ANNOUNCE_INTERFACE_MAX, VIR_TYPED_PARAM_UINT },
+    { VIR_DOMAIN_ANNOUNCE_INTERFACE_ROUNDS, VIR_TYPED_PARAM_UINT },
+    { VIR_DOMAIN_ANNOUNCE_INTERFACE_STEP, VIR_TYPED_PARAM_UINT },
+};
+
+
+static PyObject *
+libvirt_virDomainAnnounceInterface(PyObject *self ATTRIBUTE_UNUSED,
+                                   PyObject *args)
+{
+    PyObject *pyobj_dom = NULL;
+    PyObject *pyobj_dict = NULL;
+    virDomainPtr dom = NULL;
+    const char *device = NULL;
+    virTypedParameterPtr params = NULL;
+    int nparams = 0;
+    unsigned int flags = 0;
+    int c_retval;
+
+    if (!PyArg_ParseTuple(args, (char *)"OzO|I:virDomainAnnounceInterface",
+                          &pyobj_dom, &device, &pyobj_dict, &flags))
+        return NULL;
+
+    if (PyDict_Check(pyobj_dict)) {
+        if (virPyDictToTypedParams(pyobj_dict, &params, &nparams,
+                                   virPyDomainAnnounceInterfaceParams,
+                                   
VIR_N_ELEMENTS(virPyDomainAnnounceInterfaceParams)) < 0) {
+            return NULL;
+        }
+    } else {
+        PyErr_Format(PyExc_TypeError, "Announce params must be a dictionary");
+        return NULL;
+    }
+
+    dom = (virDomainPtr) PyvirDomain_Get(pyobj_dom);
+
+    LIBVIRT_BEGIN_ALLOW_THREADS;
+    c_retval = virDomainAnnounceInterface(dom, device, params, nparams, flags);
+    LIBVIRT_END_ALLOW_THREADS;
+
+    virTypedParamsFree(params, nparams);
+
+    return libvirt_intWrap(c_retval);
+}
+#endif /* LIBVIR_CHECK_VERSION(12, 5, 0) */
+
+
+
 /************************************************************************
  *                                                                     *
  *                     The registration stuff                          *
@@ -11453,6 +11504,9 @@
     {(char *) "virDomainGetAutostartOnce", libvirt_virDomainGetAutostartOnce, 
METH_VARARGS, NULL},
     {(char *) "virDomainSetThrottleGroup", libvirt_virDomainSetThrottleGroup, 
METH_VARARGS, NULL},
 #endif /* LIBVIR_CHECK_VERSION(11, 2, 0) */
+#if LIBVIR_CHECK_VERSION(12, 5, 0)
+    {(char *) "virDomainAnnounceInterface", 
libvirt_virDomainAnnounceInterface, METH_VARARGS, NULL},
+#endif /* LIBVIR_CHECK_VERSION(12, 5, 0) */
     {NULL, NULL, 0, NULL}
 };
 

Reply via email to