Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-qt5-sip for openSUSE:Factory checked in at 2023-04-28 16:22:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-qt5-sip (Old) and /work/SRC/openSUSE:Factory/.python-qt5-sip.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-qt5-sip" Fri Apr 28 16:22:07 2023 rev:8 rq:1083091 version:12.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-qt5-sip/python-qt5-sip.changes 2023-02-11 21:55:47.575050826 +0100 +++ /work/SRC/openSUSE:Factory/.python-qt5-sip.new.1533/python-qt5-sip.changes 2023-04-28 16:22:12.113601726 +0200 @@ -1,0 +2,7 @@ +Mon Apr 24 19:47:19 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 12.12.1 + * Fixed the new handling of ctors with /Transfer/ annotated + arguments. + +------------------------------------------------------------------- Old: ---- PyQt5_sip-12.11.1.tar.gz New: ---- PyQt5_sip-12.12.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-qt5-sip.spec ++++++ --- /var/tmp/diff_new_pack.EQ6GOl/_old 2023-04-28 16:22:12.657604901 +0200 +++ /var/tmp/diff_new_pack.EQ6GOl/_new 2023-04-28 16:22:12.661604924 +0200 @@ -17,7 +17,7 @@ Name: python-qt5-sip -Version: 12.11.1 +Version: 12.12.1 Release: 0 License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP Summary: The sip module support for PyQt5 ++++++ PyQt5_sip-12.11.1.tar.gz -> PyQt5_sip-12.12.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5_sip-12.11.1/PKG-INFO new/PyQt5_sip-12.12.1/PKG-INFO --- old/PyQt5_sip-12.11.1/PKG-INFO 2023-01-15 18:36:32.844342200 +0100 +++ new/PyQt5_sip-12.12.1/PKG-INFO 2023-04-13 16:58:32.572300700 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: PyQt5_sip -Version: 12.11.1 +Version: 12.12.1 Summary: The sip module support for PyQt5 Home-page: https://www.riverbankcomputing.com/software/sip/ Author: Riverbank Computing Limited diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5_sip-12.11.1/PyQt5_sip.egg-info/PKG-INFO new/PyQt5_sip-12.12.1/PyQt5_sip.egg-info/PKG-INFO --- old/PyQt5_sip-12.11.1/PyQt5_sip.egg-info/PKG-INFO 2023-01-15 18:36:32.000000000 +0100 +++ new/PyQt5_sip-12.12.1/PyQt5_sip.egg-info/PKG-INFO 2023-04-13 16:58:32.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: PyQt5-sip -Version: 12.11.1 +Version: 12.12.1 Summary: The sip module support for PyQt5 Home-page: https://www.riverbankcomputing.com/software/sip/ Author: Riverbank Computing Limited diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5_sip-12.11.1/descriptors.c new/PyQt5_sip-12.12.1/descriptors.c --- old/PyQt5_sip-12.11.1/descriptors.c 2023-01-15 18:36:32.000000000 +0100 +++ new/PyQt5_sip-12.12.1/descriptors.c 2023-04-13 16:58:32.000000000 +0200 @@ -1,7 +1,7 @@ /* * The implementation of the different descriptors. * - * Copyright (c) 2022 Riverbank Computing Limited <i...@riverbankcomputing.com> + * Copyright (c) 2023 Riverbank Computing Limited <i...@riverbankcomputing.com> * * This file is part of SIP. * @@ -213,6 +213,7 @@ */ static void sipMethodDescr_dealloc(PyObject *self) { + PyObject_GC_UnTrack(self); sipMethodDescr_clear(self); Py_TYPE(self)->tp_free(self); } @@ -474,6 +475,7 @@ */ static void sipVariableDescr_dealloc(PyObject *self) { + PyObject_GC_UnTrack(self); sipVariableDescr_clear(self); Py_TYPE(self)->tp_free(self); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5_sip-12.11.1/setup.py new/PyQt5_sip-12.12.1/setup.py --- old/PyQt5_sip-12.11.1/setup.py 2023-01-15 18:36:32.000000000 +0100 +++ new/PyQt5_sip-12.12.1/setup.py 2023-04-13 16:58:32.000000000 +0200 @@ -38,7 +38,7 @@ # Do the setup. setup( name='PyQt5_sip', - version='12.11.1', + version='12.12.1', license='SIP', python_requires='>=3.7', ext_modules=[module] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5_sip-12.11.1/sip.h new/PyQt5_sip-12.12.1/sip.h --- old/PyQt5_sip-12.11.1/sip.h 2023-01-15 18:36:32.000000000 +0100 +++ new/PyQt5_sip-12.12.1/sip.h 2023-04-13 16:58:32.000000000 +0200 @@ -1,7 +1,7 @@ /* * The SIP module interface. * - * Copyright (c) 2022 Riverbank Computing Limited <i...@riverbankcomputing.com> + * Copyright (c) 2023 Riverbank Computing Limited <i...@riverbankcomputing.com> * * This file is part of SIP. * @@ -45,17 +45,20 @@ /* The version of the ABI. */ #define SIP_ABI_MAJOR_VERSION 12 -#define SIP_ABI_MINOR_VERSION 11 +#define SIP_ABI_MINOR_VERSION 12 #define SIP_MODULE_PATCH_VERSION 1 /* * The change history of the ABI. * + * v12.12 + * - Added the '#' conversion character to the argument parsers. + * * v12.11 * - 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. * * v12.10 * - Python v3.7 or later is required. @@ -70,8 +73,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 "PyQt5.sip" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5_sip-12.11.1/sip_array.c new/PyQt5_sip-12.12.1/sip_array.c --- old/PyQt5_sip-12.11.1/sip_array.c 2023-01-15 18:36:32.000000000 +0100 +++ new/PyQt5_sip-12.12.1/sip_array.c 2023-04-13 16:58:32.000000000 +0200 @@ -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); @@ -297,7 +297,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/PyQt5_sip-12.11.1/siplib.c new/PyQt5_sip-12.12.1/siplib.c --- old/PyQt5_sip-12.11.1/siplib.c 2023-01-15 18:36:32.000000000 +0100 +++ new/PyQt5_sip-12.12.1/siplib.c 2023-04-13 16:58:32.000000000 +0200 @@ -1,7 +1,7 @@ /* * SIP library code. * - * Copyright (c) 2022 Riverbank Computing Limited <i...@riverbankcomputing.com> + * Copyright (c) 2023 Riverbank Computing Limited <i...@riverbankcomputing.com> * * This file is part of SIP. * @@ -3895,6 +3895,11 @@ switch (*fmt++) { + case '#': + /* A ctor has an argument with the /Transfer/ annotation. */ + *selfp = va_arg(va, PyObject *); + break; + case 'B': case 'p': { @@ -5391,6 +5396,10 @@ /* Handle the converions of "self" first. */ switch (*fmt++) { + case '#': + va_arg(va, PyObject *); + break; + case 'B': { /* ++++++ support-python3.6.patch ++++++ --- /var/tmp/diff_new_pack.EQ6GOl/_old 2023-04-28 16:22:12.785605648 +0200 +++ /var/tmp/diff_new_pack.EQ6GOl/_new 2023-04-28 16:22:12.789605672 +0200 @@ -1,19 +1,19 @@ -Index: PyQt5_sip-12.11.1/setup.py +Index: PyQt5_sip-12.12.1/setup.py =================================================================== ---- PyQt5_sip-12.11.1.orig/setup.py -+++ PyQt5_sip-12.11.1/setup.py +--- PyQt5_sip-12.12.1.orig/setup.py ++++ PyQt5_sip-12.12.1/setup.py @@ -40,6 +40,6 @@ setup( name='PyQt5_sip', - version='12.11.1', + version='12.12.1', license='SIP', - python_requires='>=3.7', + python_requires='>=3.6', ext_modules=[module] ) -Index: PyQt5_sip-12.11.1/sip.h +Index: PyQt5_sip-12.12.1/sip.h =================================================================== ---- PyQt5_sip-12.11.1.orig/sip.h -+++ PyQt5_sip-12.11.1/sip.h +--- PyQt5_sip-12.12.1.orig/sip.h ++++ PyQt5_sip-12.12.1/sip.h @@ -24,8 +24,8 @@ #include <Python.h> @@ -25,10 +25,10 @@ #endif -Index: PyQt5_sip-12.11.1/siplib.c +Index: PyQt5_sip-12.12.1/siplib.c =================================================================== ---- PyQt5_sip-12.11.1.orig/siplib.c -+++ PyQt5_sip-12.11.1/siplib.c +--- PyQt5_sip-12.12.1.orig/siplib.c ++++ PyQt5_sip-12.12.1/siplib.c @@ -1041,6 +1041,10 @@ const sipAPIDef *sip_init_library(PyObje PyObject *obj; PyMethodDef *md; @@ -40,7 +40,7 @@ /* Add the SIP version number. */ obj = PyLong_FromLong(SIP_VERSION); -@@ -13294,12 +13298,16 @@ int sip_api_convert_from_slice_object(Py +@@ -13303,12 +13307,16 @@ int sip_api_convert_from_slice_object(Py Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step, Py_ssize_t *slicelength) { @@ -57,10 +57,10 @@ } -Index: PyQt5_sip-12.11.1/PKG-INFO +Index: PyQt5_sip-12.12.1/PKG-INFO =================================================================== ---- PyQt5_sip-12.11.1.orig/PKG-INFO -+++ PyQt5_sip-12.11.1/PKG-INFO +--- PyQt5_sip-12.12.1.orig/PKG-INFO ++++ PyQt5_sip-12.12.1/PKG-INFO @@ -9,7 +9,7 @@ License: SIP Platform: X11 Platform: macOS @@ -70,10 +70,10 @@ License-File: LICENSE License-File: LICENSE-GPL3 License-File: LICENSE-GPL2 -Index: PyQt5_sip-12.11.1/PyQt5_sip.egg-info/PKG-INFO +Index: PyQt5_sip-12.12.1/PyQt5_sip.egg-info/PKG-INFO =================================================================== ---- PyQt5_sip-12.11.1.orig/PyQt5_sip.egg-info/PKG-INFO -+++ PyQt5_sip-12.11.1/PyQt5_sip.egg-info/PKG-INFO +--- PyQt5_sip-12.12.1.orig/PyQt5_sip.egg-info/PKG-INFO ++++ PyQt5_sip-12.12.1/PyQt5_sip.egg-info/PKG-INFO @@ -9,7 +9,7 @@ License: SIP Platform: X11 Platform: macOS