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-09-29 21:14:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyQt6-sip (Old) and /work/SRC/openSUSE:Factory/.python-PyQt6-sip.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyQt6-sip" Fri Sep 29 21:14:08 2023 rev:10 rq:1114144 version:13.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyQt6-sip/python-PyQt6-sip.changes 2023-06-12 15:26:56.043223314 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyQt6-sip.new.28202/python-PyQt6-sip.changes 2023-09-29 21:15:43.206394844 +0200 @@ -1,0 +2,6 @@ +Wed Sep 27 09:07:58 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to ABI version 13.5.2 + * Match python-sip6-devel 6.7.10+ + +------------------------------------------------------------------- Old: ---- PyQt6_sip-13.5.1.tar.gz New: ---- PyQt6_sip-13.5.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyQt6-sip.spec ++++++ --- /var/tmp/diff_new_pack.FSfgzW/_old 2023-09-29 21:15:44.358436410 +0200 +++ /var/tmp/diff_new_pack.FSfgzW/_new 2023-09-29 21:15:44.358436410 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-PyQt6-sip -Version: 13.5.1 +Version: 13.5.2 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.5.1.tar.gz -> PyQt6_sip-13.5.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6_sip-13.5.1/PKG-INFO new/PyQt6_sip-13.5.2/PKG-INFO --- old/PyQt6_sip-13.5.1/PKG-INFO 2023-04-13 17:05:22.851324300 +0200 +++ new/PyQt6_sip-13.5.2/PKG-INFO 2023-07-21 18:58:20.322810200 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: PyQt6_sip -Version: 13.5.1 +Version: 13.5.2 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.5.1/PyQt6_sip.egg-info/PKG-INFO new/PyQt6_sip-13.5.2/PyQt6_sip.egg-info/PKG-INFO --- old/PyQt6_sip-13.5.1/PyQt6_sip.egg-info/PKG-INFO 2023-04-13 17:05:22.000000000 +0200 +++ new/PyQt6_sip-13.5.2/PyQt6_sip.egg-info/PKG-INFO 2023-07-21 18:58:20.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: PyQt6-sip -Version: 13.5.1 +Version: 13.5.2 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.5.1/setup.py new/PyQt6_sip-13.5.2/setup.py --- old/PyQt6_sip-13.5.1/setup.py 2023-04-13 17:05:22.000000000 +0200 +++ new/PyQt6_sip-13.5.2/setup.py 2023-07-21 18:58:20.000000000 +0200 @@ -38,7 +38,7 @@ # Do the setup. setup( name='PyQt6_sip', - version='13.5.1', + version='13.5.2', license='SIP', python_requires='>=3.7', ext_modules=[module] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6_sip-13.5.1/sip.h new/PyQt6_sip-13.5.2/sip.h --- old/PyQt6_sip-13.5.1/sip.h 2023-04-13 17:05:22.000000000 +0200 +++ new/PyQt6_sip-13.5.2/sip.h 2023-07-21 18:58:20.000000000 +0200 @@ -46,7 +46,7 @@ /* The version of the ABI. */ #define SIP_ABI_MAJOR_VERSION 13 #define SIP_ABI_MINOR_VERSION 5 -#define SIP_MODULE_PATCH_VERSION 1 +#define SIP_MODULE_PATCH_VERSION 2 /* @@ -74,8 +74,8 @@ /* The version of the code generator. */ -#define SIP_VERSION 0x60709 -#define SIP_VERSION_STR "6.7.9" +#define SIP_VERSION 0x6070a +#define SIP_VERSION_STR "6.7.10" /* 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.5.1/sip_array.c new/PyQt6_sip-13.5.2/sip_array.c --- old/PyQt6_sip-13.5.1/sip_array.c 2023-04-13 17:05:22.000000000 +0200 +++ new/PyQt6_sip-13.5.2/sip_array.c 2023-07-21 18:58:20.000000000 +0200 @@ -284,6 +284,8 @@ static int sipArray_getbuffer(PyObject *self, Py_buffer *view, int flags) { sipArrayObject *array = (sipArrayObject *)self; + const char *format; + Py_ssize_t itemsize; if (view == NULL) return 0; @@ -297,23 +299,28 @@ view->obj = self; Py_INCREF(self); + /* + * If there is no format, ie. it is a wrapped type, then present it as + * bytes. + */ + if ((format = array->format) == NULL) + { + format = "B"; + itemsize = sizeof (unsigned char); + } + else + { + itemsize = array->stride; + } + view->buf = array->data; view->len = array->len * array->stride; view->readonly = (array->flags & SIP_READ_ONLY); - view->itemsize = array->stride; + view->itemsize = itemsize; view->format = NULL; if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT) - { - if (array->format == NULL) - { - PyErr_SetString(PyExc_BufferError, - "format has not been specified"); - return -1; - } - - view->format = (char *)array->format; - } + view->format = format; view->ndim = 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6_sip-13.5.1/sip_core.c new/PyQt6_sip-13.5.2/sip_core.c --- old/PyQt6_sip-13.5.1/sip_core.c 2023-04-13 17:05:22.000000000 +0200 +++ new/PyQt6_sip-13.5.2/sip_core.c 2023-07-21 18:58:20.000000000 +0200 @@ -1890,7 +1890,7 @@ { void *mem; - if ((mem = PyMem_Malloc(nbytes)) == NULL) + if ((mem = PyMem_RawMalloc(nbytes)) == NULL) PyErr_NoMemory(); return mem; @@ -1902,7 +1902,7 @@ */ void sip_api_free(void *mem) { - PyMem_Free(mem); + PyMem_RawFree(mem); } @@ -11129,7 +11129,11 @@ */ static PyObject *sip_api_py_type_dict(const PyTypeObject *py_type) { +#if PY_VERSION_HEX >= 0x030c0000 + return PyType_GetDict(py_type); +#else return py_type->tp_dict; +#endif } ++++++ support-python3.6.patch ++++++ --- /var/tmp/diff_new_pack.FSfgzW/_old 2023-09-29 21:15:44.486441028 +0200 +++ /var/tmp/diff_new_pack.FSfgzW/_new 2023-09-29 21:15:44.486441028 +0200 @@ -1,7 +1,7 @@ -Index: PyQt6_sip-13.5.1/PKG-INFO +Index: PyQt6_sip-13.5.2/PKG-INFO =================================================================== ---- PyQt6_sip-13.5.1.orig/PKG-INFO -+++ PyQt6_sip-13.5.1/PKG-INFO +--- PyQt6_sip-13.5.2.orig/PKG-INFO ++++ PyQt6_sip-13.5.2/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.5.1/PyQt6_sip.egg-info/PKG-INFO +Index: PyQt6_sip-13.5.2/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 +--- PyQt6_sip-13.5.2.orig/PyQt6_sip.egg-info/PKG-INFO ++++ PyQt6_sip-13.5.2/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.5.1/setup.py +Index: PyQt6_sip-13.5.2/setup.py =================================================================== ---- PyQt6_sip-13.5.1.orig/setup.py -+++ PyQt6_sip-13.5.1/setup.py +--- PyQt6_sip-13.5.2.orig/setup.py ++++ PyQt6_sip-13.5.2/setup.py @@ -40,6 +40,6 @@ setup( name='PyQt6_sip', - version='13.5.1', + version='13.5.2', license='SIP', - python_requires='>=3.7', + python_requires='>=3.6', ext_modules=[module] ) -Index: PyQt6_sip-13.5.1/sip.h +Index: PyQt6_sip-13.5.2/sip.h =================================================================== ---- PyQt6_sip-13.5.1.orig/sip.h -+++ PyQt6_sip-13.5.1/sip.h +--- PyQt6_sip-13.5.2.orig/sip.h ++++ PyQt6_sip-13.5.2/sip.h @@ -24,8 +24,8 @@ #include <Python.h>