Sync from SUSE:SLFO:Main python3-pyside6 revision 8716313c17a7b4f167e6d4e1d16faedd

This commit is contained in:
Adrian Schröter 2025-02-25 17:25:19 +01:00
parent 6a0ca70b7c
commit 4131078879
5 changed files with 36 additions and 12 deletions

View File

@ -27,11 +27,11 @@ without the first one being processed yet.
Submitted to upstream in https://codereview.qt-project.org/c/pyside/pyside-setup/+/567559 Submitted to upstream in https://codereview.qt-project.org/c/pyside/pyside-setup/+/567559
diff --git a/sources/pyside6/libpyside/pysidesignal.cpp b/sources/pyside6/libpyside/pysidesignal.cpp diff --git a/sources/pyside6/libpyside/pysidesignal.cpp b/sources/pyside6/libpyside/pysidesignal.cpp
index 13d95fa..228f1e3 100644 index 1e9cd28..7ccf38a 100644
--- a/sources/pyside6/libpyside/pysidesignal.cpp --- a/sources/pyside6/libpyside/pysidesignal.cpp
+++ b/sources/pyside6/libpyside/pysidesignal.cpp +++ b/sources/pyside6/libpyside/pysidesignal.cpp
@@ -715,7 +715,7 @@ static PyObject *signalInstanceDisconnect(PyObject *self, PyObject *args) @@ -721,7 +721,7 @@ static PyObject *signalInstanceDisconnect(PyObject *self, PyObject *args)
Shiboken::AutoDecRef pyMethod(PyObject_GetAttr(source->d->source, Shiboken::AutoDecRef pyMethod(PyObject_GetAttr(source->d->shared->source,
PySide::PySideName::qtDisconnect())); PySide::PySideName::qtDisconnect()));
PyObject *result = PyObject_CallObject(pyMethod, tupleArgs); PyObject *result = PyObject_CallObject(pyMethod, tupleArgs);
- if (result != Py_True) - if (result != Py_True)

BIN
pyside-setup-everywhere-src-6.8.1.1.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
pyside-setup-everywhere-src-6.8.2.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Feb 10 14:43:59 UTC 2025 - Andreas Schwab <schwab@suse.de>
- Update test excludes for qemu emulation and riscv64
- Increase testing timeout to avoid spurious failure of
registry_existence_test
-------------------------------------------------------------------
Fri Jan 31 12:40:44 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Update to 6.8.2. Check the installed changes-6.8.2 file for the
full list of changes
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 14 09:31:54 UTC 2025 - Christophe Marin <christophe@krop.fr> Tue Jan 14 09:31:54 UTC 2025 - Christophe Marin <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python3-pyside6 # spec file for package python3-pyside6
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
%define tar_name pyside-setup-everywhere-src %define tar_name pyside-setup-everywhere-src
%define tar_version 6.8.1.1 %define tar_version 6.8.2
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%flavor" == "" %if "%flavor" == ""
@ -43,7 +43,7 @@ ExclusiveArch: donotbuild
%endif %endif
Name: %{mypython}-%{pyside_flavor} Name: %{mypython}-%{pyside_flavor}
Version: 6.8.1 Version: 6.8.2
Release: 0 Release: 0
Summary: Python bindings for Qt 6 Summary: Python bindings for Qt 6
License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) AND GPL-2.0-only AND GPL-3.0-only WITH Qt-GPL-exception-1.0 License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) AND GPL-2.0-only AND GPL-3.0-only WITH Qt-GPL-exception-1.0
@ -194,7 +194,9 @@ numpyinc=$(%{__mypython} -c 'import numpy; print(numpy.get_include())')
%if "%{pyside_flavor}" == "shiboken6" %if "%{pyside_flavor}" == "shiboken6"
-DCMAKE_SKIP_RPATH:BOOL=ON \ -DCMAKE_SKIP_RPATH:BOOL=ON \
%endif %endif
-DQFP_NO_STRIP:BOOL=ON -DQFP_NO_STRIP:BOOL=ON \
-DCTEST_TESTING_TIMEOUT=120 \
%{nil}
%{qt6_build} %{qt6_build}
@ -256,11 +258,20 @@ ctest_exclude_regex="smart_smart_pointer"
# QtCore_qoperatingsystemversion_test fails after https://code.qt.io/cgit/qt/qtbase.git/commit/?id=1214edc # QtCore_qoperatingsystemversion_test fails after https://code.qt.io/cgit/qt/qtbase.git/commit/?id=1214edc
ctest_exclude_regex="QtWebEngineWidgets_pyside-474-qtwebengineview|QtGui_qpen_test|QtMultimediaWidgets_qmultimediawidgets|Qt3DExtras_qt3dextras_test|QtPositioning_positioning|pyside6-deploy_test_pyside6_deploy|QtWidgets_qwidget_test|pyside6-android-deploy_test_pyside6_android_deploy|qoperatingsystemversion" ctest_exclude_regex="QtWebEngineWidgets_pyside-474-qtwebengineview|QtGui_qpen_test|QtMultimediaWidgets_qmultimediawidgets|Qt3DExtras_qt3dextras_test|QtPositioning_positioning|pyside6-deploy_test_pyside6_deploy|QtWidgets_qwidget_test|pyside6-android-deploy_test_pyside6_android_deploy|qoperatingsystemversion"
# registry_existence_test randomly times out and QtWebEngineCore_web_engine_custom_scheme asserts # QtWebEngineCore_web_engine_custom_scheme asserts
# QtWebEngineCore_qwebenginecookiestore_test, pysidetest_new_inherited_functions_test fail with a mesa error ('MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)') # QtWebEngineCore_qwebenginecookiestore_test, pysidetest_new_inherited_functions_test fail with a mesa error ('MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)')
# QtWidgets_bug_668, QtWidgets_bug_728 segfault # QtWidgets_bug_668, QtWidgets_bug_728 segfault
%ifarch aarch64 %ifarch aarch64
ctest_exclude_regex="$ctest_exclude_regex|registry_existence_test|QtWebEngineCore_web_engine_custom_scheme|QtWebEngineCore_qwebenginecookiestore_test|pysidetest_new_inherited_functions_test|QtWidgets_bug_668|QtWidgets_bug_728" ctest_exclude_regex="$ctest_exclude_regex|QtWebEngineCore_web_engine_custom_scheme|QtWebEngineCore_qwebenginecookiestore_test|pysidetest_new_inherited_functions_test|QtWidgets_bug_668|QtWidgets_bug_728"
%endif
# QtWebEngineCore_web_engine_custom_scheme is flaky
# QtQml_qquickitem_grabToImage fails for unknown reasons
%ifarch riscv64
ctest_exclude_regex+="|QtWebEngineCore_web_engine_custom_scheme|QtQml_qquickitem_grabToImage"
%endif
# qemu linux-user emulation is always multi-threaded, sandbox refuses to start
%if 0%{?qemu_user_space_build}
ctest_exclude_regex+="|QtWebEngineCore_web_engine_custom_scheme|QtWebEngineCore_qwebenginecookiestore_test|QtWebEngineWidgets_pyside-474-qtwebengineview"
%endif %endif
%endif %endif