Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python3-pyside6 for openSUSE:Factory checked in at 2022-12-06 14:24:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-pyside6 (Old) and /work/SRC/openSUSE:Factory/.python3-pyside6.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pyside6" Tue Dec 6 14:24:11 2022 rev:13 rq:1040522 version:6.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python3-pyside6/python3-pyside6.changes 2022-10-19 13:18:25.845315832 +0200 +++ /work/SRC/openSUSE:Factory/.python3-pyside6.new.1835/python3-pyside6.changes 2022-12-06 14:24:26.878175495 +0100 @@ -1,0 +2,26 @@ +Tue Dec 6 07:34:22 UTC 2022 - Christophe Marin <christo...@krop.fr> + +- Disable two additional tests on aarch64 + +------------------------------------------------------------------- +Thu Nov 24 08:14:56 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 6.4.1. Check the installed changes-6.4.1 file for the + full list of changes + * The long missing support for __slots__ was finally added + * Documentation builds have been fixed to work with + system-installed versions of Qt 6. + * A bug when passing wrong keyword args to signals has been fixed + * The build with OpenGLES has been fixed + * Crashes when not implementing abstract methods have been + fixed + * Python 3.10 and higher are not compatible to the + __signature__ attribute. This has been fixed by a temporary + patch until the final removal of that attribute. +- Drop patch, merged upstream: + * pyside-6.4.0-arm_gles.patch +- Add patches to fix CMake builds: + * 0001-Fix-a-cmake-only-build.patch + * 0002-Fix-a-cmake-only-build-amended.patch + +------------------------------------------------------------------- Old: ---- pyside-6.4.0-arm_gles.patch pyside-setup-opensource-src-6.4.0.tar.xz New: ---- 0001-Fix-a-cmake-only-build.patch 0002-Fix-a-cmake-only-build-amended.patch pyside-setup-opensource-src-6.4.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-pyside6.spec ++++++ --- /var/tmp/diff_new_pack.moCg76/_old 2022-12-06 14:24:27.574181428 +0100 +++ /var/tmp/diff_new_pack.moCg76/_new 2022-12-06 14:24:27.582181497 +0100 @@ -25,7 +25,7 @@ %endif # Name: python3-%{pyside_flavor} -Version: 6.4.0 +Version: 6.4.1 Release: 0 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 @@ -35,8 +35,9 @@ Patch0: 0001-Don-t-install-CMake-files-into-versioned-directories.patch # PATCH-FIX-OPENSUSE Patch1: 0001-Always-link-to-python-libraries.patch -# PATCH-FIX-UPSTREAM -Patch2: pyside-6.4.0-arm_gles.patch +# PATCH-FIX-UPSTREAM -- Fixes the CMake builds +Patch2: 0001-Fix-a-cmake-only-build.patch +Patch3: 0002-Fix-a-cmake-only-build-amended.patch # SECTION common_dependencies BuildRequires: clang-devel BuildRequires: fdupes @@ -53,6 +54,8 @@ BuildRequires: pkgconfig(libxslt) # /SECTION %if "%{pyside_flavor}" == "pyside6" +# For the registry_existence test +BuildRequires: python3-distro BuildRequires: cmake(Shiboken6) = %{version} # SECTION test_dependencies BuildRequires: Mesa-dri @@ -79,10 +82,7 @@ BuildRequires: cmake(Qt6Bluetooth) BuildRequires: cmake(Qt6Charts) BuildRequires: cmake(Qt6DBus) -# Skip Qt6DataVisualization on armv7l due to boo#1204267 -%ifnarch %{arm} BuildRequires: cmake(Qt6DataVisualization) -%endif BuildRequires: cmake(Qt6Designer) BuildRequires: cmake(Qt6Help) BuildRequires: cmake(Qt6HttpServer) @@ -141,7 +141,7 @@ %global __qt6_builddir %{pyside_flavor} # Fix installation dir -sed -i 's#purelib#platlib#' sources/{pyside6/cmake/PySideSetup.cmake,shiboken6/cmake/ShibokenHelpers.cmake} +sed -i 's#purelib#platlib#' sources/shiboken6/cmake/ShibokenHelpers.cmake pushd sources/%{pyside_flavor} @@ -207,7 +207,7 @@ %define xvfb_command xvfb-run -s "-screen 0 1600x1200x16 -ac +extension GLX +render -noreset" \\ %define excluded_tests 1 -# Excluded tests (last update: 2022-10-17) +# Excluded tests (last update: 2022-12-06) # QtWebEngineWidgets_pyside-474-qtwebengineview fails with 'ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer' # QtGui_qpen_test times out # QtMultimediaWidgets_qmultimediawidgets aborts @@ -216,6 +216,10 @@ %ifarch s390x ctest_exclude_regex="$ctest_exclude_regex|Qt3DExtras_qt3dextras_test" %endif +# Random failures on aarch64: registry_existence_test times out and QtWebEngineCore_web_engine_custom_scheme asserts +%ifarch aarch64 +ctest_exclude_regex="$ctest_exclude_regex|registry_existence_test|QtWebEngineCore_web_engine_custom_scheme" +%endif %endif pushd sources/%{pyside_flavor} @@ -234,19 +238,18 @@ %files %license sources/%{pyside_flavor}/COPYING* %doc doc/changelogs/changes-* -%{_libdir}/lib%{pyside_flavor}.%{py3_soflags}.so.* -%if "%{pyside_flavor}" == "pyside6" -%{_libdir}/libpyside6qml.%{py3_soflags}.so.* -%endif +%{_libdir}/lib%{pyside_flavor}.abi3.so.* %if "%{pyside_flavor}" == "shiboken6" %{_bindir}/shiboken6 %{_bindir}/shiboken_tool.py %{python_sitearch}/shiboken6/ %{python_sitearch}/shiboken6_generator/ -%else -%{python_sitearch}/PySide6/ +%endif +%if "%{pyside_flavor}" == "pyside6" +%{_libdir}/libpyside6qml.abi3.so.* %dir %{_qt6_pluginsdir}/designer %{_qt6_pluginsdir}/designer/libPySidePlugin.so +%{python_sitearch}/PySide6/ %endif %files devel @@ -254,16 +257,15 @@ %{_includedir}/shiboken6/ %{_qt6_cmakedir}/Shiboken6/ %{_qt6_cmakedir}/Shiboken6Tools/ -%else +%endif +%if "%{pyside_flavor}" == "pyside6" %{_datadir}/PySide6/ %{_includedir}/PySide6/ +%{_libdir}/libpyside6qml.abi3.so %{_qt6_cmakedir}/PySide6/ %{_qt6_cmakedir}/PySide6Qml/ %endif -%{_libdir}/lib%{pyside_flavor}.%{py3_soflags}.so -%if "%{pyside_flavor}" == "pyside6" -%{_libdir}/libpyside6qml.%{py3_soflags}.so -%endif +%{_libdir}/lib%{pyside_flavor}.abi3.so %{_libdir}/pkgconfig/%{pyside_flavor}.pc %changelog ++++++ 0001-Fix-a-cmake-only-build.patch ++++++ >From 5a5b343c80239aaf75d2a582920b75c8c8058da2 Mon Sep 17 00:00:00 2001 From: Christian Tismer <tis...@stackless.com> Date: Thu, 24 Nov 2022 10:24:58 +0100 Subject: [PATCH] Fix a cmake-only build pyminver was computed by cmake and evaluated by parser.py . A recent refactoring extracted a computed string in a wrong way. Change-Id: Ia8264294ad0e050863ea912a9fee15792bed8f10 Pick-to: 6.4 Fixes: PYSIDE-2127 Fixes: PYSIDE-2128 --- .../files.dir/shibokensupport/signature/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py index be82a4f..66d79ad 100644 --- a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py +++ b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py @@ -69,7 +69,7 @@ def _get_flag_enum_option(): flag = getattr(sys, sysname) if not isinstance(flag, int): flag = True - p = f"\n *** Python is at version {'.'.join(map(str, pyminver))} now." + p = f"\n *** Python is at version {'.'.join(map(str, pyminver or 0))} now." # PYSIDE-1797: Emit a warning when we may remove pep384_issue33738.cpp if pyminver and pyminver >= (3, 8): warnings.warn(f"{p} The file pep384_issue33738.cpp should be removed ASAP! ***") -- 2.38.1 ++++++ 0002-Fix-a-cmake-only-build-amended.patch ++++++ >From 3b61453ba48f40d73aa1ad2c9e5a82a389920d0d Mon Sep 17 00:00:00 2001 From: Christian Tismer <tis...@stackless.com> Date: Thu, 24 Nov 2022 10:24:58 +0100 Subject: [PATCH 2/2] Fix a cmake-only build, amended pyminver was computed by cmake and evaluated by parser.py . A recent refactoring extracted a computed string in a wrong way. Sorry, a tuple was needed as default. Change-Id: Ib837af50f2cd525411a3a641e3ccc7fc99cf866a Pick-to: 6.4 Fixes: PYSIDE-2127 Fixes: PYSIDE-2128 --- .../files.dir/shibokensupport/signature/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py index 66d79ad..5d86b93 100644 --- a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py +++ b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py @@ -69,7 +69,7 @@ def _get_flag_enum_option(): flag = getattr(sys, sysname) if not isinstance(flag, int): flag = True - p = f"\n *** Python is at version {'.'.join(map(str, pyminver or 0))} now." + p = f"\n *** Python is at version {'.'.join(map(str, pyminver or (0,)))} now." # PYSIDE-1797: Emit a warning when we may remove pep384_issue33738.cpp if pyminver and pyminver >= (3, 8): warnings.warn(f"{p} The file pep384_issue33738.cpp should be removed ASAP! ***") -- 2.38.1 ++++++ pyside-setup-opensource-src-6.4.0.tar.xz -> pyside-setup-opensource-src-6.4.1.tar.xz ++++++ /work/SRC/openSUSE:Factory/python3-pyside6/pyside-setup-opensource-src-6.4.0.tar.xz /work/SRC/openSUSE:Factory/.python3-pyside6.new.1835/pyside-setup-opensource-src-6.4.1.tar.xz differ: char 25, line 1