Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sip4 for openSUSE:Factory 
checked in at 2023-07-01 23:18:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sip4 (Old)
 and      /work/SRC/openSUSE:Factory/.python-sip4.new.13546 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sip4"

Sat Jul  1 23:18:30 2023 rev:9 rq:1096289 version:4.19.25

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sip4/python-sip4.changes  2023-02-20 
17:45:32.295324698 +0100
+++ /work/SRC/openSUSE:Factory/.python-sip4.new.13546/python-sip4.changes       
2023-07-01 23:18:35.950457373 +0200
@@ -1,0 +2,6 @@
+Sat Jul  1 00:12:29 UTC 2023 - Stefan Brüns <stefan.bru...@rwth-aachen.de>
+
+- Enable python311, libArcus does not support SIP > 4.
+  Add python311_frame.patch
+
+-------------------------------------------------------------------

New:
----
  python311_frame.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-sip4.spec ++++++
--- /var/tmp/diff_new_pack.wemDfD/_old  2023-07-01 23:18:37.002463680 +0200
+++ /var/tmp/diff_new_pack.wemDfD/_new  2023-07-01 23:18:37.006463704 +0200
@@ -36,7 +36,6 @@
 # where X is the python flavor
 # python-sip4-doc and python-sip4-common are flavorless
 %define oldpython python
-%define skip_python311 1
 
 Name:           python-%{pname}
 Version:        4.19.25
@@ -50,6 +49,8 @@
 Patch0:         disable-rpaths.diff
 # PATCH-FIX-OPENSUSE disable-strip.diff -- Disable stripping
 Patch1:         disable-strip.diff
+# PATCH-FIX-OPENSUSE -- Use accessor for python frame object
+Patch2:         python311_frame.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  c++_compiler

++++++ python311_frame.patch ++++++
Taken from https://bugzilla.redhat.com/show_bug.cgi?id=2062144

diff --git a/siplib/siplib.c b/siplib/siplib.c
index db52b68..8019e97 100644
--- a/siplib/siplib.c
+++ b/siplib/siplib.c
@@ -13747,7 +13747,7 @@ static struct _frame *sip_api_get_frame(int depth)
 
     while (frame != NULL && depth > 0)
     {
-        frame = frame->f_back;
+        frame = PyFrame_GetBack(frame);
         --depth;
     }

Reply via email to