1
0

29 Commits

Author SHA256 Message Date
2563926685 Accepting request 1282550 from KDE:Qt6
Qt 6.9.1 (forwarded request 1282452 from krop)

OBS-URL: https://build.opensuse.org/request/show/1282550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside6?expand=0&rev=44
2025-06-05 18:31:40 +00:00
Christophe Marin
3f038ed9ae Qt 6.9.1
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=106
2025-06-04 07:58:41 +00:00
f90628d7bb Accepting request 1275133 from KDE:Qt6
Disable failing tests

OBS-URL: https://build.opensuse.org/request/show/1275133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside6?expand=0&rev=43
2025-05-07 17:16:01 +00:00
Christophe Marin
9757f34f88 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=104 2025-05-07 07:44:40 +00:00
Christophe Marin
f4fd29ece1 - Exclude a number of tests that segfault in ppc64le
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=103
2025-05-07 07:37:00 +00:00
f0db6bae0a Accepting request 1267151 from KDE:Qt6
Update to 6.9.0

OBS-URL: https://build.opensuse.org/request/show/1267151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside6?expand=0&rev=42
2025-04-07 15:36:09 +00:00
Christophe Marin
8feec36b69 - Disable a test that fails randomly
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=101
2025-04-04 13:13:22 +00:00
Christophe Marin
ef014e5be2 Pyside 6.9.0
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=100
2025-04-02 19:36:23 +00:00
Christophe Marin
73c48e36e4 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=99 2025-03-18 13:37:52 +00:00
Christophe Marin
03ac487498 - Update Shiboken runtime dependency. llvm-config is required
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=98
2025-03-18 13:28:00 +00:00
fb01ecf83b Accepting request 1244828 from KDE:Qt6
OBS-URL: https://build.opensuse.org/request/show/1244828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside6?expand=0&rev=41
2025-02-11 20:22:40 +00:00
Christophe Marin
6c503a37d4 - Update test excludes for qemu emulation and riscv64
- Increase testing timeout to avoid spurious failure of
  registry_existence_test

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=96
2025-02-10 17:22:50 +00:00
e2130bd859 Accepting request 1242038 from KDE:Qt6
Qt 6.8.2 + pyside (forwarded request 1241751 from krop)

OBS-URL: https://build.opensuse.org/request/show/1242038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside6?expand=0&rev=40
2025-02-03 20:42:54 +00:00
Christophe Marin
4b3ff491e7 Qt 6.8.2 + pyside
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=94
2025-02-01 08:45:07 +00:00
7d009c49c5 Accepting request 1237713 from KDE:Qt6
Update to 6.8.1

OBS-URL: https://build.opensuse.org/request/show/1237713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside6?expand=0&rev=39
2025-01-15 16:42:44 +00:00
Christophe Marin
0484cd155f 6.8.1.1
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=92
2025-01-14 10:27:31 +00:00
6673425fd9 Accepting request 1224088 from KDE:Qt6
OBS-URL: https://build.opensuse.org/request/show/1224088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside6?expand=0&rev=38
2024-11-14 15:08:44 +00:00
Christophe Marin
2b90227d1d Added a changelog that is required in order to submit this to SLFO
(I wrote the changelog looking at a diff between 6.8.0 and 6.8.0.2)

  - Support lazy nested types.
  - Provide __all__ only on demand.
  - Handle correctly callback dynamic slots that fail.
  - Small fixes.

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=90
2024-11-14 08:10:32 +00:00
5df641ef24 Accepting request 1222739 from KDE:Qt6
OBS-URL: https://build.opensuse.org/request/show/1222739
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside6?expand=0&rev=37
2024-11-09 19:54:42 +00:00
Christophe Marin
f2a2a79e4f - Update to 6.8.0.2
- Drop patch, merged upstream:
  * 0001-Lazy-Init-Support-Lazy-Subtypes-amended.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=88
2024-11-08 12:35:28 +00:00
627840ead2 Accepting request 1218616 from KDE:Qt6
- Add patches to fix issue found by the KDE CI (PYSIDE-2893)
  * 0001-PySide6-Documentation-Name-the-.rst-doc-files-accord.patch
  * 0001-build-Install-module-doc-snippet-files.patch

