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-10-16 22:33:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-qt5-sip (Old) and /work/SRC/openSUSE:Factory/.python-qt5-sip.new.20540 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-qt5-sip" Mon Oct 16 22:33:09 2023 rev:11 rq:1117889 version:12.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-qt5-sip/python-qt5-sip.changes 2023-09-29 21:13:47.622224582 +0200 +++ /work/SRC/openSUSE:Factory/.python-qt5-sip.new.20540/python-qt5-sip.changes 2023-10-16 22:33:16.564452909 +0200 @@ -1,0 +2,12 @@ +Sun Oct 15 13:56:21 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 12.13.0 + * Added sipPyTypeDictRef() to the v12 and v13 ABIs. + sipPyTypeDict() is now deprecated and must not be used with + Python v3.12 and later. + * Classes will automatically support being iterated over if they + implement '__getitem__()' or 'operator[]' and have a method + annotated with '__len__'. + * Bug fixes. + +------------------------------------------------------------------- Old: ---- PyQt5_sip-12.12.2.tar.gz New: ---- PyQt5_sip-12.13.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-qt5-sip.spec ++++++ --- /var/tmp/diff_new_pack.taZtx1/_old 2023-10-16 22:33:17.300479458 +0200 +++ /var/tmp/diff_new_pack.taZtx1/_new 2023-10-16 22:33:17.304479601 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-qt5-sip -Version: 12.12.2 +Version: 12.13.0 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.12.2.tar.gz -> PyQt5_sip-12.13.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5_sip-12.12.2/PKG-INFO new/PyQt5_sip-12.13.0/PKG-INFO --- old/PyQt5_sip-12.12.2/PKG-INFO 2023-07-21 18:44:06.817100000 +0200 +++ new/PyQt5_sip-12.13.0/PKG-INFO 2023-10-09 14:59:17.781707500 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: PyQt5_sip -Version: 12.12.2 +Version: 12.13.0 Summary: The sip module support for PyQt5 Home-page: https://www.riverbankcomputing.com/software/sip/ Author: Riverbank Computing Limited @@ -11,12 +11,10 @@ Platform: Windows Requires-Python: >=3.7 License-File: LICENSE -License-File: LICENSE-GPL3 License-File: LICENSE-GPL2 +License-File: LICENSE-GPL3 sip Extension Module ==================== The sip extension module provides support for the PyQt5 package. - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5_sip-12.12.2/PyQt5_sip.egg-info/PKG-INFO new/PyQt5_sip-12.13.0/PyQt5_sip.egg-info/PKG-INFO --- old/PyQt5_sip-12.12.2/PyQt5_sip.egg-info/PKG-INFO 2023-07-21 18:44:06.000000000 +0200 +++ new/PyQt5_sip-12.13.0/PyQt5_sip.egg-info/PKG-INFO 2023-10-09 14:59:17.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: PyQt5-sip -Version: 12.12.2 +Version: 12.13.0 Summary: The sip module support for PyQt5 Home-page: https://www.riverbankcomputing.com/software/sip/ Author: Riverbank Computing Limited @@ -11,12 +11,10 @@ Platform: Windows Requires-Python: >=3.7 License-File: LICENSE -License-File: LICENSE-GPL3 License-File: LICENSE-GPL2 +License-File: LICENSE-GPL3 sip Extension Module ==================== The sip extension module provides support for the PyQt5 package. - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5_sip-12.12.2/setup.py new/PyQt5_sip-12.13.0/setup.py --- old/PyQt5_sip-12.12.2/setup.py 2023-07-21 18:44:06.000000000 +0200 +++ new/PyQt5_sip-12.13.0/setup.py 2023-10-09 14:59:17.000000000 +0200 @@ -38,7 +38,7 @@ # Do the setup. setup( name='PyQt5_sip', - version='12.12.2', + version='12.13.0', license='SIP', python_requires='>=3.7', ext_modules=[module] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5_sip-12.12.2/sip.h new/PyQt5_sip-12.13.0/sip.h --- old/PyQt5_sip-12.12.2/sip.h 2023-07-21 18:44:06.000000000 +0200 +++ new/PyQt5_sip-12.13.0/sip.h 2023-10-09 14:59:17.000000000 +0200 @@ -45,13 +45,18 @@ /* The version of the ABI. */ #define SIP_ABI_MAJOR_VERSION 12 -#define SIP_ABI_MINOR_VERSION 12 -#define SIP_MODULE_PATCH_VERSION 2 +#define SIP_ABI_MINOR_VERSION 13 +#define SIP_MODULE_PATCH_VERSION 0 /* * The change history of the ABI. * + * v12.13 + * - Added support for Python v3.12. + * - Added sipPyTypeDictRef(). + * - Deprecated sipPyTypeDict(). + * * v12.12 * - Added the '#' conversion character to the argument parsers. * @@ -73,8 +78,8 @@ /* The version of the code generator. */ -#define SIP_VERSION 0x6070a -#define SIP_VERSION_STR "6.7.10" +#define SIP_VERSION 0x6070c +#define SIP_VERSION_STR "6.7.12" /* These are all dependent on the user-specified name of the sip module. */ #define _SIP_MODULE_FQ_NAME "PyQt5.sip" @@ -1668,6 +1673,11 @@ PyObject *(*api_is_py_method_12_8)(sip_gilstate_t *gil, char *pymc, sipSimpleWrapper **sipSelfp, const char *cname, const char *mname); sipExceptionHandler (*api_next_exception_handler)(void **statep); + + /* + * The following are part of the public API. + */ + PyObject *(*api_py_type_dict_ref)(PyTypeObject *); } sipAPIDef; const sipAPIDef *sip_init_library(PyObject *mod_dict); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt5_sip-12.12.2/siplib.c new/PyQt5_sip-12.13.0/siplib.c --- old/PyQt5_sip-12.12.2/siplib.c 2023-07-21 18:44:06.000000000 +0200 +++ new/PyQt5_sip-12.13.0/siplib.c 2023-10-09 14:59:17.000000000 +0200 @@ -381,6 +381,7 @@ static void sip_api_set_type_user_data(sipWrapperType *wt, void *data); static void *sip_api_get_type_user_data(const sipWrapperType *wt); static PyObject *sip_api_py_type_dict(const PyTypeObject *py_type); +static PyObject *sip_api_py_type_dict_ref(PyTypeObject *py_type); static const char *sip_api_py_type_name(const PyTypeObject *py_type); static int sip_api_get_method(PyObject *obj, sipMethodDef *method); static PyObject *sip_api_from_method(const sipMethodDef *method); @@ -620,6 +621,10 @@ */ sip_api_is_py_method_12_8, sip_api_next_exception_handler, + /* + * The following are part of the public API. + */ + sip_api_py_type_dict_ref, }; @@ -12593,14 +12598,33 @@ /* - * Get the dict of a Python type (on behalf of the limited API). + * Get a borrowed reference to the dict of a Python type (on behalf of the + * limited API). This is deprecated in ABI v12.13 and must not be used with + * Python v3.12 and later. */ static PyObject *sip_api_py_type_dict(const PyTypeObject *py_type) { + PyErr_WarnEx(PyExc_DeprecationWarning, + "sipPyTypeDict() is deprecated, the extension module should use " + "sipPyTypeDictRef() instead", + 1); + + return py_type->tp_dict; +} + + +/* + * Get a new reference to the dict of a Python type (on behalf of the limited + * API). + */ +static PyObject *sip_api_py_type_dict_ref(PyTypeObject *py_type) +{ #if PY_VERSION_HEX >= 0x030c0000 return PyType_GetDict(py_type); #else - return py_type->tp_dict; + PyObject *ref = py_type->tp_dict; + Py_XINCREF(ref); + return ref; #endif } ++++++ support-python3.6.patch ++++++ --- /var/tmp/diff_new_pack.taZtx1/_old 2023-10-16 22:33:17.424483930 +0200 +++ /var/tmp/diff_new_pack.taZtx1/_new 2023-10-16 22:33:17.428484074 +0200 @@ -1,19 +1,19 @@ -Index: PyQt5_sip-12.12.2/setup.py +Index: PyQt5_sip-12.13.0/setup.py =================================================================== ---- PyQt5_sip-12.12.2.orig/setup.py -+++ PyQt5_sip-12.12.2/setup.py +--- PyQt5_sip-12.13.0.orig/setup.py ++++ PyQt5_sip-12.13.0/setup.py @@ -40,6 +40,6 @@ setup( name='PyQt5_sip', - version='12.12.2', + version='12.13.0', license='SIP', - python_requires='>=3.7', + python_requires='>=3.6', ext_modules=[module] ) -Index: PyQt5_sip-12.12.2/sip.h +Index: PyQt5_sip-12.13.0/sip.h =================================================================== ---- PyQt5_sip-12.12.2.orig/sip.h -+++ PyQt5_sip-12.12.2/sip.h +--- PyQt5_sip-12.13.0.orig/sip.h ++++ PyQt5_sip-12.13.0/sip.h @@ -24,8 +24,8 @@ #include <Python.h> @@ -25,11 +25,11 @@ #endif -Index: PyQt5_sip-12.12.2/siplib.c +Index: PyQt5_sip-12.13.0/siplib.c =================================================================== ---- PyQt5_sip-12.12.2.orig/siplib.c -+++ PyQt5_sip-12.12.2/siplib.c -@@ -1041,6 +1041,10 @@ const sipAPIDef *sip_init_library(PyObje +--- PyQt5_sip-12.13.0.orig/siplib.c ++++ PyQt5_sip-12.13.0/siplib.c +@@ -1046,6 +1046,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); -@@ -13307,12 +13311,16 @@ int sip_api_convert_from_slice_object(Py +@@ -13331,12 +13335,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.12.2/PKG-INFO +Index: PyQt5_sip-12.13.0/PKG-INFO =================================================================== ---- PyQt5_sip-12.12.2.orig/PKG-INFO -+++ PyQt5_sip-12.12.2/PKG-INFO +--- PyQt5_sip-12.13.0.orig/PKG-INFO ++++ PyQt5_sip-12.13.0/PKG-INFO @@ -9,7 +9,7 @@ License: SIP Platform: X11 Platform: macOS @@ -68,12 +68,12 @@ -Requires-Python: >=3.7 +Requires-Python: >=3.6 License-File: LICENSE - License-File: LICENSE-GPL3 License-File: LICENSE-GPL2 -Index: PyQt5_sip-12.12.2/PyQt5_sip.egg-info/PKG-INFO + License-File: LICENSE-GPL3 +Index: PyQt5_sip-12.13.0/PyQt5_sip.egg-info/PKG-INFO =================================================================== ---- PyQt5_sip-12.12.2.orig/PyQt5_sip.egg-info/PKG-INFO -+++ PyQt5_sip-12.12.2/PyQt5_sip.egg-info/PKG-INFO +--- PyQt5_sip-12.13.0.orig/PyQt5_sip.egg-info/PKG-INFO ++++ PyQt5_sip-12.13.0/PyQt5_sip.egg-info/PKG-INFO @@ -9,7 +9,7 @@ License: SIP Platform: X11 Platform: macOS @@ -81,6 +81,6 @@ -Requires-Python: >=3.7 +Requires-Python: >=3.6 License-File: LICENSE - License-File: LICENSE-GPL3 License-File: LICENSE-GPL2 + License-File: LICENSE-GPL3