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 2023-09-20 13:26:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pyside6 (Old)
and /work/SRC/openSUSE:Factory/.python3-pyside6.new.16627 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pyside6"
Wed Sep 20 13:26:56 2023 rev:21 rq:1111992 version:6.5.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pyside6/python3-pyside6.changes
2023-07-27 16:53:35.902760043 +0200
+++
/work/SRC/openSUSE:Factory/.python3-pyside6.new.16627/python3-pyside6.changes
2023-09-20 13:28:47.593793389 +0200
@@ -1,0 +2,6 @@
+Mon Sep 18 12:54:20 UTC 2023 - Christophe Marin <[email protected]>
+
+- Add patch to fix failure with Python 3.11.5:
+ * 0001-Fix-tests-sample_privatector-sample_privatedtor-fail.patch
+
+-------------------------------------------------------------------
New:
----
0001-Fix-tests-sample_privatector-sample_privatedtor-fail.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-pyside6.spec ++++++
--- /var/tmp/diff_new_pack.kI8ziP/_old 2023-09-20 13:28:48.869839105 +0200
+++ /var/tmp/diff_new_pack.kI8ziP/_new 2023-09-20 13:28:48.873839248 +0200
@@ -34,6 +34,8 @@
Source:
https://www.nic.funet.fi/pub/mirrors/download.qt-project.org/official_releases/QtForPython/pyside6/PySide6-%{version}-src/%{tar_name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE
Patch0: 0001-Always-link-to-python-libraries.patch
+# PATCH-FIX-UPSTREAM
+Patch1: 0001-Fix-tests-sample_privatector-sample_privatedtor-fail.patch
# SECTION common_dependencies
BuildRequires: clang-devel
BuildRequires: fdupes
++++++ 0001-Fix-tests-sample_privatector-sample_privatedtor-fail.patch ++++++
>From 4f7c3fdd07aefcf7c0afe92baf30938736d29cef Mon Sep 17 00:00:00 2001
From: Friedemann Kleint <[email protected]>
Date: Mon, 18 Sep 2023 13:39:17 +0200
Subject: [PATCH] Fix tests sample_privatector sample_privatedtor failing with
Python 3.11.5
Remove special characters from the format string as they cause:
ValueError PyUnicode_FromFormatV() expects an ASCII-encoded format string, got
a non-ASCII byte: 0xc2
Fixes: PYSIDE-2465
Pick-to: 6.6 6.5 6.2 5.15
Change-Id: I506efcb44168fdc979a1d16bf33d5d5d14525e2e
---
sources/shiboken6/libshiboken/basewrapper.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sources/shiboken6/libshiboken/basewrapper.cpp
b/sources/shiboken6/libshiboken/basewrapper.cpp
index a0e4e5311..64424298d 100644
--- a/sources/shiboken6/libshiboken/basewrapper.cpp
+++ b/sources/shiboken6/libshiboken/basewrapper.cpp
@@ -601,9 +601,9 @@ PyObject *SbkQApp_tp_new(PyTypeObject *subtype, PyObject *,
PyObject *)
PyObject *SbkDummyNew(PyTypeObject *type, PyObject *, PyObject *)
{
// PYSIDE-595: Give the same error as type_call does when tp_new is NULL.
+ const char regret[] = "¯\\_(ã)_/¯";
PyErr_Format(PyExc_TypeError,
- "cannot create '%.100s' instances ¯\\_(ã)_/¯",
- type->tp_name);
+ "cannot create '%.100s' instances %s", type->tp_name, regret);
return nullptr;
}
--
2.42.0