OBS-URL: https://build.opensuse.org/request/show/1218616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside6?expand=0&rev=36
2024-10-27 10:26:35 +00:00
Christophe Marin
0a202c8af1 - Add patches to fix issue found by the KDE CI (PYSIDE-2893)
* 0001-PySide6-Documentation-Name-the-.rst-doc-files-accord.patch
  * 0001-build-Install-module-doc-snippet-files.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=86
2024-10-26 22:06:17 +00:00
ed7f77d10d Accepting request 1207947 from KDE:Qt6
Update to 6.8.0

OBS-URL: https://build.opensuse.org/request/show/1207947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside6?expand=0&rev=35
2024-10-17 16:39:21 +00:00
Christophe Marin
dd68d08ee4 cleanup
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=84
2024-10-14 13:16:56 +00:00
Christophe Marin
69cc0b1566 RFC, not fully built yet.
- Add patch to fix shiboken on 32bit platforms:
  * 0001-signature-Fix-pointers-to-signature-bytes-with-the-h.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=83
2024-10-14 13:15:41 +00:00
Christophe Marin
d67efcb8eb - Add upstream change:
* 0001-Lazy-Init-Support-Lazy-Subtypes-amended.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=82
2024-10-14 07:39:07 +00:00
Christophe Marin
709caa64e7 Update to 6.8.0
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=81
2024-10-13 18:15:32 +00:00
c533b1c761 Accepting request 1205159 from KDE:Qt6
Update to 6.7.3

OBS-URL: https://build.opensuse.org/request/show/1205159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside6?expand=0&rev=34
2024-10-03 15:37:46 +00:00
Christophe Marin
aaebb2e9d3 Qt 6.7.3
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/python3-pyside6?expand=0&rev=79
2024-10-01 17:49:49 +00:00
6 changed files with 272 additions and 125 deletions

View File

@@ -1,15 +1,18 @@
From 3de1ff0464ccf0f5e88c62330e98cb816c42f7b2 Mon Sep 17 00:00:00 2001 From e9591e27db4ae3412d4504a69a8afebee9a1b83e Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr> From: Christophe Giboudeaux <christophe@krop.fr>
Date: Tue, 27 Jul 2021 14:54:00 +0200 Date: Tue, 27 Jul 2021 14:54:00 +0200
Subject: [PATCH] Always link to python libraries. Subject: [PATCH] Always link to python libraries.
Change-Id: I687191431adaff55927de353db8f81dfa30ba1b1 Change-Id: I687191431adaff55927de353db8f81dfa30ba1b1
--- ---
sources/shiboken6/cmake/ShibokenHelpers.cmake | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/sources/shiboken6/cmake/ShibokenHelpers.cmake b/sources/shiboken6/cmake/ShibokenHelpers.cmake diff --git a/sources/shiboken6/cmake/ShibokenHelpers.cmake b/sources/shiboken6/cmake/ShibokenHelpers.cmake
index 1a46e5b..6c10c07 100644 index 27ee333..4be2ad1 100644
--- a/sources/shiboken6/cmake/ShibokenHelpers.cmake --- a/sources/shiboken6/cmake/ShibokenHelpers.cmake
+++ b/sources/shiboken6/cmake/ShibokenHelpers.cmake +++ b/sources/shiboken6/cmake/ShibokenHelpers.cmake
@@ -420,13 +420,9 @@ macro(shiboken_compute_python_libraries) @@ -425,13 +425,9 @@ macro(shiboken_compute_python_libraries)
"SHIBOKEN_COMPUTE_LIBS" "shiboken_compute_python_libraries" "SHIBOKEN_COMPUTE_LIBS" "shiboken_compute_python_libraries"
"IS_CALLED_FROM_EXPORT" "" "" ${ARGN}) "IS_CALLED_FROM_EXPORT" "" "" ${ARGN})
@@ -26,3 +29,6 @@ index 1a46e5b..6c10c07 100644
# If the resulting variable # If the resulting variable
# contains a "debug;X;optimized;Y" list like described in shiboken_check_if_limited_api, # contains a "debug;X;optimized;Y" list like described in shiboken_check_if_limited_api,
--
2.46.1

View File

