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 2023-04-27 20:00:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyQt6-sip (Old)
and /work/SRC/openSUSE:Factory/.python-PyQt6-sip.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyQt6-sip"
Thu Apr 27 20:00:49 2023 rev:8 rq:1083089 version:13.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyQt6-sip/python-PyQt6-sip.changes
2023-03-15 18:54:49.564485011 +0100
+++
/work/SRC/openSUSE:Factory/.python-PyQt6-sip.new.1533/python-PyQt6-sip.changes
2023-04-27 20:01:12.670023114 +0200
@@ -1,0 +2,7 @@
+Mon Apr 24 19:44:27 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to 13.5.1
+ * Fixed the new handling of ctors with /Transfer/ annotated
+ arguments.
+
+-------------------------------------------------------------------
Old:
----
PyQt6_sip-13.4.1.tar.gz
New:
----
PyQt6_sip-13.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyQt6-sip.spec ++++++
--- /var/tmp/diff_new_pack.vanFDs/_old 2023-04-27 20:01:13.230026406 +0200
+++ /var/tmp/diff_new_pack.vanFDs/_new 2023-04-27 20:01:13.238026454 +0200
@@ -17,7 +17,7 @@
Name: python-PyQt6-sip
-Version: 13.4.1
+Version: 13.5.1
Release: 0
Summary: The sip module support for PyQt6
License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP
++++++ PyQt6_sip-13.4.1.tar.gz -> PyQt6_sip-13.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyQt6_sip-13.4.1/PKG-INFO
new/PyQt6_sip-13.5.1/PKG-INFO
--- old/PyQt6_sip-13.4.1/PKG-INFO 2023-01-15 18:39:25.174612000 +0100
+++ new/PyQt6_sip-13.5.1/PKG-INFO 2023-04-13 17:05:22.851324300 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: PyQt6_sip
-Version: 13.4.1
+Version: 13.5.1
Summary: The sip module support for PyQt6
Home-page: https://www.riverbankcomputing.com/software/sip/
Author: Riverbank Computing Limited
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyQt6_sip-13.4.1/PyQt6_sip.egg-info/PKG-INFO
new/PyQt6_sip-13.5.1/PyQt6_sip.egg-info/PKG-INFO
--- old/PyQt6_sip-13.4.1/PyQt6_sip.egg-info/PKG-INFO 2023-01-15
18:39:25.000000000 +0100
+++ new/PyQt6_sip-13.5.1/PyQt6_sip.egg-info/PKG-INFO 2023-04-13
17:05:22.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: PyQt6-sip
-Version: 13.4.1
+Version: 13.5.1
Summary: The sip module support for PyQt6
Home-page: https://www.riverbankcomputing.com/software/sip/
Author: Riverbank Computing Limited
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyQt6_sip-13.4.1/setup.py
new/PyQt6_sip-13.5.1/setup.py
--- old/PyQt6_sip-13.4.1/setup.py 2023-01-15 18:39:25.000000000 +0100
+++ new/PyQt6_sip-13.5.1/setup.py 2023-04-13 17:05:22.000000000 +0200
@@ -38,7 +38,7 @@
# Do the setup.
setup(
name='PyQt6_sip',
- version='13.4.1',
+ version='13.5.1',
license='SIP',
python_requires='>=3.7',
ext_modules=[module]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyQt6_sip-13.4.1/sip.h new/PyQt6_sip-13.5.1/sip.h
--- old/PyQt6_sip-13.4.1/sip.h 2023-01-15 18:39:25.000000000 +0100
+++ new/PyQt6_sip-13.5.1/sip.h 2023-04-13 17:05:22.000000000 +0200
@@ -1,7 +1,7 @@
/*
* The SIP module interface.
*
- * Copyright (c) 2022 Riverbank Computing Limited <[email protected]>
+ * Copyright (c) 2023 Riverbank Computing Limited <[email protected]>
*
* This file is part of SIP.
*
@@ -45,18 +45,21 @@
/* The version of the ABI. */
#define SIP_ABI_MAJOR_VERSION 13
-#define SIP_ABI_MINOR_VERSION 4
+#define SIP_ABI_MINOR_VERSION 5
#define SIP_MODULE_PATCH_VERSION 1
/*
* The change history of the ABI.
*
+ * v13.5
+ * - Added the '#' conversion character to the argument parsers.
+ *
* v13.4
* - The enum implementation now supports missing members.
* - Published the 'array' type.
* - Added the ctd_sizeof, ctd_array_delete members to sipClassTypeDef.
- * - Added the '>' conversion character to sipParseArgs().
+ * - Added the '>' conversion character to the argument parsers.
*
* v13.3
* - Python v3.7 or later is required.
@@ -71,8 +74,8 @@
/* The version of the code generator. */
-#define SIP_VERSION 0x60706
-#define SIP_VERSION_STR "6.7.6"
+#define SIP_VERSION 0x60709
+#define SIP_VERSION_STR "6.7.9"
/* 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.4.1/sip_array.c
new/PyQt6_sip-13.5.1/sip_array.c
--- old/PyQt6_sip-13.4.1/sip_array.c 2023-01-15 18:39:25.000000000 +0100
+++ new/PyQt6_sip-13.5.1/sip_array.c 2023-04-13 17:05:22.000000000 +0200
@@ -1,7 +1,7 @@
/*
* This file implements the API for the array type.
*
- * Copyright (c) 2022 Riverbank Computing Limited <[email protected]>
+ * Copyright (c) 2023 Riverbank Computing Limited <[email protected]>
*
* This file is part of SIP.
*
@@ -176,9 +176,9 @@
return NULL;
}
- return create_array(element(array->data, start), array->td,
- array->format, array->stride, slicelength,
- (array->flags & ~SIP_OWNS_MEMORY), array->owner);
+ return create_array(element(array, start), array->td, array->format,
+ array->stride, slicelength, (array->flags & ~SIP_OWNS_MEMORY),
+ array->owner);
}
bad_key(key);
@@ -298,7 +298,7 @@
Py_INCREF(self);
view->buf = array->data;
- view->len = array->len;
+ view->len = array->len * array->stride;
view->readonly = (array->flags & SIP_READ_ONLY);
view->itemsize = array->stride;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyQt6_sip-13.4.1/sip_core.c
new/PyQt6_sip-13.5.1/sip_core.c
--- old/PyQt6_sip-13.4.1/sip_core.c 2023-01-15 18:39:25.000000000 +0100
+++ new/PyQt6_sip-13.5.1/sip_core.c 2023-04-13 17:05:22.000000000 +0200
@@ -1,7 +1,7 @@
/*
* The core sip module code.
*
- * Copyright (c) 2022 Riverbank Computing Limited <[email protected]>
+ * Copyright (c) 2023 Riverbank Computing Limited <[email protected]>
*
* This file is part of SIP.
*
@@ -3543,6 +3543,11 @@
switch (*fmt++)
{
+ case '#':
+ /* A ctor has an argument with the /Transfer/ annotation. */
+ *selfp = va_arg(va, PyObject *);
+ break;
+
case 'B':
case 'p':
{
@@ -4759,6 +4764,10 @@
/* Handle the conversions of "self" first. */
switch (*fmt++)
{
+ case '#':
+ va_arg(va, PyObject *);
+ break;
+
case 'B':
{
/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyQt6_sip-13.4.1/sip_descriptors.c
new/PyQt6_sip-13.5.1/sip_descriptors.c
--- old/PyQt6_sip-13.4.1/sip_descriptors.c 2023-01-15 18:39:25.000000000
+0100
+++ new/PyQt6_sip-13.5.1/sip_descriptors.c 2023-04-13 17:05:22.000000000
+0200
@@ -1,7 +1,7 @@
/*
* The implementation of the different descriptors.
*
- * Copyright (c) 2022 Riverbank Computing Limited <[email protected]>
+ * Copyright (c) 2023 Riverbank Computing Limited <[email protected]>
*
* This file is part of SIP.
*
@@ -230,6 +230,7 @@
*/
static void sipMethodDescr_dealloc(PyObject *self)
{
+ PyObject_GC_UnTrack(self);
sipMethodDescr_clear(self);
Py_TYPE(self)->tp_free(self);
}
@@ -491,6 +492,7 @@
*/
static void sipVariableDescr_dealloc(PyObject *self)
{
+ PyObject_GC_UnTrack(self);
sipVariableDescr_clear(self);
Py_TYPE(self)->tp_free(self);
}
++++++ support-python3.6.patch ++++++
--- /var/tmp/diff_new_pack.vanFDs/_old 2023-04-27 20:01:13.382027300 +0200
+++ /var/tmp/diff_new_pack.vanFDs/_new 2023-04-27 20:01:13.386027323 +0200
@@ -1,7 +1,7 @@
-Index: PyQt6_sip-13.4.1/PKG-INFO
+Index: PyQt6_sip-13.5.1/PKG-INFO
===================================================================
---- PyQt6_sip-13.4.1.orig/PKG-INFO
-+++ PyQt6_sip-13.4.1/PKG-INFO
+--- PyQt6_sip-13.5.1.orig/PKG-INFO
++++ PyQt6_sip-13.5.1/PKG-INFO
@@ -9,7 +9,7 @@ License: SIP
Platform: X11
Platform: macOS
@@ -11,10 +11,10 @@
License-File: LICENSE
License-File: LICENSE-GPL3
License-File: LICENSE-GPL2
-Index: PyQt6_sip-13.4.1/PyQt6_sip.egg-info/PKG-INFO
+Index: PyQt6_sip-13.5.1/PyQt6_sip.egg-info/PKG-INFO
===================================================================
---- PyQt6_sip-13.4.1.orig/PyQt6_sip.egg-info/PKG-INFO
-+++ PyQt6_sip-13.4.1/PyQt6_sip.egg-info/PKG-INFO
+--- PyQt6_sip-13.5.1.orig/PyQt6_sip.egg-info/PKG-INFO
++++ PyQt6_sip-13.5.1/PyQt6_sip.egg-info/PKG-INFO
@@ -9,7 +9,7 @@ License: SIP
Platform: X11
Platform: macOS
@@ -24,22 +24,22 @@
License-File: LICENSE
License-File: LICENSE-GPL3
License-File: LICENSE-GPL2
-Index: PyQt6_sip-13.4.1/setup.py
+Index: PyQt6_sip-13.5.1/setup.py
===================================================================
---- PyQt6_sip-13.4.1.orig/setup.py
-+++ PyQt6_sip-13.4.1/setup.py
+--- PyQt6_sip-13.5.1.orig/setup.py
++++ PyQt6_sip-13.5.1/setup.py
@@ -40,6 +40,6 @@ setup(
name='PyQt6_sip',
- version='13.4.1',
+ version='13.5.1',
license='SIP',
- python_requires='>=3.7',
+ python_requires='>=3.6',
ext_modules=[module]
)
-Index: PyQt6_sip-13.4.1/sip.h
+Index: PyQt6_sip-13.5.1/sip.h
===================================================================
---- PyQt6_sip-13.4.1.orig/sip.h
-+++ PyQt6_sip-13.4.1/sip.h
+--- PyQt6_sip-13.5.1.orig/sip.h
++++ PyQt6_sip-13.5.1/sip.h
@@ -24,8 +24,8 @@
#include <Python.h>