[neon/forks/pyqt6-sip/Neon/release] /: New upstream version 13.11.0

Dmitry Shachnev null at kde.org
Mon Jul 27 14:41:23 BST 2026


Git commit e113c4a760727ef3ad817ae3b803a67d93086506 by Dmitry Shachnev.
Committed on 05/02/2026 at 08:57.
Pushed by carlosdem into branch 'Neon/release'.

New upstream version 13.11.0

M  +1    -1    PKG-INFO
M  +1    -1    PyQt6_sip.egg-info/PKG-INFO
M  +1    -0    pyproject.toml
M  +1    -1    setup.py
M  +9    -15   sip.h
M  +0    -10   sip_core.c
M  +2    -20   sip_threads.c

https://invent.kde.org/neon/forks/pyqt6-sip/-/commit/e113c4a760727ef3ad817ae3b803a67d93086506

diff --git a/PKG-INFO b/PKG-INFO
index a52de6d..065f0c0 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: PyQt6_sip
-Version: 13.10.3
+Version: 13.11.0
 Summary: The sip module support for PyQt6
 Home-page: https://github.com/Python-SIP/sip
 Author: Phil Thompson
diff --git a/PyQt6_sip.egg-info/PKG-INFO b/PyQt6_sip.egg-info/PKG-INFO
index a52de6d..065f0c0 100644
--- a/PyQt6_sip.egg-info/PKG-INFO
+++ b/PyQt6_sip.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: PyQt6_sip
-Version: 13.10.3
+Version: 13.11.0
 Summary: The sip module support for PyQt6
 Home-page: https://github.com/Python-SIP/sip
 Author: Phil Thompson
diff --git a/pyproject.toml b/pyproject.toml
index 5dc34e9..d2f1459 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,2 +1,3 @@
 [build-system]
 requires = ["setuptools >=75.8.1"]
