PyQt6-sip 13.9.1__tar.gz → 13.10.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of PyQt6-sip might be problematic. Click here for more details.

@@ -1,4 +1,4 @@
1
- Copyright 2024 Phil Thompson <phil@riverbankcomputing.com>
1
+ Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without
4
4
  modification, are permitted provided that the following conditions are met:
@@ -1,19 +1,21 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: PyQt6_sip
3
- Version: 13.9.1
3
+ Version: 13.10.2
4
4
  Summary: The sip module support for PyQt6
5
5
  Home-page: https://github.com/Python-SIP/sip
6
6
  Author: Phil Thompson
7
7
  Author-email: phil@riverbankcomputing.com
8
- License: SIP
8
+ License: BSD-2-Clause
9
9
  Platform: X11
10
10
  Platform: macOS
11
11
  Platform: Windows
12
12
  Requires-Python: >=3.9
13
13
  License-File: LICENSE
14
+ Dynamic: license
15
+ Dynamic: license-file
16
+ Dynamic: requires-python
14
17
 
15
18
  sip Extension Module
16
19
  ====================
17
20
 
18
- The sip extension module provides support for the PyQt6
19
- package.
21
+ The sip extension module provides support for the PyQt6 package.
@@ -1,19 +1,21 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: PyQt6_sip
3
- Version: 13.9.1
3
+ Version: 13.10.2
4
4
  Summary: The sip module support for PyQt6
5
5
  Home-page: https://github.com/Python-SIP/sip
6
6
  Author: Phil Thompson
7
7
  Author-email: phil@riverbankcomputing.com
8
- License: SIP
8
+ License: BSD-2-Clause
9
9
  Platform: X11
10
10
  Platform: macOS
11
11
  Platform: Windows
12
12
  Requires-Python: >=3.9
13
13
  License-File: LICENSE
14
+ Dynamic: license
15
+ Dynamic: license-file
16
+ Dynamic: requires-python
14
17
 
15
18
  sip Extension Module
16
19
  ====================
17
20
 
18
- The sip extension module provides support for the PyQt6
19
- package.
21
+ The sip extension module provides support for the PyQt6 package.
@@ -0,0 +1,4 @@
1
+ sip Extension Module
2
+ ====================
3
+
4
+ The sip extension module provides support for the PyQt6 package.
@@ -0,0 +1,2 @@
1
+ [build-system]
2
+ requires = ["setuptools >=75.8.1"]
@@ -1,6 +1,6 @@
1
1
  # SPDX-License-Identifier: BSD-2-Clause
2
2
 
3
- # Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
3
+ # Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
4
4
 
5
5
 
6
6
  import glob
@@ -16,8 +16,8 @@ module = Extension('PyQt6.sip', module_src)
16
16
  # Do the setup.
17
17
  setup(
18
18
  name='PyQt6_sip',
19
- version='13.9.1',
20
- license='SIP',
19
+ version='13.10.2',
20
+ license='BSD-2-Clause',
21
21
  python_requires='>=3.9',
22
22
  ext_modules=[module]
23
23
  )
@@ -3,7 +3,7 @@
3
3
  /*
4
4
  * The SIP module interface.
5
5
  *
6
- * Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
6
+ * Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
7
7
  */
8
8
 
9
9
 