@@ -1,41 +0,0 @@
From: Antonio Larrosa <alarrosa@suse.com>
Subject: Fix for pytest-qt test_destroyed failure
This fixes the issue in the python-pytest-qt package (test-pyside6 flavor)
that triggered the following failure:
[ 90s] ________________________________ test_destroyed ________________________________
[ 90s] CALL ERROR: Exceptions caught in Qt event loop:
[ 90s] ________________________________________________________________________________
[ 90s] RuntimeError: Internal C++ object (Obj) already deleted.
[ 90s]
[ 90s] The above exception was the direct cause of the following exception:
[ 90s]
[ 90s] Traceback (most recent call last):
[ 90s] File "/usr/lib/python3.11/site-packages/pytestqt/wait_signal.py", line 219, in _quit_loop_by_signal
[ 90s] self._cleanup()
[ 90s] File "/usr/lib/python3.11/site-packages/pytestqt/wait_signal.py", line 226, in _cleanup
[ 90s] _silent_disconnect(signal, self._quit_loop_by_signal)
[ 90s] File "/usr/lib/python3.11/site-packages/pytestqt/wait_signal.py", line 741, in _silent_disconnect
[ 90s] signal.disconnect(slot)
[ 90s] SystemError: <class 'RuntimeError'> returned a result with an exception set
This happened because PyObject_CallObject (or PyObject_GetAttr) was
setting an exception and warnDisconnectFailed was generating a new one
without the first one being processed yet.
Submitted to upstream in https://codereview.qt-project.org/c/pyside/pyside-setup/+/567559
Index: pyside-setup-everywhere-src-6.7.1/sources/pyside6/libpyside/pysidesignal.cpp
===================================================================
--- pyside-setup-everywhere-src-6.7.1.orig/sources/pyside6/libpyside/pysidesignal.cpp
+++ pyside-setup-everywhere-src-6.7.1/sources/pyside6/libpyside/pysidesignal.cpp
@@ -718,7 +718,7 @@ static PyObject *signalInstanceDisconnec
Shiboken::AutoDecRef pyMethod(PyObject_GetAttr(source->d->source,
PySide::PySideName::qtDisconnect()));
PyObject *result = PyObject_CallObject(pyMethod, tupleArgs);
- if (result != Py_True)
+ if (result && result != Py_True)
warnDisconnectFailed(slot, source->d->signature);
return result;
}

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

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:04c712c5b9234add0d9b5aa3c01a0caede64a55b496127751f5d52a230cff748
size 16669448

View File

