Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-PyQt6-sip for 
openSUSE:Factory checked in at 2026-11-17 17:16:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyQt6-sip (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyQt6-sip.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyQt6-sip"

Tue Nov 17 17:16:12 2026 rev:21 rq:1397729 version:13.13.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyQt6-sip/python-PyQt6-sip.changes        
2026-10-18 19:22:28.018628411 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-PyQt6-sip.new.1251/python-PyQt6-sip.changes  
    2026-11-17 17:16:38.430108882 +0100
@@ -1,0 +2,9 @@
+Sun Nov 15 11:10:33 UTC 2026 - Ben Greiner <[email protected]>
+
+- Update to ABI 13.13.1
+  * The generation of `.pyi` stub files has been improved so that
+    they pass the scrutiny of `flake8-pyi`.  Support has been added
+    for PEP 526 (Syntax for Variable Annotations) and PEP 673 (Self
+    Type)
+
+-------------------------------------------------------------------

Old:
----
  pyqt6_sip-13.13.0.tar.gz

New:
----
  pyqt6_sip-13.13.1.tar.gz

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

Other differences:
------------------
++++++ python-PyQt6-sip.spec ++++++
--- /var/tmp/diff_new_pack.93JuOj/_old  2026-11-17 17:16:39.856168882 +0100
+++ /var/tmp/diff_new_pack.93JuOj/_new  2026-11-17 17:16:39.859169008 +0100
@@ -19,7 +19,7 @@
 %{?sle15_python_module_pythons}
 # Check PyPI for version: https://pypi.org/project/PyQt6-sip/
 Name:           python-PyQt6-sip
-Version:        13.13.0
+Version:        13.13.1
 Release:        0
 Summary:        The sip module support for PyQt6
 License:        BSD-2-Clause

++++++ pyqt6_sip-13.13.0.tar.gz -> pyqt6_sip-13.13.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyqt6_sip-13.13.0/PKG-INFO 
new/pyqt6_sip-13.13.1/PKG-INFO
--- old/pyqt6_sip-13.13.0/PKG-INFO      2026-10-04 14:02:03.335994700 +0200
+++ new/pyqt6_sip-13.13.1/PKG-INFO      2026-11-11 13:10:10.142917400 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: PyQt6_sip
-Version: 13.13.0
+Version: 13.13.1
 Summary: The sip module support for PyQt6
 Home-page: https://github.com/Python-SIP/sip
 Author: Phil Thompson
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyqt6_sip-13.13.0/PyQt6_sip.egg-info/PKG-INFO 
new/pyqt6_sip-13.13.1/PyQt6_sip.egg-info/PKG-INFO
--- old/pyqt6_sip-13.13.0/PyQt6_sip.egg-info/PKG-INFO   2026-10-04 
14:02:03.000000000 +0200
+++ new/pyqt6_sip-13.13.1/PyQt6_sip.egg-info/PKG-INFO   2026-11-11 
13:10:10.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: PyQt6_sip
-Version: 13.13.0
+Version: 13.13.1
 Summary: The sip module support for PyQt6
 Home-page: https://github.com/Python-SIP/sip
 Author: Phil Thompson
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyqt6_sip-13.13.0/setup.py 
new/pyqt6_sip-13.13.1/setup.py
--- old/pyqt6_sip-13.13.0/setup.py      2026-10-04 14:02:03.000000000 +0200
+++ new/pyqt6_sip-13.13.1/setup.py      2026-11-11 13:10:10.000000000 +0100
@@ -16,7 +16,7 @@
 # Do the setup.
 setup(
         name='PyQt6_sip',
-        version='13.13.0',
+        version='13.13.1',
         license='BSD-2-Clause',
         python_requires='>=3.10',
         ext_modules=[module]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyqt6_sip-13.13.0/sip.h new/pyqt6_sip-13.13.1/sip.h
--- old/pyqt6_sip-13.13.0/sip.h 2026-10-04 14:02:03.000000000 +0200
+++ new/pyqt6_sip-13.13.1/sip.h 2026-11-11 13:10:10.000000000 +0100
@@ -39,7 +39,7 @@
 /* The version of the ABI. */
 #define SIP_ABI_MAJOR_VERSION       13
 #define SIP_ABI_MINOR_VERSION       13
-#define SIP_MODULE_PATCH_VERSION    0
+#define SIP_MODULE_PATCH_VERSION    1
 
 
 /*
@@ -112,8 +112,8 @@
 
 
 /* The version of the code generator. */
-#define SIP_VERSION                 0x61100
-#define SIP_VERSION_STR             "6.17.0"
+#define SIP_VERSION                 0x61103
+#define SIP_VERSION_STR             "6.17.3"
 
 /* These are all dependent on the user-specified name of the sip module. */
 #define _SIP_MODULE_FQ_NAME         "PyQt6.sip"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyqt6_sip-13.13.0/sip_core.c 
new/pyqt6_sip-13.13.1/sip_core.c
--- old/pyqt6_sip-13.13.0/sip_core.c    2026-10-04 14:02:03.000000000 +0200
+++ new/pyqt6_sip-13.13.1/sip_core.c    2026-11-11 13:10:10.000000000 +0100
@@ -11926,19 +11926,7 @@
 static void sip_api_visit_wrappers(sipWrapperVisitorFunc visitor,
         void *closure)
 {
-    const sipHashEntry *he;
-    unsigned long i;
-
-    for (he = cppPyMap.hash_array, i = 0; i < cppPyMap.size; ++i, ++he)
-    {
-        if (he->key != NULL)
-        {
-            sipSimpleWrapper *sw;
-
-            for (sw = he->first; sw != NULL; sw = sw->next)
-                visitor(sw, closure);
-        }
-    }
+    sipOMVisitWrappers(&cppPyMap, visitor, closure);
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyqt6_sip-13.13.0/sip_core.h 
new/pyqt6_sip-13.13.1/sip_core.h
--- old/pyqt6_sip-13.13.0/sip_core.h    2026-10-04 14:02:03.000000000 +0200
+++ new/pyqt6_sip-13.13.1/sip_core.h    2026-11-11 13:10:10.000000000 +0100
@@ -147,6 +147,8 @@
         const sipTypeDef *td);
 void sipOMAddObject(sipObjectMap *om, sipSimpleWrapper *val);
 int sipOMRemoveObject(sipObjectMap *om, sipSimpleWrapper *val);
+void sipOMVisitWrappers(sipObjectMap *om, sipWrapperVisitorFunc visitor,
+        void *closure);
 
 #define sip_set_bool(p, v)    (*(_Bool *)(p) = (v))
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyqt6_sip-13.13.0/sip_object_map.c 
new/pyqt6_sip-13.13.1/sip_object_map.c
--- old/pyqt6_sip-13.13.0/sip_object_map.c      2026-10-04 14:02:03.000000000 
+0200
+++ new/pyqt6_sip-13.13.1/sip_object_map.c      2026-11-11 13:10:10.000000000 
+0100
@@ -470,3 +470,75 @@
 {
     return (w->access_func != NULL) ? w->access_func(w, UnguardedPointer) : 
w->data;
 }
+
+
+/*
+ * Call a visitor function for every wrapped object.
+ */
+void sipOMVisitWrappers(sipObjectMap *om, sipWrapperVisitorFunc visitor,
+        void *closure)
+{
+    sipHashEntry *wrappers, *he;
+    uintptr_t i, nr_wrappers;
+
+    /*
+     * The visitor may run Python code that creates wrappers, which can
+     * reorganise the map, or that destroys them.  Therefore make a list of the
+     * wrappers first and only visit those that are still in the map.
+     */
+    nr_wrappers = 0;
+
+    for (he = om->hash_array, i = 0; i < om->size; ++i, ++he)
+    {
+        sipSimpleWrapper *sw;
+
+        if (he->key != NULL)
+            for (sw = he->first; sw != NULL; sw = sw->next)
+                ++nr_wrappers;
+    }
+
+    if (nr_wrappers == 0)
+        return;
+
+    wrappers = (sipHashEntry *)sip_api_malloc(
+            sizeof (sipHashEntry) * nr_wrappers);
+
+    if (wrappers == NULL)
+    {
+        PyErr_Clear();
+        return;
+    }
+
+    nr_wrappers = 0;
+
+    for (he = om->hash_array, i = 0; i < om->size; ++i, ++he)
+    {
+        sipSimpleWrapper *sw;
+
+        if (he->key != NULL)
+        {
+            for (sw = he->first; sw != NULL; sw = sw->next)
+            {
+                wrappers[nr_wrappers].key = he->key;
+                wrappers[nr_wrappers].first = sw;
+                ++nr_wrappers;
+            }
+        }
+    }
+
+    for (i = 0; i < nr_wrappers; ++i)
+    {
+        sipSimpleWrapper *sw = findHashEntry(om, wrappers[i].key)->first;
+
+        for ( ; sw != NULL; sw = sw->next)
+        {
+            if (sw == wrappers[i].first)
+            {
+                visitor(sw, closure);
+                break;
+            }
+        }
+    }
+
+    sip_api_free(wrappers);
+}

Reply via email to