+build-backend = "setuptools.build_meta"
diff --git a/setup.py b/setup.py
index 08304b1..41bf480 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ module = Extension('PyQt6.sip', module_src)
 # Do the setup.
 setup(
         name='PyQt6_sip',
-        version='13.10.3',
+        version='13.11.0',
         license='BSD-2-Clause',
         python_requires='>=3.10',
         ext_modules=[module]
diff --git a/sip.h b/sip.h
index 830525c..749fb46 100644
--- a/sip.h
+++ b/sip.h
@@ -38,13 +38,17 @@ extern "C" {
 
 /* The version of the ABI. */
 #define SIP_ABI_MAJOR_VERSION       13
-#define SIP_ABI_MINOR_VERSION       10
-#define SIP_MODULE_PATCH_VERSION    3
+#define SIP_ABI_MINOR_VERSION       11
+#define SIP_MODULE_PATCH_VERSION    0
 
 
 /*
  * The change history of the ABI.
  *
+ * v13.11
+ *  - Added support for Python v3.14.
+ *  - Python v3.10 or later is required.
+ *
  * v13.10
  *  - Added SIP_ABI_VERSION as a module attribute.
  *
@@ -88,8 +92,8 @@ extern "C" {
 
 
 /* The version of the code generator. */
-#define SIP_VERSION                 0x60f00
-#define SIP_VERSION_STR             "6.15.0"
+#define SIP_VERSION                 0x60f01
+#define SIP_VERSION_STR             "6.15.1"
 
 /* These are all dependent on the user-specified name of the sip module. */
 #define _SIP_MODULE_FQ_NAME         "PyQt6.sip"
@@ -154,21 +158,11 @@ typedef unsigned int uint;
 #define SIP_TRACE_METHODS   0x0020
 
 
-/*
- * Hide some thread dependent stuff.  This can be removed when support for
- * Python v3.6 is removed.
- */
-#ifdef WITH_THREAD
+/* Hide some thread related stuff. */
 typedef PyGILState_STATE sip_gilstate_t;
 #define SIP_RELEASE_GIL(gs) PyGILState_Release(gs);
 #define SIP_BLOCK_THREADS   {PyGILState_STATE sipGIL = PyGILState_Ensure();
 #define SIP_UNBLOCK_THREADS PyGILState_Release(sipGIL);}
-#else
-typedef int sip_gilstate_t;
-#define SIP_RELEASE_GIL(gs)
-#define SIP_BLOCK_THREADS
-#define SIP_UNBLOCK_THREADS
-#endif
 
 
 /*
diff --git a/sip_core.c b/sip_core.c
index 5604799..80d0c6d 100644
--- a/sip_core.c
+++ b/sip_core.c
@@ -160,9 +160,7 @@ static sipWrapperType sipWrapper_Type = {
             0,              /* am_await */
             0,              /* am_aiter */
             0,              /* am_anext */
-#if PY_VERSION_HEX >= 0x030a0000
             0,              /* am_send */
-#endif
         },
         {
             0,              /* nb_add */
@@ -7364,9 +7362,7 @@ static PyObject *sip_api_is_py_method_12_8(sip_gilstate_t *gil, char *pymc,
     if (sipInterpreter == NULL)
         return NULL;
 
-#ifdef WITH_THREAD
     *gil = PyGILState_Ensure();
-#endif
 
     /* Only read this when we have the GIL. */
     sipSelf = *sipSelfp;
@@ -7498,17 +7494,13 @@ static PyObject *sip_api_is_py_method_12_8(sip_gilstate_t *gil, char *pymc,
             PyErr_Print();
         }
 
-#ifdef WITH_THREAD
         PyGILState_Release(*gil);
-#endif
     }
 
     return reimp;
 
 release_gil:
-#ifdef WITH_THREAD
     PyGILState_Release(*gil);
-#endif
     return NULL;
 }
 
@@ -9678,9 +9670,7 @@ sipWrapperType sipSimpleWrapper_Type = {
             0,              /* am_await */
             0,              /* am_aiter */
             0,              /* am_anext */
-#if PY_VERSION_HEX >= 0x030a0000
             0,              /* am_send */
-#endif
         },
         {
             0,              /* nb_add */
diff --git a/sip_threads.c b/sip_threads.c
index 0098e0a..69be4e1 100644
--- a/sip_threads.c
+++ b/sip_threads.c
@@ -22,14 +22,11 @@ typedef struct _pendingDef {
 } pendingDef;
 
 
-#ifdef WITH_THREAD
-
-#include <pythread.h>
-
-
 /*
  * The per thread data we need to maintain.
  */
+#include <pythread.h>
+
 typedef struct _threadDef {
     long thr_ident;                 /* The thread identifier. */
     pendingDef pending;             /* An object waiting to be wrapped. */
@@ -40,9 +37,6 @@ static threadDef *threads = NULL;   /* Linked list of threads. */
 
 static threadDef *currentThreadDef(int auto_alloc);
 
-#endif
-
-
 static pendingDef *get_pending(int auto_alloc);
 
 
@@ -124,7 +118,6 @@ PyObject *sipWrapInstance(void *cpp, PyTypeObject *py_type, PyObject *args,
  */
 void sip_api_end_thread(void)
 {
-#ifdef WITH_THREAD
     threadDef *thread;
     PyGILState_STATE gil = PyGILState_Ensure();
 
@@ -132,7 +125,6 @@ void sip_api_end_thread(void)
         thread->thr_ident = 0;
 
     PyGILState_Release(gil);
-#endif
 }
 
 
@@ -142,23 +134,15 @@ void sip_api_end_thread(void)
  */
 static pendingDef *get_pending(int auto_alloc)
 {
-#ifdef WITH_THREAD
     threadDef *thread;
 
     if ((thread = currentThreadDef(auto_alloc)) == NULL)
         return NULL;
 
     return &thread->pending;
-#else
-    static pendingDef pending;
-
-    return &pending;
-#endif
 }
 
 
-#ifdef WITH_THREAD
-
 /*
  * Return the thread data for the current thread, allocating it if necessary,
  * or NULL if there was an error.
@@ -204,5 +188,3 @@ static threadDef *currentThreadDef(int auto_alloc)
 
     return thread;
 }
-
-#endif



More information about the Neon-commits mailing list