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-10-18 21:26:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyQt6-sip (Old) and /work/SRC/openSUSE:Factory/.python-PyQt6-sip.new.31755 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyQt6-sip" Wed Oct 18 21:26:18 2023 rev:11 rq:1118545 version:13.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyQt6-sip/python-PyQt6-sip.changes 2023-09-29 21:15:43.206394844 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyQt6-sip.new.31755/python-PyQt6-sip.changes 2023-10-18 21:26:36.854666421 +0200 @@ -1,0 +2,7 @@ +Wed Oct 18 05:13:44 UTC 2023 - llyyr <llyyr.pub...@gmail.com> + +- Update to ABI version 13.6.0 + * Properly fix the Python v3.12 support by deprecating + sipPyTypeDict() and adding sipPyTypeDictRef(). + +------------------------------------------------------------------- Old: ---- PyQt6_sip-13.5.2.tar.gz New: ---- PyQt6_sip-13.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyQt6-sip.spec ++++++ --- /var/tmp/diff_new_pack.xAU7qP/_old 2023-10-18 21:26:37.522690620 +0200 +++ /var/tmp/diff_new_pack.xAU7qP/_new 2023-10-18 21:26:37.522690620 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-PyQt6-sip -Version: 13.5.2 +Version: 13.6.0 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.2.tar.gz -> PyQt6_sip-13.6.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6_sip-13.5.2/PKG-INFO new/PyQt6_sip-13.6.0/PKG-INFO --- old/PyQt6_sip-13.5.2/PKG-INFO 2023-07-21 18:58:20.322810200 +0200 +++ new/PyQt6_sip-13.6.0/PKG-INFO 2023-10-09 13:12:52.194876400 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: PyQt6_sip -Version: 13.5.2 +Version: 13.6.0 Summary: The sip module support for PyQt6 Home-page: https://www.riverbankcomputing.com/software/sip/ Author: Riverbank Computing Limited @@ -11,13 +11,11 @@ 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 PyQt6 package. - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6_sip-13.5.2/PyQt6_sip.egg-info/PKG-INFO new/PyQt6_sip-13.6.0/PyQt6_sip.egg-info/PKG-INFO --- old/PyQt6_sip-13.5.2/PyQt6_sip.egg-info/PKG-INFO 2023-07-21 18:58:20.000000000 +0200 +++ new/PyQt6_sip-13.6.0/PyQt6_sip.egg-info/PKG-INFO 2023-10-09 13:12:52.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: PyQt6-sip -Version: 13.5.2 +Version: 13.6.0 Summary: The sip module support for PyQt6 Home-page: https://www.riverbankcomputing.com/software/sip/ Author: Riverbank Computing Limited @@ -11,13 +11,11 @@ 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 PyQt6 package. - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6_sip-13.5.2/setup.py new/PyQt6_sip-13.6.0/setup.py --- old/PyQt6_sip-13.5.2/setup.py 2023-07-21 18:58:20.000000000 +0200 +++ new/PyQt6_sip-13.6.0/setup.py 2023-10-09 13:12:52.000000000 +0200 @@ -38,7 +38,7 @@ # Do the setup. setup( name='PyQt6_sip', - version='13.5.2', + version='13.6.0', license='SIP', python_requires='>=3.7', ext_modules=[module] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6_sip-13.5.2/sip.h new/PyQt6_sip-13.6.0/sip.h --- old/PyQt6_sip-13.5.2/sip.h 2023-07-21 18:58:20.000000000 +0200 +++ new/PyQt6_sip-13.6.0/sip.h 2023-10-09 13:12:52.000000000 +0200 @@ -45,13 +45,18 @@ /* The version of the ABI. */ #define SIP_ABI_MAJOR_VERSION 13 -#define SIP_ABI_MINOR_VERSION 5 -#define SIP_MODULE_PATCH_VERSION 2 +#define SIP_ABI_MINOR_VERSION 6 +#define SIP_MODULE_PATCH_VERSION 0 /* * The change history of the ABI. * + * v13.6 + * - Added support for Python v3.12. + * - Added sipPyTypeDictRef(). + * - Deprecated sipPyTypeDict(). + * * v13.5 * - Added the '#' conversion character to the argument parsers. * @@ -74,8 +79,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 "PyQt6.sip" @@ -1353,7 +1358,7 @@ void (*api_visit_wrappers)(sipWrapperVisitorFunc visitor, void *closure); int (*api_register_exit_notifier)(PyMethodDef *md); int (*api_is_enum_flag)(PyObject *o); - void (*unused_public_1)(void); + PyObject *(*api_py_type_dict_ref)(PyTypeObject *); void (*unused_public_2)(void); void (*unused_public_3)(void); void (*unused_public_4)(void); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6_sip-13.5.2/sip_core.c new/PyQt6_sip-13.6.0/sip_core.c --- old/PyQt6_sip-13.5.2/sip_core.c 2023-07-21 18:58:20.000000000 +0200 +++ new/PyQt6_sip-13.6.0/sip_core.c 2023-10-09 13:12:52.000000000 +0200 @@ -376,6 +376,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); @@ -517,7 +518,7 @@ sip_api_visit_wrappers, sip_api_register_exit_notifier, sip_api_is_enum_flag, - NULL, + sip_api_py_type_dict_ref, NULL, NULL, NULL, @@ -11125,14 +11126,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 v13.6 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.xAU7qP/_old 2023-10-18 21:26:37.742698590 +0200 +++ /var/tmp/diff_new_pack.xAU7qP/_new 2023-10-18 21:26:37.746698735 +0200 @@ -1,7 +1,7 @@ -Index: PyQt6_sip-13.5.2/PKG-INFO -=================================================================== ---- PyQt6_sip-13.5.2.orig/PKG-INFO -+++ PyQt6_sip-13.5.2/PKG-INFO +diff --git a/PKG-INFO b/PKG-INFO +index a623a2d..d4ef17b 100644 +--- a/PKG-INFO ++++ b/PKG-INFO @@ -9,7 +9,7 @@ License: SIP Platform: X11 Platform: macOS @@ -9,12 +9,12 @@ -Requires-Python: >=3.7 +Requires-Python: >=3.6 License-File: LICENSE - License-File: LICENSE-GPL3 License-File: LICENSE-GPL2 -Index: PyQt6_sip-13.5.2/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 + License-File: LICENSE-GPL3 +diff --git a/PyQt6_sip.egg-info/PKG-INFO b/PyQt6_sip.egg-info/PKG-INFO +index b0e3b68..6c98da4 100644 +--- a/PyQt6_sip.egg-info/PKG-INFO ++++ b/PyQt6_sip.egg-info/PKG-INFO @@ -9,7 +9,7 @@ License: SIP Platform: X11 Platform: macOS @@ -22,24 +22,24 @@ -Requires-Python: >=3.7 +Requires-Python: >=3.6 License-File: LICENSE - License-File: LICENSE-GPL3 License-File: LICENSE-GPL2 -Index: PyQt6_sip-13.5.2/setup.py -=================================================================== ---- PyQt6_sip-13.5.2.orig/setup.py -+++ PyQt6_sip-13.5.2/setup.py + License-File: LICENSE-GPL3 +diff --git a/setup.py b/setup.py +index 13bfdb0..f09e4df 100644 +--- a/setup.py ++++ b/setup.py @@ -40,6 +40,6 @@ setup( name='PyQt6_sip', - version='13.5.2', + version='13.6.0', license='SIP', - python_requires='>=3.7', + python_requires='>=3.6', ext_modules=[module] ) -Index: PyQt6_sip-13.5.2/sip.h -=================================================================== ---- PyQt6_sip-13.5.2.orig/sip.h -+++ PyQt6_sip-13.5.2/sip.h +diff --git a/sip.h b/sip.h +index 89830b8..af9e3fb 100644 +--- a/sip.h ++++ b/sip.h @@ -24,8 +24,8 @@ #include <Python.h>