@@ -1,3 +1,103 @@
-------------------------------------------------------------------
Tue Jun 3 16:07:10 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Update to 6.9.1. Check the installed changes-6.9.1 file for the
full list of changes
-------------------------------------------------------------------
Wed May 7 07:44:43 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Disable more failing test on x86_64 and riscv
-------------------------------------------------------------------
Thu Apr 24 10:40:36 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Exclude a number of tests that segfault in ppc64le
-------------------------------------------------------------------
Fri Apr 4 13:13:03 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Disable a test that fails randomly
-------------------------------------------------------------------
Wed Apr 2 11:39:00 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Update to 6.9.0. Check the installed changes-6.9.0 file for the
full list of changes
- Drop patch:
* fix-pytest-qt.patch
-------------------------------------------------------------------
Tue Mar 18 13:27:48 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Update Shiboken runtime dependency. llvm-config is required
- Disable a failing test on ppc64le
-------------------------------------------------------------------
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>
- Update to 6.8.1.1. Check the installed changes-6.8.1 file for the
full list of changes
- Drop patches, merged upstream:
* 0001-PySide6-Documentation-Name-the-.rst-doc-files-accord.patch
* 0001-build-Install-module-doc-snippet-files.patch
- Drop 0001-signature-Fix-pointers-to-signature-bytes-with-the-h.patch
-------------------------------------------------------------------
Fri Nov 8 09:58:04 UTC 2024 - Nico Krapp <nico.krapp@suse.com>
- Update to 6.8.0.2
- Support lazy nested types.
- Provide __all__ only on demand.
- Handle correctly callback dynamic slots that fail.
- Small fixes.
- Drop patch, merged upstream:
* 0001-Lazy-Init-Support-Lazy-Subtypes-amended.patch
-------------------------------------------------------------------
Sat Oct 26 21:29:14 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Add patches to fix issue found by the KDE CI (PYSIDE-2893)
* 0001-PySide6-Documentation-Name-the-.rst-doc-files-accord.patch
* 0001-build-Install-module-doc-snippet-files.patch
-------------------------------------------------------------------
Mon Oct 14 11:35:35 UTC 2024 - Fabian Vogt <fvogt@suse.com>
- Add patch to fix shiboken on 32bit platforms:
* 0001-signature-Fix-pointers-to-signature-bytes-with-the-h.patch
-------------------------------------------------------------------
Mon Oct 14 06:45:34 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Add upstream change:
* 0001-Lazy-Init-Support-Lazy-Subtypes-amended.patch
-------------------------------------------------------------------
Thu Oct 10 20:20:00 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 6.8.0. Check the installed changes-6.8.0 file for the
full list of changes
-------------------------------------------------------------------
Sat Sep 28 08:37:04 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 6.7.3. Check the installed changes-6.7.3 file for the
full list of changes
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 5 19:17:03 UTC 2024 - Ben Greiner <code@bnavigator.de> Thu Sep 5 19:17:03 UTC 2024 - Ben Greiner <code@bnavigator.de>

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 short_version 6.7 %define tar_version 6.9.1
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%flavor" == "" %if "%flavor" == ""
@@ -43,16 +43,14 @@ ExclusiveArch: donotbuild
%endif %endif
Name: %{mypython}-%{pyside_flavor} Name: %{mypython}-%{pyside_flavor}
Version: 6.7.2 Version: 6.9.1
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
URL: https://www.qt.io URL: https://www.qt.io
Source: https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-%{version}-src/%{tar_name}-%{version}.tar.xz Source: https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-%{version}-src/%{tar_name}-%{tar_version}.tar.xz
# PATCH-FIX-OPENSUSE # PATCH-FIX-OPENSUSE
Patch0: 0001-Always-link-to-python-libraries.patch Patch0: 0001-Always-link-to-python-libraries.patch
# PATCH-FIX-UPSTREAM https://codereview.qt-project.org/c/pyside/pyside-setup/+/567559
Patch1: fix-pytest-qt.patch
# SECTION common_dependencies # SECTION common_dependencies
BuildRequires: clang-devel BuildRequires: clang-devel
BuildRequires: %{mypython}-Sphinx BuildRequires: %{mypython}-Sphinx
@@ -60,21 +58,22 @@ BuildRequires: %{mypython}-devel >= 3.7
BuildRequires: %{mypython}-numpy-devel BuildRequires: %{mypython}-numpy-devel
BuildRequires: %{mypython}-setuptools BuildRequires: %{mypython}-setuptools
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: llvm-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: qt6-macros BuildRequires: qt6-macros
BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Core) >= %{version}
BuildRequires: cmake(Qt6Test) BuildRequires: cmake(Qt6CorePrivate) >= %{version}
BuildRequires: cmake(Qt6Xml) BuildRequires: cmake(Qt6Test) >= %{version}
BuildRequires: cmake(Qt6TestPrivate) >= %{version}
BuildRequires: cmake(Qt6Xml) >= %{version}
BuildRequires: cmake(Qt6XmlPrivate) >= %{version}
BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(libxslt)
# /SECTION # /SECTION
%if "%{pyside_flavor}" == "pyside6" %if "%{pyside_flavor}" == "pyside6"
# For the registry_existence test # For the registry_existence test
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150500
# Not available in 15.5
BuildRequires: %{mypython}-distro BuildRequires: %{mypython}-distro
%endif
BuildRequires: %{mypython}-shiboken6-devel = %{version} BuildRequires: %{mypython}-shiboken6-devel = %{version}
# SECTION test_dependencies # SECTION test_dependencies
BuildRequires: Mesa-dri BuildRequires: Mesa-dri
@@ -83,64 +82,120 @@ BuildRequires: qt6-sql-sqlite
BuildRequires: xvfb-run BuildRequires: xvfb-run
# /SECTION # /SECTION
# SECTION essential_modules # SECTION essential_modules
BuildRequires: cmake(Qt6Concurrent) BuildRequires: cmake(Qt6Concurrent) >= %{version}
BuildRequires: cmake(Qt6ExampleIconsPrivate) BuildRequires: cmake(Qt6ExampleIconsPrivate) >= %{version}
BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Gui) >= %{version}
BuildRequires: cmake(Qt6Network) BuildRequires: cmake(Qt6GuiPrivate) >= %{version}
BuildRequires: cmake(Qt6PrintSupport) BuildRequires: cmake(Qt6Network) >= %{version}
BuildRequires: cmake(Qt6Sql) BuildRequires: cmake(Qt6NetworkPrivate) >= %{version}
BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6PrintSupport) >= %{version}
BuildRequires: cmake(Qt6PrintSupportPrivate) >= %{version}
BuildRequires: cmake(Qt6Sql) >= %{version}
BuildRequires: cmake(Qt6SqlPrivate) >= %{version}
BuildRequires: cmake(Qt6Widgets) >= %{version}
BuildRequires: cmake(Qt6WidgetsPrivate) >= %{version}
# /SECTION # /SECTION
# SECTION optional_modules # SECTION optional_modules
BuildRequires: qt6-qml-private-devel BuildRequires: cmake(Qt63DAnimation) >= %{version}
BuildRequires: cmake(Qt63DAnimation) BuildRequires: cmake(Qt63DAnimationPrivate) >= %{version}
BuildRequires: cmake(Qt63DCore) BuildRequires: cmake(Qt63DCore) >= %{version}
BuildRequires: cmake(Qt63DExtras) BuildRequires: cmake(Qt63DCorePrivate) >= %{version}
BuildRequires: cmake(Qt63DInput) BuildRequires: cmake(Qt63DExtras) >= %{version}
BuildRequires: cmake(Qt63DLogic) BuildRequires: cmake(Qt63DExtrasPrivate) >= %{version}
BuildRequires: cmake(Qt63DRender) BuildRequires: cmake(Qt63DInput) >= %{version}
BuildRequires: cmake(Qt6Bluetooth) BuildRequires: cmake(Qt63DInputPrivate) >= %{version}
BuildRequires: cmake(Qt6Charts) BuildRequires: cmake(Qt63DLogic) >= %{version}
BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt63DLogicPrivate) >= %{version}
BuildRequires: cmake(Qt6DataVisualization) BuildRequires: cmake(Qt63DRender) >= %{version}
BuildRequires: cmake(Qt6Designer) BuildRequires: cmake(Qt63DRenderPrivate) >= %{version}
BuildRequires: cmake(Qt6Graphs) BuildRequires: cmake(Qt6Bluetooth) >= %{version}
BuildRequires: cmake(Qt6Help) BuildRequires: cmake(Qt6BluetoothPrivate) >= %{version}
BuildRequires: cmake(Qt6HttpServer) BuildRequires: cmake(Qt6Charts) >= %{version}
BuildRequires: cmake(Qt6Location) BuildRequires: cmake(Qt6ChartsPrivate) >= %{version}
BuildRequires: cmake(Qt6Multimedia) BuildRequires: cmake(Qt6DBus) >= %{version}
BuildRequires: cmake(Qt6MultimediaWidgets) BuildRequires: cmake(Qt6DBusPrivate) >= %{version}
BuildRequires: cmake(Qt6NetworkAuth) BuildRequires: cmake(Qt6DataVisualization) >= %{version}
BuildRequires: cmake(Qt6OpenGL) BuildRequires: cmake(Qt6DataVisualizationPrivate) >= %{version}
BuildRequires: cmake(Qt6OpenGLWidgets) BuildRequires: cmake(Qt6Designer) >= %{version}
BuildRequires: cmake(Qt6Positioning) BuildRequires: cmake(Qt6DesignerPrivate) >= %{version}
BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Graphs) >= %{version}
BuildRequires: cmake(Qt6Quick) BuildRequires: cmake(Qt6GraphsPrivate) >= %{version}
BuildRequires: cmake(Qt6Quick3D) BuildRequires: cmake(Qt6GraphsWidgets) >= %{version}
BuildRequires: cmake(Qt6QuickControls2) BuildRequires: cmake(Qt6GraphsWidgetsPrivate) >= %{version}
BuildRequires: cmake(Qt6QuickTest) BuildRequires: cmake(Qt6Help) >= %{version}
BuildRequires: cmake(Qt6QuickWidgets) BuildRequires: cmake(Qt6HelpPrivate) >= %{version}
BuildRequires: cmake(Qt6RemoteObjects) BuildRequires: cmake(Qt6HttpServer) >= %{version}
BuildRequires: cmake(Qt6Scxml) BuildRequires: cmake(Qt6HttpServerPrivate) >= %{version}
BuildRequires: cmake(Qt6Sensors) BuildRequires: cmake(Qt6Location) >= %{version}
BuildRequires: cmake(Qt6SerialBus) BuildRequires: cmake(Qt6LocationPrivate) >= %{version}
BuildRequires: cmake(Qt6SerialPort) BuildRequires: cmake(Qt6Multimedia) >= %{version}
BuildRequires: cmake(Qt6SpatialAudio) BuildRequires: cmake(Qt6MultimediaPrivate) >= %{version}
BuildRequires: cmake(Qt6StateMachine) BuildRequires: cmake(Qt6MultimediaWidgets) >= %{version}
BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6MultimediaWidgetsPrivate) >= %{version}
BuildRequires: cmake(Qt6SvgWidgets) BuildRequires: cmake(Qt6NetworkAuth) >= %{version}
BuildRequires: cmake(Qt6TextToSpeech) BuildRequires: cmake(Qt6Nfc) >= %{version}
BuildRequires: cmake(Qt6UiPlugin) BuildRequires: cmake(Qt6NfcPrivate) >= %{version}
BuildRequires: cmake(Qt6UiTools) BuildRequires: cmake(Qt6NetworkAuthPrivate) >= %{version}
BuildRequires: cmake(Qt6WebChannel) BuildRequires: cmake(Qt6OpenGL) >= %{version}
%ifarch x86_64 %x86_64 aarch64 riscv64 BuildRequires: cmake(Qt6OpenGLWidgets) >= %{version}
BuildRequires: cmake(Qt6Pdf) BuildRequires: cmake(Qt6Positioning) >= %{version}
BuildRequires: cmake(Qt6PdfWidgets) BuildRequires: cmake(Qt6PositioningPrivate) >= %{version}
BuildRequires: cmake(Qt6WebEngineCore) BuildRequires: cmake(Qt6Qml) >= %{version}
BuildRequires: cmake(Qt6WebEngineQuick) BuildRequires: cmake(Qt6QmlPrivate) >= %{version}
BuildRequires: cmake(Qt6WebEngineWidgets) BuildRequires: cmake(Qt6Quick) >= %{version}
BuildRequires: cmake(Qt6QuickPrivate) >= %{version}
BuildRequires: cmake(Qt6Quick3D) >= %{version}
BuildRequires: cmake(Qt6Quick3DPrivate) >= %{version}
BuildRequires: cmake(Qt6QuickControls2) >= %{version}
BuildRequires: cmake(Qt6QuickControls2Private) >= %{version}
BuildRequires: cmake(Qt6QuickTest) >= %{version}
BuildRequires: cmake(Qt6QuickTestPrivate) >= %{version}
BuildRequires: cmake(Qt6QuickWidgets) >= %{version}
BuildRequires: cmake(Qt6QuickWidgetsPrivate) >= %{version}
BuildRequires: cmake(Qt6RemoteObjects) >= %{version}
BuildRequires: cmake(Qt6RemoteObjectsPrivate) >= %{version}
BuildRequires: cmake(Qt6RepParser) >= %{version}
BuildRequires: cmake(Qt6Scxml) >= %{version}
BuildRequires: cmake(Qt6ScxmlPrivate) >= %{version}
BuildRequires: cmake(Qt6Sensors) >= %{version}
BuildRequires: cmake(Qt6SensorsPrivate) >= %{version}
BuildRequires: cmake(Qt6SerialBus) >= %{version}
BuildRequires: cmake(Qt6SerialBusPrivate) >= %{version}
BuildRequires: cmake(Qt6SerialPort) >= %{version}
BuildRequires: cmake(Qt6SerialPortPrivate) >= %{version}
BuildRequires: cmake(Qt6SpatialAudio) >= %{version}
BuildRequires: cmake(Qt6SpatialAudioPrivate) >= %{version}
BuildRequires: cmake(Qt6StateMachine) >= %{version}
BuildRequires: cmake(Qt6StateMachinePrivate) >= %{version}
BuildRequires: cmake(Qt6Svg) >= %{version}
BuildRequires: cmake(Qt6SvgPrivate) >= %{version}
BuildRequires: cmake(Qt6SvgWidgets) >= %{version}
BuildRequires: cmake(Qt6SvgWidgetsPrivate) >= %{version}
BuildRequires: cmake(Qt6TextToSpeech) >= %{version}
BuildRequires: cmake(Qt6TextToSpeechPrivate) >= %{version}
BuildRequires: cmake(Qt6UiPlugin) >= %{version}
BuildRequires: cmake(Qt6UiTools) >= %{version}
BuildRequires: cmake(Qt6UiToolsPrivate) >= %{version}
BuildRequires: cmake(Qt6WebChannel) >= %{version}
BuildRequires: cmake(Qt6WebChannelPrivate) >= %{version}
%ifarch x86_64 %{x86_64} aarch64 riscv64
BuildRequires: cmake(Qt6Pdf) >= %{version}
BuildRequires: cmake(Qt6PdfPrivate) >= %{version}
BuildRequires: cmake(Qt6PdfWidgets) >= %{version}
BuildRequires: cmake(Qt6PdfWidgetsPrivate) >= %{version}
BuildRequires: cmake(Qt6WebEngineCore) >= %{version}
BuildRequires: cmake(Qt6WebEngineCorePrivate) >= %{version}
BuildRequires: cmake(Qt6WebEngineQuick) >= %{version}
BuildRequires: cmake(Qt6WebEngineQuickPrivate) >= %{version}
BuildRequires: cmake(Qt6WebEngineWidgets) >= %{version}
BuildRequires: cmake(Qt6WebEngineWidgetsPrivate) >= %{version}
BuildRequires: cmake(Qt6WebView) >= %{version}
BuildRequires: cmake(Qt6WebViewPrivate) >= %{version}
BuildRequires: cmake(Qt6WebViewQuick) >= %{version}
BuildRequires: cmake(Qt6WebViewQuickPrivate) >= %{version}
%endif %endif
BuildRequires: cmake(Qt6WebSockets) BuildRequires: cmake(Qt6WebSockets) >= %{version}
BuildRequires: cmake(Qt6WebSocketsPrivate) >= %{version}
# /SECTION # /SECTION
Requires: %{mypython}-shiboken6 Requires: %{mypython}-shiboken6
%endif %endif
@@ -155,6 +210,10 @@ Python bindings for the Qt cross-platform application and UI framework.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name} = %{version} Requires: %{name} = %{version}
%if "%{pyside_flavor}" == "shiboken6"
# Shiboken runs llvm-config to find Clang's built-in include directory
Requires: llvm%{_llvm_sonum}-devel
%endif
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
Provides: python3-%{pyside_flavor}-devel = %{version}-%{release} Provides: python3-%{pyside_flavor}-devel = %{version}-%{release}
Obsoletes: python3-%{pyside_flavor}-devel < %{version}-%{release} Obsoletes: python3-%{pyside_flavor}-devel < %{version}-%{release}
@@ -164,6 +223,8 @@ Obsoletes: python3-%{pyside_flavor}-devel < %{version}-%{release}
Python bindings for the Qt cross-platform application and UI framework Python bindings for the Qt cross-platform application and UI framework
%prep %prep
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%autosetup -p1 -n %{tar_name}-%{version} %autosetup -p1 -n %{tar_name}-%{version}
# Restore 6.6.1 RPATH value. rpmlint will complain otherwise # Restore 6.6.1 RPATH value. rpmlint will complain otherwise
@@ -197,7 +258,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}
@@ -237,8 +300,8 @@ export LD_LIBRARY_PATH=%{buildroot}%{_qt6_libdir}:$LD_LIBRARY_PATH
for dir in libminimal libother libsample libsmart; do for dir in libminimal libother libsample libsmart; do
export LD_LIBRARY_PATH=$PWD/sources/shiboken6/shiboken6/tests/$dir:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=$PWD/sources/shiboken6/shiboken6/tests/$dir:$LD_LIBRARY_PATH
done done
# 2023-05-30 Only fails on armv7l # 2025-03-18 Fails on armv7l and ppc64le
%ifarch armv7l armv7hl %ifarch armv7l armv7hl ppc64le
%define excluded_tests 1 %define excluded_tests 1
ctest_exclude_regex="smart_smart_pointer" ctest_exclude_regex="smart_smart_pointer"
%endif %endif
@@ -248,7 +311,7 @@ ctest_exclude_regex="smart_smart_pointer"
%define xvfb_command xvfb-run -s "-screen 0 1600x1200x16 -ac +extension GLX +render -noreset" \\ %define xvfb_command xvfb-run -s "-screen 0 1600x1200x16 -ac +extension GLX +render -noreset" \\
%define excluded_tests 1 %define excluded_tests 1
# Excluded tests (last update: 2024-05-27) # Excluded tests (last update: 2025-05-07)
# QtWebEngineWidgets_pyside-474-qtwebengineview fails with 'ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer' # QtWebEngineWidgets_pyside-474-qtwebengineview fails with 'ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer'
# QtGui_qpen_test times out # QtGui_qpen_test times out
# QtMultimediaWidgets_qmultimediawidgets aborts # QtMultimediaWidgets_qmultimediawidgets aborts
@@ -257,16 +320,32 @@ ctest_exclude_regex="smart_smart_pointer"
# QtWidgets_qwidget_test fails randomly # QtWidgets_qwidget_test fails randomly
# pyside6-android-deploy_test_pyside6_android_deploy # pyside6-android-deploy_test_pyside6_android_deploy
# 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" # cpp_interop_cpp_interop_test is flaky
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|cpp_interop_cpp_interop_test"
# registry_existence_test randomly times out and QtWebEngineCore_web_engine_custom_scheme asserts # QtWebEngineCore_web_engine_custom_scheme asserts
# QtWebEngineCore_qwebenginecookiestore_test fails 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
%ifarch aarch64 %ifarch aarch64
ctest_exclude_regex="$ctest_exclude_regex|registry_existence_test|QtWebEngineCore_web_engine_custom_scheme|QtWebEngineCore_qwebenginecookiestore_test" 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 %endif
# python311-distro is unavailable in 15.5, skip registry_existence_test # QtWebEngineCore_web_engine_custom_scheme is flaky
%if 0%{?sle_version} == 150500 # QtQml_qquickitem_grabToImage fails for unknown reasons
ctest_exclude_regex="$ctest_exclude_regex|registry_existence_test" %ifarch riscv64
ctest_exclude_regex+="|QtWebEngineCore_web_engine_custom_scheme|QtQml_qquickitem_grabToImage"
%endif
%ifarch ppc64le
# Tests started segfaulting after an unknown change that happened ~ april 10
ctest_exclude_regex+="|QtQml_bug_825_old|QtQml_bug_825|QtQml_bug_847|QtQml_qqmlnetwork_test|QtQml_registertype|QtQml_registersingletontype|QtQml_qqmlincubator_incubateWhile|QtQml_qquickitem_grabToImage|quicktestmainwithsetup_tst_quicktestmainwithsetup|QtDataVisualization_datavisualization_test"
%endif
%ifarch x86_64 riscv64
# QtWebengine failures caused by fixes for AMD graphics (cf. sr#1274939)
ctest_exclude_regex+="|QtWebEngineCore_web_engine_custom_scheme|QtWebEngineCore_qwebenginecookiestore_test"
%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
@@ -293,6 +372,9 @@ popd
%{mypython_sitearch}/shiboken6_generator/ %{mypython_sitearch}/shiboken6_generator/
%endif %endif
%if "%{pyside_flavor}" == "pyside6" %if "%{pyside_flavor}" == "pyside6"
# This library is used to interpret .rep files from Python
# it is intentionally static (also see https://bugreports.qt.io/browse/PYSIDE-862)
%{_libdir}/libpyside6remoteobjects.a
%{_libdir}/libpyside6qml.abi3.so.* %{_libdir}/libpyside6qml.abi3.so.*
%dir %{_qt6_pluginsdir}/designer %dir %{_qt6_pluginsdir}/designer
%{_qt6_pluginsdir}/designer/libPySidePlugin.so %{_qt6_pluginsdir}/designer/libPySidePlugin.so