[neon/forks/pyqt5-sip/Neon/release] /: New upstream version 12.11.1

Dmitry Shachnev null at kde.org
Sat Feb 4 00:12:45 GMT 2023


Git commit 1d479159a6762f6f4b3a92b74522a4bb0113c8e5 by Dmitry Shachnev.
Committed on 28/01/2023 at 18:26.
Pushed by carlosdem into branch 'Neon/release'.

New upstream version 12.11.1

M  +1    -1    PKG-INFO
M  +1    -1    PyQt5_sip.egg-info/PKG-INFO
M  +1    -1    setup.py
M  +3    -3    sip.h
M  +6    -1    siplib.c

https://invent.kde.org/neon/forks/pyqt5-sip/commit/1d479159a6762f6f4b3a92b74522a4bb0113c8e5

diff --git a/PKG-INFO b/PKG-INFO
index 2601301..434c2d9 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: PyQt5_sip
-Version: 12.11.0
+Version: 12.11.1
 Summary: The sip module support for PyQt5
 Home-page: https://www.riverbankcomputing.com/software/sip/
 Author: Riverbank Computing Limited
diff --git a/PyQt5_sip.egg-info/PKG-INFO b/PyQt5_sip.egg-info/PKG-INFO
index 8f22332..30d79a3 100644
--- a/PyQt5_sip.egg-info/PKG-INFO
+++ b/PyQt5_sip.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: PyQt5-sip
-Version: 12.11.0
+Version: 12.11.1
 Summary: The sip module support for PyQt5
 Home-page: https://www.riverbankcomputing.com/software/sip/
 Author: Riverbank Computing Limited
diff --git a/setup.py b/setup.py
index 746c9a1..008c058 100644
--- a/setup.py
+++ b/setup.py
@@ -38,7 +38,7 @@ module = Extension('PyQt5.sip', module_src)
 # Do the setup.
 setup(
         name='PyQt5_sip',
-        version='12.11.0',
+        version='12.11.1',
         license='SIP',
         python_requires='>=3.7',
         ext_modules=[module]
diff --git a/sip.h b/sip.h
index 9ff82e8..3d38f46 100644
--- a/sip.h
+++ b/sip.h
@@ -46,7 +46,7 @@ extern "C" {
 /* The version of the ABI. */
 #define SIP_ABI_MAJOR_VERSION       12
 #define SIP_ABI_MINOR_VERSION       11
-#define SIP_MODULE_PATCH_VERSION    0
+#define SIP_MODULE_PATCH_VERSION    1
 
 
 /*
@@ -70,8 +70,8 @@ extern "C" {
 
 
 /* The version of the code generator. */
-#define SIP_VERSION                 0x60602
-#define SIP_VERSION_STR             "6.6.2"
+#define SIP_VERSION                 0x60706
+#define SIP_VERSION_STR             "6.7.6"
 
 /* These are all dependent on the user-specified name of the sip module. */
 #define _SIP_MODULE_FQ_NAME         "PyQt5.sip"
diff --git a/siplib.c b/siplib.c
index 8bfb92a..e107698 100644
--- a/siplib.c
+++ b/siplib.c
@@ -12198,7 +12198,12 @@ static PyObject *sipEnumType_alloc(PyTypeObject *self, Py_ssize_t nitems)
     sipEnumTypeObject *py_type;
     sipPySlotDef *psd;
 
-    assert(currentType != NULL);
+    if (currentType == NULL)
+    {
+        PyErr_SetString(PyExc_TypeError, "enums cannot be sub-classed");
+        return NULL;
+    }
+
     assert(sipTypeIsEnum(currentType));
 
     /* Call the standard super-metatype alloc. */



More information about the Neon-commits mailing list