Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python3-pyside2 for openSUSE:Factory
checked in at 2023-10-31 20:26:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pyside2 (Old)
and /work/SRC/openSUSE:Factory/.python3-pyside2.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pyside2"
Tue Oct 31 20:26:18 2023 rev:27 rq:1121405 version:5.15.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pyside2/python3-pyside2.changes
2023-09-20 13:28:45.853731050 +0200
+++
/work/SRC/openSUSE:Factory/.python3-pyside2.new.17445/python3-pyside2.changes
2023-10-31 20:26:38.216005392 +0100
@@ -1,0 +2,12 @@
+Mon Oct 30 14:19:25 UTC 2023 - Christophe Marin <[email protected]>
+
+- Update to 5.15.11
+ * Documentation regarding the clang environment variables has been fixed.
+ * Support for Python 3.11 has been added.
+ * The GLES build has been fixed.
+ * Crashes when using QtDataVisualization's QValue3DAxisFormatter have been
fixed.
+- Drop patches, merged upstream:
+ * 0001-Backport-Fix-GLES-builds.patch
+ * python-3.11-compatibility.patch
+
+-------------------------------------------------------------------
Old:
----
0001-Backport-Fix-GLES-builds.patch
pyside-setup-opensource-src-5.15.10.tar.xz
python-3.11-compatibility.patch
New:
----
pyside-setup-opensource-src-5.15.11.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-pyside2.spec ++++++
--- /var/tmp/diff_new_pack.Rt7buH/_old 2023-10-31 20:26:39.116038450 +0100
+++ /var/tmp/diff_new_pack.Rt7buH/_new 2023-10-31 20:26:39.116038450 +0100
@@ -22,7 +22,7 @@
%global __requires_exclude qmlimport\\((Charts|TextBalloonPlugin)
Name: python3-pyside2
-Version: 5.15.10
+Version: 5.15.11
Release: 0
Summary: Python bindings for Qt
# Legal:
@@ -39,13 +39,7 @@
# PATCH-FIX-UPSTREAM
Patch2: 0001-cmake-Don-t-assume-qhelpgenerator-is-in-PATH.patch
# PATCH-FIX-UPSTREAM
-Patch3: 0001-Backport-Fix-GLES-builds.patch
-%if 0%{?suse_version} > 1500
-# PATCH-FIX-UPSTREAM python-3.11-compatibility.patch
-Patch4: python-3.11-compatibility.patch
-%endif
-# PATCH-FIX-UPSTREAM
-Patch5: 0001-Fix-tests-sample_privatector-sample_privatedtor-fail.patch
+Patch3: 0001-Fix-tests-sample_privatector-sample_privatedtor-fail.patch
# Provide the PyPI names
Provides: python3-PySide2 = %{version}-%{release}
Provides: python3-shiboken2 = %{version}-%{release}
@@ -225,8 +219,8 @@
ctest_exclude_regex="$ctest_exclude_regex|QtWebEngineCore_web_engine_custom_scheme"
%if 0%{?suse_version} > 1500
-# Upstream doesn't plan to add support for python > 3.10 in pyside2. Blacklist
broken test
-ctest_exclude_regex="$ctest_exclude_regex|signal_enum_test"
+# Blacklist broken test with python 3.11
+ctest_exclude_regex="$ctest_exclude_regex|signal_enum_test|QtCore_qenum_test"
%endif
%ifarch %{arm}
++++++ 0001-cmake-Don-t-assume-qhelpgenerator-is-in-PATH.patch ++++++
--- /var/tmp/diff_new_pack.Rt7buH/_old 2023-10-31 20:26:39.144039478 +0100
+++ /var/tmp/diff_new_pack.Rt7buH/_new 2023-10-31 20:26:39.152039772 +0100
@@ -1,7 +1,7 @@
-From cb7de1027430cdf0ecbe4e75134239a8987199a2 Mon Sep 17 00:00:00 2001
+From 4d1ad8ef85e746dcb22fb87e23a8b0fdb7a7ccf2 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <[email protected]>
Date: Tue, 15 Sep 2020 08:44:52 +0200
-Subject: [PATCH] [cmake] Don't assume qhelpgenerator is in PATH
+Subject: [PATCH] Don't assume qhelpgenerator is in PATH
There is no guarantee the qhelpgenerator executable is in PATH.
The build system will use the the Qt5::qhelpgenerator target
@@ -12,10 +12,10 @@
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/sources/pyside2/doc/CMakeLists.txt
b/sources/pyside2/doc/CMakeLists.txt
-index ffbb3c1..e578aad 100644
+index 950e486..4b0c7dc 100644
--- a/sources/pyside2/doc/CMakeLists.txt
+++ b/sources/pyside2/doc/CMakeLists.txt
-@@ -132,10 +132,14 @@ if(DOC_OUTPUT_FORMAT STREQUAL "html")
+@@ -138,10 +138,14 @@ if(DOC_OUTPUT_FORMAT STREQUAL "html")
COMMENT "Copying Shiboken docs..."
VERBATIM)
else()
@@ -32,10 +32,10 @@
VERBATIM)
endif()
diff --git a/sources/shiboken2/doc/CMakeLists.txt
b/sources/shiboken2/doc/CMakeLists.txt
-index 9fee962..dee13f3 100644
+index ae4858f..fb2a62d 100644
--- a/sources/shiboken2/doc/CMakeLists.txt
+++ b/sources/shiboken2/doc/CMakeLists.txt
-@@ -33,11 +33,15 @@ except:
+@@ -36,11 +36,15 @@ except:
# create a custom command to generate QCH
if(DOC_OUTPUT_FORMAT STREQUAL "qthelp")
@@ -54,6 +54,6 @@
endif()
else()
--
-2.28.0
+2.42.0
++++++ pyside-setup-opensource-src-5.15.10.tar.xz ->
pyside-setup-opensource-src-5.15.11.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/build_scripts/config.py
new/pyside-setup-opensource-src-5.15.11/build_scripts/config.py
--- old/pyside-setup-opensource-src-5.15.10/build_scripts/config.py
2023-06-06 20:53:10.000000000 +0200
+++ new/pyside-setup-opensource-src-5.15.11/build_scripts/config.py
2023-10-05 06:29:38.000000000 +0200
@@ -94,6 +94,7 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
+ 'Programming Language :: Python :: 3.11'
]
self.setup_script_dir = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/build_scripts/utils.py
new/pyside-setup-opensource-src-5.15.11/build_scripts/utils.py
--- old/pyside-setup-opensource-src-5.15.10/build_scripts/utils.py
2023-06-06 20:53:10.000000000 +0200
+++ new/pyside-setup-opensource-src-5.15.11/build_scripts/utils.py
2023-10-05 06:29:38.000000000 +0200
@@ -64,6 +64,10 @@
WindowsError = None
+def is_64bit():
+ return sys.maxsize > 2147483647
+
+
def filter_match(name, patterns):
for pattern in patterns:
if pattern is None:
@@ -1242,4 +1246,4 @@
print("debug: Exception error: {}".format(e))
file = file.replace("s://download","://master")
print("New url: {}".format(file))
- download_and_extract_7z(file, target)
\ No newline at end of file
+ download_and_extract_7z(file, target)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/build_scripts/wheel_override.py
new/pyside-setup-opensource-src-5.15.11/build_scripts/wheel_override.py
--- old/pyside-setup-opensource-src-5.15.10/build_scripts/wheel_override.py
2023-06-06 20:53:10.000000000 +0200
+++ new/pyside-setup-opensource-src-5.15.11/build_scripts/wheel_override.py
2023-10-05 06:29:38.000000000 +0200
@@ -38,14 +38,17 @@
#############################################################################
-wheel_module_exists = False
-
import os
import sys
+import platform
from .options import DistUtilsCommandMixin, OPTION
from distutils import log as logger
from email.generator import Generator
from .wheel_utils import get_package_version, get_qt_version, macos_plat_name
+from .utils import is_64bit
+
+wheel_module_exists = False
+
try:
@@ -86,11 +89,11 @@
self.plat_name = macos_plat_name()
# When limited API is requested, notify bdist_wheel to
- # create a properly named package.
- limited_api_enabled = (OPTION["LIMITED_API"] == 'yes'
- and sys.version_info[0] >= 3)
+ # create a properly named package, which will contain
+ # the initial cpython version we support.
+ limited_api_enabled = OPTION["LIMITED_API"] == 'yes'
if limited_api_enabled:
- self.py_limited_api = "cp35.cp36.cp37.cp38.cp39.cp310"
+ self.py_limited_api = "cp36"
self._package_version = get_package_version()
@@ -101,9 +104,9 @@
# Slightly modified version of wheel's wheel_dist_name
# method, to add the Qt version as well.
# Example:
- # PySide2-5.6-5.6.4-cp27-cp27m-macosx_10_10_intel.whl
- # The PySide2 version is "5.6".
- # The Qt version built against is "5.6.4".
+ # PySide6-6.3-6.3.2-cp36-abi3-macosx_10_10_intel.whl
+ # The PySide6 version is "6.3".
+ # The Qt version built against is "6.3.2".
wheel_version = "{}-{}".format(self._package_version, get_qt_version())
components = (_safer_name(self.distribution.get_name()), wheel_version)
if self.build_number:
@@ -113,9 +116,7 @@
# Copy of get_tag from bdist_wheel.py, to allow setting a
# multi-python impl tag, by removing an assert. Otherwise we
# would have to rename wheels manually for limited api
- # packages. Also we set "none" abi tag on Windows, because
- # pip does not yet support "abi3" tag, leading to
- # installation failure when tried.
+ # packages.
def get_tag(self):
# bdist sets self.plat_name if unset, we should only use it for purepy
# wheels if the user supplied it.
@@ -136,7 +137,7 @@
# modules, use the default platform name.
plat_name = get_platform(self.bdist_dir)
- if plat_name in ('linux-x86_64', 'linux_x86_64') and sys.maxsize
== 2147483647:
+ if plat_name in ('linux-x86_64', 'linux_x86_64') and not
is_64bit():
plat_name = 'linux_i686'
# To allow uploading to pypi, we need the wheel name
@@ -157,7 +158,7 @@
if self.root_is_pure:
if self.universal:
- impl = 'py2.py3'
+ impl = 'py3'
else:
impl = self.python_tag
tag = (impl, 'none', plat_name)
@@ -168,7 +169,7 @@
# We don't work on CPython 3.1, 3.0.
if self.py_limited_api and (impl_name +
impl_ver).startswith('cp3'):
impl = self.py_limited_api
- abi_tag = "abi3" if sys.platform != "win32" else "none"
+ abi_tag = "abi3"
else:
abi_tag = str(get_abi_tag()).lower()
tag = (impl, abi_tag, plat_name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/coin/dependencies.yaml
new/pyside-setup-opensource-src-5.15.11/coin/dependencies.yaml
--- old/pyside-setup-opensource-src-5.15.10/coin/dependencies.yaml
2023-06-06 20:53:10.000000000 +0200
+++ new/pyside-setup-opensource-src-5.15.11/coin/dependencies.yaml
2023-10-05 06:29:38.000000000 +0200
@@ -1,6 +1,6 @@
product_dependency:
../../qt/tqtc-qt5.git:
- ref: "67ee8a740e8a46c7dd470889ac182f465081dd1c"
+ ref: "5bbe0d09c5ec49df334b62ed1b3338bbba5d1981"
dependency_source: supermodule
dependencies: [
"../../qt/qt3d",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/dist/changes-5.15.11
new/pyside-setup-opensource-src-5.15.11/dist/changes-5.15.11
--- old/pyside-setup-opensource-src-5.15.10/dist/changes-5.15.11
1970-01-01 01:00:00.000000000 +0100
+++ new/pyside-setup-opensource-src-5.15.11/dist/changes-5.15.11
2023-10-05 06:29:38.000000000 +0200
@@ -0,0 +1,26 @@
+Qt for Python 5.5.11 is a bug-fix release.
+
+For more details, refer to the online documentation included in this
+distribution. The documentation is also available online:
+
+https://doc.qt.io/qtforpython/
+
+Some of the changes listed in this file include issue tracking numbers
+corresponding to tasks in the Qt Bug Tracker:
+
+https://bugreports.qt.io/
+
+Each of these identifiers can be entered in the bug tracker to obtain more
+information about a particular change.
+
+****************************************************************************
+* PySide2 *
+****************************************************************************
+
+ - [PYSIDE-1956] Documentation regarding the clang environment variables has
+ been fixed.
+ - [PYSIDE-1960] Support for Python 3.11 has been added.
+ - [PYSIDE-1980] The GLES build has been fixed.
+ - [PYSIDE-2019] Crashes when using QtDataVisualization's
+ QValue3DAxisFormatter have been fixed.
+ - [PYSIDE-2043] Errors when using VSCode's Intellisense have been fixed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyside-setup-opensource-src-5.15.10/requirements.txt
new/pyside-setup-opensource-src-5.15.11/requirements.txt
--- old/pyside-setup-opensource-src-5.15.10/requirements.txt 2023-06-06
20:53:10.000000000 +0200
+++ new/pyside-setup-opensource-src-5.15.11/requirements.txt 2023-10-05
06:29:38.000000000 +0200
@@ -4,6 +4,7 @@
# setuptools from v45+ removed the support for Python 2, so we pin an old
release
setuptools==44.0.0; python_version < '3'
setuptools; python_version >= '3'
+packaging
sphinx
six
wheel>=0.35
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/PySide2/QtDataVisualization/typesystem_datavisualization.xml
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/PySide2/QtDataVisualization/typesystem_datavisualization.xml
---
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/PySide2/QtDataVisualization/typesystem_datavisualization.xml
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/PySide2/QtDataVisualization/typesystem_datavisualization.xml
2023-10-05 06:29:38.000000000 +0200
@@ -85,8 +85,20 @@
</object-type>
<object-type name="QCategory3DAxis"/>
<object-type name="QLogValue3DAxisFormatter"/>
- <object-type name="QValue3DAxis"/>
+ <object-type name="QValue3DAxis">
+ <modify-function signature="setFormatter(QValue3DAxisFormatter *)">
+ <modify-argument index="1">
+ <parent index="this" action="add"/>
+ </modify-argument>
+ </modify-function>
+ </object-type>
<object-type name="QValue3DAxisFormatter">
+ <modify-function signature="createNewInstance() const">
+ <modify-argument index="return">
+ <define-ownership class="native" owner="c++"/>
+ <define-ownership class="target" owner="default"/>
+ </modify-argument>
+ </modify-function>
<modify-function
signature="populateCopy(QtDataVisualization::QValue3DAxisFormatter&)const">
<modify-argument index="1">
<parent index="this" action="add"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/PySide2/QtGui/CMakeLists.txt
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/PySide2/QtGui/CMakeLists.txt
---
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/PySide2/QtGui/CMakeLists.txt
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/PySide2/QtGui/CMakeLists.txt
2023-10-05 06:29:38.000000000 +0200
@@ -227,7 +227,7 @@
list(FIND QtGui_enabled_features "opengles2" _opengles2Index)
# ### fixme: For cmake >= 3.3: if(opengles2 IN_LIST QtGui_enabled_features)
if(_opengles2Index GREATER -1)
- list(APPEND QtGui_DROPPED_ENTRIES QOpenGLTimeMonitor QOpenGLTimerQuery)
+ list(APPEND QtGui_DROPPED_ENTRIES QOpenGLTimeMonitor QOpenGLTimerQuery
QOpenGLVersionFunctionsFactory)
message(STATUS "Qt${QT_MAJOR_VERSION}Gui: Dropping Desktop OpenGL classes
(GLES2)")
else()
list(APPEND QtGui_SRC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt
---
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt
2023-10-05 06:29:38.000000000 +0200
@@ -11,7 +11,7 @@
list(FIND QtOpenGLFunctions_enabled_features "opengles2" _opengles2Index)
# ### fixme: For cmake >= 3.3: if(opengles2 IN_LIST
QtOpenGLFunctions_enabled_features)
if(_opengles2Index GREATER -1)
- list(APPEND QtOpenGLFunctions_DROPPED_ENTRIES QOpenGLTimeMonitor
QOpenGLTimerQuery)
+ list(APPEND QtOpenGLFunctions_DROPPED_ENTRIES QOpenGLTimeMonitor
QOpenGLTimerQuery QOpenGLVersionFunctionsFactory)
list(APPEND QtOpenGLFunctions_SRC
${QtOpenGLFunctions_GEN_DIR}/qopenglfunctions_es2_wrapper.cpp)
message(STATUS "Qt${QT_MAJOR_VERSION}OpenGLFunctions: Dropping Desktop
OpenGL classes (GLES2)")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml
---
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/PySide2/QtWidgets/typesystem_widgets_common.xml
2023-10-05 06:29:38.000000000 +0200
@@ -2306,9 +2306,17 @@
</extra-includes>
<modify-function signature="critical(QWidget*,const QString&,const
QString&,QFlags<QMessageBox::StandardButton>,QMessageBox::StandardButton)"
allow-thread="yes"/>
+ <modify-function signature="critical(QWidget*,const QString&,const
QString&,QMessageBox::StandardButton,QMessageBox::StandardButton)"
+ allow-thread="yes"/>
<modify-function signature="information(QWidget*,const QString&,const
QString&,QFlags<QMessageBox::StandardButton>,QMessageBox::StandardButton)"
allow-thread="yes"/>
+ <modify-function signature="information(QWidget*,const QString&,const
QString&,QMessageBox::StandardButton,QMessageBox::StandardButton)"
+ allow-thread="yes"/>
<modify-function signature="question(QWidget*,const QString&,const
QString&,QFlags<QMessageBox::StandardButton>,QMessageBox::StandardButton)"
allow-thread="yes"/>
+ <modify-function signature="question(QWidget*,const QString&,const
QString&,QMessageBox::StandardButton,QMessageBox::StandardButton)"
+ allow-thread="yes"/>
<modify-function signature="warning(QWidget*,const QString&,const
QString&,QFlags<QMessageBox::StandardButton>,QMessageBox::StandardButton)"
allow-thread="yes"/>
+ <modify-function signature="warning(QWidget*,const QString&,const
QString&,QMessageBox::StandardButton,QMessageBox::StandardButton)"
+ allow-thread="yes"/>
<modify-function signature="QMessageBox(const QString&,const
QString&,QMessageBox::Icon,int,int,int,QWidget*,QFlags<Qt::WindowType>)"
remove="all"/>
<modify-function signature="critical(QWidget*,const QString&,const
QString&,int,int,int)" remove="all"/>
<modify-function signature="critical(QWidget*,const QString&,const
QString&,const QString&,const QString&,const QString&,int,int)"
remove="all"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/PySide2/support/generate_pyi.py
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/PySide2/support/generate_pyi.py
---
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/PySide2/support/generate_pyi.py
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/PySide2/support/generate_pyi.py
2023-10-05 06:29:38.000000000 +0200
@@ -147,10 +147,7 @@
self.print("from PySide2.support.signature.mapping import (")
self.print(" Virtual, Missing, Invalid, Default, Instance)")
self.print()
- self.print("class Object(object): pass")
- self.print()
- self.print("import shiboken2 as Shiboken")
- self.print("Shiboken.Object = Object")
+ self.print("from shiboken2 import Shiboken")
self.print()
# This line will be replaced by the missing imports postprocess.
self.print("IMPORTS")
@@ -222,7 +219,6 @@
outfile = io.StringIO()
fmt = Formatter(outfile)
fmt.print(LICENSE_TEXT.strip())
- need_imports = not USE_PEP563
if USE_PEP563:
fmt.print("from __future__ import annotations")
fmt.print()
@@ -246,11 +242,10 @@
line = line.rstrip()
# we remove the IMPORTS marker and insert imports if needed
if line == "IMPORTS":
- if need_imports:
- for mod_name in find_imports(outfile.getvalue()):
- imp = "PySide2." + mod_name
- if imp != import_name:
- wr.print("import " + imp)
+ for mod_name in find_imports(outfile.getvalue()):
+ imp = "PySide2." + mod_name
+ if imp != import_name:
+ wr.print("import " + imp)
wr.print("import " + import_name)
wr.print()
wr.print()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/doc/gettingstarted-linux.rst
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/doc/gettingstarted-linux.rst
---
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/doc/gettingstarted-linux.rst
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/doc/gettingstarted-linux.rst
2023-10-05 06:29:38.000000000 +0200
@@ -49,11 +49,11 @@
wget
https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_100-based-linux-Rhel7.6-gcc5.3-x86_64.7z
-Extract the files, and leave it on any desired path, and then set these two
required
-environment variables::
+Extract the files, and leave it on any desired path, and set the environment
+variable required::
7z x libclang-release_100-based-linux-Rhel7.6-gcc5.3-x86_64.7z
- export CLANG_INSTALL_DIR=$PWD/libclang
+ export LLVM_INSTALL_DIR=$PWD/libclang
Getting PySide2
~~~~~~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/doc/gettingstarted-macOS.rst
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/doc/gettingstarted-macOS.rst
---
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/doc/gettingstarted-macOS.rst
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/doc/gettingstarted-macOS.rst
2023-10-05 06:29:38.000000000 +0200
@@ -50,11 +50,11 @@
wget
http://download.qt.io/development_releases/prebuilt/libclang/libclang-release_100-based-mac.7z
-Extract the files, and leave it on any desired path, and then set these two
required
-environment variables::
+Extract the files, and leave it on any desired path, and set the environment
+variable required::
7z x libclang-release_100-based-mac.7z
- export CLANG_INSTALL_DIR=$PWD/libclang
+ export LLVM_INSTALL_DIR=$PWD/libclang
Getting PySide2
~~~~~~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/doc/gettingstarted-windows.rst
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/doc/gettingstarted-windows.rst
---
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/doc/gettingstarted-windows.rst
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/doc/gettingstarted-windows.rst
2023-10-05 06:29:38.000000000 +0200
@@ -59,8 +59,8 @@
If you don't have libclang already in your system, you can download from the
Qt servers,
e.g. ``libclang-release_100-based-windows-vs2019_64.7z``.
-Extract the files, and leave it on any desired path, e.g ``c:\``, and then set
these two required
-environment variables::
+Extract the files, and leave it on any desired path, for example, ``c:``,
+and set the environment variable required::
set LLVM_INSTALL_DIR=c:\libclang
set PATH=C:\libclang\bin;%PATH%
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/libpyside/pysideproperty.cpp
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/libpyside/pysideproperty.cpp
---
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/libpyside/pysideproperty.cpp
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/libpyside/pysideproperty.cpp
2023-10-05 06:29:38.000000000 +0200
@@ -104,6 +104,7 @@
{Py_tp_init, (void *)qpropertyTpInit},
{Py_tp_new, (void *)qpropertyTpNew},
{Py_tp_getset, PySidePropertyType_getset},
+ {Py_tp_del, reinterpret_cast<void *>(PyObject_GC_Del)},
{0, 0}
};
// Dotted modulename is crucial for SbkType_FromSpec to work. Is this name
right?
@@ -249,6 +250,7 @@
// This was not needed before Python 3.8 (Python issue 35810)
Py_DECREF(Py_TYPE(self));
}
+ PyObject_GC_UnTrack(self);
Py_TYPE(self)->tp_free(self);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/libpyside/pysideqflags.cpp
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/libpyside/pysideqflags.cpp
---
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/libpyside/pysideqflags.cpp
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/libpyside/pysideqflags.cpp
2023-10-05 06:29:38.000000000 +0200
@@ -191,8 +191,9 @@
SbkNewQFlagsType_slots[idx].pfunc = numberMethods[idx].pfunc;
}
newspec.slots = SbkNewQFlagsType_spec.slots;
- PyTypeObject *type = (PyTypeObject *)SbkType_FromSpec(&newspec);
- Py_TYPE(type) = &PyType_Type;
+ auto *obj = SbkType_FromSpec(&newspec);
+ auto *type = reinterpret_cast<PyTypeObject *>(obj);
+ obj->ob_type = &PyType_Type;
PySideQFlagsType *flagsType = reinterpret_cast<PySideQFlagsType
*>(type);
PepType_PFTP(flagsType)->converterPtr =
&PepType_PFTP(flagsType)->converter;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/libpyside/pysidesignal.cpp
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/libpyside/pysidesignal.cpp
---
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/libpyside/pysidesignal.cpp
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/libpyside/pysidesignal.cpp
2023-10-05 06:29:38.000000000 +0200
@@ -160,9 +160,10 @@
{
static PyTypeObject *type = nullptr;
if (!type) {
- type = reinterpret_cast<PyTypeObject
*>(SbkType_FromSpec(&PySideSignalType_spec));
+ auto *obj = SbkType_FromSpec(&PySideSignalType_spec);
+ type = reinterpret_cast<PyTypeObject *>(obj);
PyTypeObject *hold = Py_TYPE(type);
- Py_TYPE(type) = PySideMetaSignalTypeF();
+ obj->ob_type = PySideMetaSignalTypeF();
Py_INCREF(Py_TYPE(type));
Py_DECREF(hold);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/libpyside/pysideweakref.cpp
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/libpyside/pysideweakref.cpp
---
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/libpyside/pysideweakref.cpp
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/libpyside/pysideweakref.cpp
2023-10-05 06:29:38.000000000 +0200
@@ -88,10 +88,11 @@
if (obj == Py_None)
return 0;
- if (Py_TYPE(PySideCallableObjectTypeF()) == 0)
- {
- Py_TYPE(PySideCallableObjectTypeF()) = &PyType_Type;
- PyType_Ready(PySideCallableObjectTypeF());
+ auto *callableObject_Type = PySideCallableObjectTypeF();
+ auto *callableObject_PyObject = reinterpret_cast<PyObject
*>(callableObject_Type);
+ if (callableObject_PyObject->ob_type == nullptr) {
+ callableObject_PyObject->ob_type = &PyType_Type;
+ PyType_Ready(callableObject_Type);
}
PyTypeObject *type = PySideCallableObjectTypeF();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/pyside2/pyside_version.py
new/pyside-setup-opensource-src-5.15.11/sources/pyside2/pyside_version.py
--- old/pyside-setup-opensource-src-5.15.10/sources/pyside2/pyside_version.py
2023-06-06 20:53:10.000000000 +0200
+++ new/pyside-setup-opensource-src-5.15.11/sources/pyside2/pyside_version.py
2023-10-05 06:29:38.000000000 +0200
@@ -39,7 +39,7 @@
major_version = "5"
minor_version = "15"
-patch_version = "10"
+patch_version = "11"
# For example: "a", "b", "rc"
# (which means "alpha", "beta", "release candidate").
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp
---
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp
2023-10-05 06:29:38.000000000 +0200
@@ -784,18 +784,22 @@
return std::strncmp(prefix.constData(), str, int(prefix.size())) == 0;
}
+#ifdef Q_OS_UNIX
+static bool cStringContains(const char *str, const char *prefix)
+{
+ return std::strstr(str, prefix) != nullptr;
+}
+#endif
+
bool BuilderPrivate::visitHeader(const char *cFileName) const
{
// Resolve OpenGL typedefs although the header is considered a system
header.
const char *baseName = cBaseName(cFileName);
if (cCompareFileName(baseName, "gl.h"))
return true;
-#if defined(Q_OS_LINUX) || defined(Q_OS_MACOS)
- if (cStringStartsWith(cFileName, "/usr/include/stdint.h"))
- return true;
-#endif
#ifdef Q_OS_LINUX
- if (cStringStartsWith(cFileName, "/usr/include/stdlib.h")
+ if (cStringStartsWith(cFileName, "/usr/include/stdint.h")
+ || cStringStartsWith(cFileName, "/usr/include/stdlib.h")
|| cStringStartsWith(cFileName, "/usr/include/sys/types.h")) {
return true;
}
@@ -804,9 +808,9 @@
// Parse the following system headers to get the correct typdefs for types
like
// int32_t, which are used in the macOS implementation of OpenGL framework.
if (cCompareFileName(baseName, "gltypes.h")
- || cStringStartsWith(cFileName, "/usr/include/_types")
- || cStringStartsWith(cFileName, "/usr/include/_types")
- || cStringStartsWith(cFileName, "/usr/include/sys/_types")) {
+ || cStringContains(cFileName, "/usr/include/stdint.h")
+ || cStringContains(cFileName, "/usr/include/_types")
+ || cStringContains(cFileName, "/usr/include/sys/_types")) {
return true;
}
#endif // Q_OS_MACOS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/doc/typesystem_specifying_types.rst
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/doc/typesystem_specifying_types.rst
---
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/doc/typesystem_specifying_types.rst
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/doc/typesystem_specifying_types.rst
2023-10-05 06:29:38.000000000 +0200
@@ -81,14 +81,17 @@
<typesystem>
<rejection class="..."
function-name="..."
+ argument-type="..."
field-name="..." />
</typesystem>
- The **class** attribute is the C++ class name of the class to reject. Use
the
- *optional* **function-name** or **field-name** attributes to reject a
particular
- function or field. Note that the **field-name** and **function-name**
cannot
- be specified at the same time. To remove all occurrences of a given field
or
- function, set the class attribute to \*.
+ The **class** attribute is the C++ class name of the class to reject. Use
+ the *optional* **function-name**, **argument-type**, or **field-name**
+ attributes to reject a particular function, function with arguments of a
+ particular type, or a field. Note that the **field-name** and
+ **function-name**/**argument-type** cannot be specified at the same time.
+ To remove all occurrences of a given field or function, set the class
+ attribute to \*.
.. _primitive-type:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/libshiboken/basewrapper.cpp
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/libshiboken/basewrapper.cpp
---
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/libshiboken/basewrapper.cpp
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/libshiboken/basewrapper.cpp
2023-10-05 06:29:38.000000000 +0200
@@ -376,8 +376,9 @@
{
static PyTypeObject *type = nullptr;
if (!type) {
- type = reinterpret_cast<PyTypeObject
*>(SbkType_FromSpec(&SbkObject_Type_spec));
- Py_TYPE(type) = SbkObjectType_TypeF();
+ auto *obj = SbkType_FromSpec(&SbkObject_Type_spec);
+ type = reinterpret_cast<PyTypeObject *>(obj);
+ obj->ob_type = SbkObjectType_TypeF();
Py_INCREF(Py_TYPE(type));
type->tp_weaklistoffset = offsetof(SbkObject, weakreflist);
type->tp_dictoffset = offsetof(SbkObject, ob_dict);
@@ -521,7 +522,11 @@
PyObject_GC_UnTrack(pyObj);
#ifndef Py_LIMITED_API
+# if PY_VERSION_HEX >= 0x030A0000
+ Py_TRASHCAN_BEGIN(pyObj, 1);
+# else
Py_TRASHCAN_SAFE_BEGIN(pyObj);
+# endif
#endif
if (sotp) {
if (sotp->user_data && sotp->d_func) {
@@ -536,7 +541,11 @@
sotp = nullptr;
}
#ifndef Py_LIMITED_API
+# if PY_VERSION_HEX >= 0x030A0000
+ Py_TRASHCAN_END;
+# else
Py_TRASHCAN_SAFE_END(pyObj);
+# endif
#endif
if (PepRuntime_38_flag) {
// PYSIDE-939: Handling references correctly.
@@ -1161,7 +1170,7 @@
typeSpec->slots[0].pfunc = reinterpret_cast<void *>(baseType ? baseType :
SbkObject_TypeF());
PyObject *heaptype = SbkType_FromSpecWithBases(typeSpec, baseTypes);
- Py_TYPE(heaptype) = SbkObjectType_TypeF();
+ heaptype->ob_type = SbkObjectType_TypeF();
Py_INCREF(Py_TYPE(heaptype));
auto *type = reinterpret_cast<SbkObjectType *>(heaptype);
#if PY_VERSION_HEX < 0x03000000
@@ -1526,6 +1535,7 @@
bool isValid(PyObject *pyObj)
{
if (!pyObj || pyObj == Py_None
+ || PyType_Check(pyObj) != 0
|| Py_TYPE(Py_TYPE(pyObj)) != SbkObjectType_TypeF()) {
return true;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/libshiboken/sbkenum.cpp
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/libshiboken/sbkenum.cpp
---
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/libshiboken/sbkenum.cpp
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/libshiboken/sbkenum.cpp
2023-10-05 06:29:38.000000000 +0200
@@ -330,13 +330,21 @@
PyObject_GC_UnTrack(pyObj);
#ifndef Py_LIMITED_API
+# if PY_VERSION_HEX >= 0x030A0000
+ Py_TRASHCAN_BEGIN(pyObj, 1);
+# else
Py_TRASHCAN_SAFE_BEGIN(pyObj);
+# endif
#endif
if (PepType_SETP(sbkType)->converter) {
Shiboken::Conversions::deleteConverter(PepType_SETP(sbkType)->converter);
}
#ifndef Py_LIMITED_API
+# if PY_VERSION_HEX >= 0x030A0000
+ Py_TRASHCAN_END;
+# else
Py_TRASHCAN_SAFE_END(pyObj);
+# endif
#endif
if (PepRuntime_38_flag) {
// PYSIDE-939: Handling references correctly.
@@ -752,9 +760,10 @@
static auto basetype = SbkEnum_TypeF();
Py_INCREF(basetype);
PyTuple_SetItem(bases, 0, reinterpret_cast<PyObject *>(basetype));
- auto *type = reinterpret_cast<PyTypeObject
*>(SbkType_FromSpecWithBases(&newspec, bases));
+ auto *obj = SbkType_FromSpecWithBases(&newspec, bases);
+ auto *type = reinterpret_cast<PyTypeObject *>(obj);
PyErr_Print();
- Py_TYPE(type) = SbkEnumType_TypeF();
+ obj->ob_type = SbkEnumType_TypeF();
auto *enumType = reinterpret_cast<SbkEnumType *>(type);
PepType_SETP(enumType)->cppName = cppName;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/libshiboken/sbknumpyarrayconverter.cpp
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/libshiboken/sbknumpyarrayconverter.cpp
---
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/libshiboken/sbknumpyarrayconverter.cpp
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/libshiboken/sbknumpyarrayconverter.cpp
2023-10-05 06:29:38.000000000 +0200
@@ -116,8 +116,13 @@
str << " NPY_ARRAY_NOTSWAPPED";
if ((flags & NPY_ARRAY_WRITEABLE) != 0)
str << " NPY_ARRAY_WRITEABLE";
+#if NPY_VERSION >= 0x00000010 // NPY_1_23_API_VERSION
+ if ((flags & NPY_ARRAY_WRITEBACKIFCOPY) != 0)
+ str << " NPY_ARRAY_WRITEBACKIFCOPY";
+#else
if ((flags & NPY_ARRAY_UPDATEIFCOPY) != 0)
str << " NPY_ARRAY_UPDATEIFCOPY";
+#endif
} else {
str << '0';
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/libshiboken/sbkstring.cpp
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/libshiboken/sbkstring.cpp
---
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/libshiboken/sbkstring.cpp
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/libshiboken/sbkstring.cpp
2023-10-05 06:29:38.000000000 +0200
@@ -41,8 +41,14 @@
#include "sbkstaticstrings_p.h"
#include "autodecref.h"
-#include <vector>
-#include <unordered_set>
+#if PY_VERSION_HEX >= 0x03000000
+# define USE_INTERN_STRINGS
+#endif
+
+#ifndef USE_INTERN_STRINGS
+# include <vector>
+# include <unordered_set>
+#endif
namespace Shiboken
{
@@ -233,6 +239,13 @@
// PyObject *attr = PyObject_GetAttr(obj, name());
//
+#ifdef USE_INTERN_STRINGS
+PyObject *createStaticString(const char *str)
+{
+ return PyUnicode_InternFromString(str);
+}
+#else
+
using StaticStrings = std::unordered_set<PyObject *>;
static void finalizeStaticStrings(); // forward
@@ -283,6 +296,8 @@
return result;
}
+#endif // !USE_INTERN_STRINGS
+
///////////////////////////////////////////////////////////////////////
//
// PYSIDE-1019: Helper function for snake_case vs. camelCase names
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/shiboken_version.py
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/shiboken_version.py
---
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/shiboken_version.py
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/shiboken_version.py
2023-10-05 06:29:38.000000000 +0200
@@ -39,7 +39,7 @@
major_version = "5"
minor_version = "15"
-patch_version = "10"
+patch_version = "11"
# For example: "a", "b", "rc"
# (which means "alpha", "beta", "release candidate").
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/shibokenmodule/CMakeLists.txt
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/shibokenmodule/CMakeLists.txt
---
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/shibokenmodule/CMakeLists.txt
2023-06-06 20:53:10.000000000 +0200
+++
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/shibokenmodule/CMakeLists.txt
2023-10-05 06:29:38.000000000 +0200
@@ -41,6 +41,14 @@
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/__init__.py.in"
"${CMAKE_CURRENT_BINARY_DIR}/__init__.py" @ONLY)
+configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Shiboken.pyi"
+ "${CMAKE_CURRENT_BINARY_DIR}/Shiboken.pyi" @ONLY)
+# typing support for mypy
+configure_file("${CMAKE_CURRENT_SOURCE_DIR}/py.typed.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/py.typed" @ONLY)
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Shiboken.pyi"
+ "${CMAKE_CURRENT_BINARY_DIR}/py.typed"
+ DESTINATION "${PYTHON_SITE_PACKAGES}/shiboken2")
# Variable from enclosing scope.
foreach(item IN LISTS shiboken_python_files)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/shibokenmodule/Shiboken.pyi
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/shibokenmodule/Shiboken.pyi
---
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/shibokenmodule/Shiboken.pyi
1970-01-01 01:00:00.000000000 +0100
+++
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/shibokenmodule/Shiboken.pyi
2023-10-05 06:29:38.000000000 +0200
@@ -0,0 +1,54 @@
+#############################################################################
+##
+## Copyright (C) 2022 The Qt Company Ltd.
+## Contact: https://www.qt.io/licensing/
+##
+## This file is part of Qt for Python.
+##
+## $QT_BEGIN_LICENSE:COMM$
+##
+## Commercial License Usage
+## Licensees holding valid commercial Qt licenses may use this file in
+## accordance with the commercial license agreement provided with the
+## Software or, alternatively, in accordance with the terms contained in
+## a written agreement between you and The Qt Company. For licensing terms
+## and conditions see https://www.qt.io/terms-conditions. For further
+## information use the contact form at https://www.qt.io/contact-us.
+##
+## $QT_END_LICENSE$
+##
+#############################################################################
+
+from __future__ import annotations
+
+"""
+This file contains the exact signatures for all functions in module
+Shiboken, except for defaults which are replaced by "...".
+"""
+
+# Module `Shiboken`
+
+from shiboken2 import Shiboken
+
+
+class Object(object):
+
+ def __init__(self) -> None: ...
+
+
+class VoidPtr(object): ...
+
+
+def _unpickle_enum(arg__1: object, arg__2: object) -> object: ...
+def createdByPython(arg__1: Shiboken.Object) -> bool: ...
+def delete(arg__1: Shiboken.Object) -> None: ...
+def dump(arg__1: object) -> str: ...
+def getAllValidWrappers() -> Shiboken.Object: ...
+def getCppPointer(arg__1: Shiboken.Object) -> Shiboken.Object: ...
+def invalidate(arg__1: Shiboken.Object) -> None: ...
+def isValid(arg__1: object) -> bool: ...
+def ownedByPython(arg__1: Shiboken.Object) -> bool: ...
+def wrapInstance(arg__1: int, arg__2: type) -> Shiboken.Object: ...
+
+
+# eof
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/shibokenmodule/py.typed.in
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/shibokenmodule/py.typed.in
---
old/pyside-setup-opensource-src-5.15.10/sources/shiboken2/shibokenmodule/py.typed.in
1970-01-01 01:00:00.000000000 +0100
+++
new/pyside-setup-opensource-src-5.15.11/sources/shiboken2/shibokenmodule/py.typed.in
2023-10-05 06:29:38.000000000 +0200
@@ -0,0 +1 @@
+# this is a marker file for mypy