@@ -35,13 +35,16 @@ extern "C" {
35
35
 
36
36
  /* The version of the ABI. */
37
37
  #define SIP_ABI_MAJOR_VERSION 13
38
- #define SIP_ABI_MINOR_VERSION 9
39
- #define SIP_MODULE_PATCH_VERSION 1
38
+ #define SIP_ABI_MINOR_VERSION 10
39
+ #define SIP_MODULE_PATCH_VERSION 2
40
40
 
41
41
 
42
42
  /*
43
43
  * The change history of the ABI.
44
44
  *
45
+ * v13.10
46
+ * - Added SIP_ABI_VERSION as a module attribute.
47
+ *
45
48
  * v13.9
46
49
  * - Python v3.9 or later is required.
47
50
  * - Added a new implementation of sipDeprecated() that takes an optional
@@ -82,8 +85,8 @@ extern "C" {
82
85
 
83
86
 
84
87
  /* The version of the code generator. */
85
- #define SIP_VERSION 0x60901
86
- #define SIP_VERSION_STR "6.9.1"
88
+ #define SIP_VERSION 0x60b01
89
+ #define SIP_VERSION_STR "6.11.1"
87
90
 
88
91
  /* These are all dependent on the user-specified name of the sip module. */
89
92
  #define _SIP_MODULE_FQ_NAME "PyQt6.sip"
@@ -3,7 +3,7 @@
3
3
  /*
4
4
  * This file implements the API for the array type.
5
5
  *
6
- * Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
6
+ * Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
7
7
  */
8
8
 
9
9
 
@@ -3,7 +3,7 @@
3
3
  /*
4
4
  * This file defines the API for the array type.
5
5
  *
6
- * Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
6
+ * Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
7
7
  */
8
8
 
9
9
 
@@ -3,7 +3,7 @@
3
3
  /*
4
4
  * The core sip module code.
5
5
  *
6
- * Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
6
+ * Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
7
7
  */
8
8
 
9
9
 
@@ -886,6 +886,14 @@ const sipAPIDef *sip_init_library(PyObject *mod_dict)
886
886
  if (sip_dict_set_and_discard(mod_dict, "SIP_VERSION_STR", obj) < 0)
887
887
  return NULL;
888
888
 
889
+ /* Add the SIP ABI version number. */
890
+ obj = PyLong_FromLong((SIP_ABI_MAJOR_VERSION << 16) +
891
+ (SIP_ABI_MINOR_VERSION << 8) +
892
+ SIP_MODULE_PATCH_VERSION);
893
+
894
+ if (sip_dict_set_and_discard(mod_dict, "SIP_ABI_VERSION", obj) < 0)
895
+ return NULL;
896
+
889
897
  /* Add the methods. */
890
898
  for (md = methods; md->ml_name != NULL; ++md)
891
899
  {
@@ -3541,7 +3549,7 @@ static int parsePass1(PyObject **parseErrp, PyObject **selfp, int *selfargp,
3541
3549
  td = va_arg(va, sipTypeDef *);
3542
3550
  va_arg(va, void **);
3543
3551
 
3544
- if (PyObject_TypeCheck(self, (PyTypeObject *)&sipSimpleWrapper_Type))
3552
+ if (self != NULL && PyObject_TypeCheck(self, (PyTypeObject *)&sipSimpleWrapper_Type))
3545
3553
  {
3546
3554
  /* The call was self.method(...). */
3547
3555
  *selfp = self;
@@ -6677,21 +6685,25 @@ int sip_api_deprecated(const char *classname, const char *method)
6677
6685
  int sip_api_deprecated_13_9(const char *classname, const char *method,
6678
6686
  const char *message)
6679
6687
  {
6680
- char buf[100];
6688
+ const unsigned int bufsize = 100 + ( message ? strlen(message) : 0 );
6689
+ char *buf = (char*)sip_api_malloc(bufsize * sizeof(char));
6690
+ unsigned int written = 0;
6681
6691
 
6682
6692
  if (classname == NULL)
6683
- PyOS_snprintf(buf, sizeof (buf), "%s() is deprecated", method);
6693
+ written = PyOS_snprintf(buf, bufsize, "%s() is deprecated", method);
6684
6694
  else if (method == NULL)
6685
- PyOS_snprintf(buf, sizeof (buf), "%s constructor is deprecated",
6686
- classname);
6695
+ written = PyOS_snprintf(buf, bufsize, "%s constructor is deprecated",
6696
+ classname);
6687
6697
  else
6688
- PyOS_snprintf(buf, sizeof (buf), "%s.%s() is deprecated", classname,
6689
- method );
6698
+ written = PyOS_snprintf(buf, bufsize, "%s.%s() is deprecated", classname,
6699
+ method );
6690
6700
 
6691
6701
  if (message != NULL)
6692
- PyOS_snprintf(&buf[strlen(buf)], sizeof (buf), ": %s", message);
6702
+ PyOS_snprintf(buf+written, bufsize-written, ": %s", message);
6693
6703
 
6694
- return PyErr_WarnEx(PyExc_DeprecationWarning, buf, 1);
6704
+ const int res = PyErr_WarnEx(PyExc_DeprecationWarning, buf, 1);
6705
+ sip_api_free(buf);
6706
+ return res;
6695
6707
  }
6696
6708
 
6697
6709
 
@@ -8602,7 +8614,7 @@ static PyObject *sipWrapperType_alloc(PyTypeObject *self, Py_ssize_t nitems)
8602
8614
 
8603
8615
  ((sipWrapperType *)o)->wt_td = currentType;
8604
8616
 
8605
- if (sipTypeIsClass(currentType))
8617
+ if (sipTypeIsClass(currentType) || sipTypeIsNamespace(currentType))
8606
8618
  {
8607
8619
  const sipClassTypeDef *ctd = (const sipClassTypeDef *)currentType;
8608
8620
  const char *docstring = ctd->ctd_docstring;
@@ -3,7 +3,7 @@
3
3
  /*
4
4
  * This file defines the core sip module internal interfaces.
5
5
  *
6
- * Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
6
+ * Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
7
7
  */
8
8
 
9
9
 
@@ -3,7 +3,7 @@
3
3
  /*
4
4
  * The implementation of the different descriptors.
5
5
  *
6
- * Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
6
+ * Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
7
7
  */
8
8
 
9
9
 
@@ -3,7 +3,7 @@
3
3
  /*
4
4
  * This file implements the enum support.
5
5
  *
6
- * Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
6
+ * Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
7
7
  */
8
8
 
9
9
 
@@ -3,7 +3,7 @@
3
3
  /*
4
4
  * This file defines the API for the enum support.
5
5
  *
6
- * Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
6
+ * Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
7
7
  */
8
8
 
9
9
 
@@ -3,7 +3,7 @@
3
3
  /*
4
4
  * The implementation of the Python object to C/C++ integer convertors.
5
5
  *
6
- * Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
6
+ * Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
7
7
  */
8
8
 
9
9
 
@@ -4,7 +4,7 @@
4
4
  * This module implements a hash table class for mapping C/C++ addresses to the
5
5
  * corresponding wrapped Python object.
6
6
  *
7
- * Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
7
+ * Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
8
8
  */
9
9
 
10
10
 
@@ -5,7 +5,7 @@
5
5
  * C++ classes that provide a thread interface to interact properly with the
6
6
  * Python threading infrastructure.
7
7
  *
8
- * Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
8
+ * Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
9
9
  */
10
10
 
11
11
 
@@ -3,7 +3,7 @@
3
3
  /*
4
4
  * This file implements the API for the voidptr type.
5
5
  *
6
- * Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
6
+ * Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
7
7
  */
8
8
 
9
9
 
pyqt6_sip-13.9.1/README DELETED
@@ -1,5 +0,0 @@
1
- sip Extension Module
2
- ====================
3
-
4
- The sip extension module provides support for the PyQt6
5
- package.
@@ -1,2 +0,0 @@
1
- [build-system]
2
- requires = ["setuptools >=69.5"]
File without changes
File without changes