Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-forbiddenfruit for
openSUSE:Factory checked in at 2026-07-07 21:00:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-forbiddenfruit (Old)
and /work/SRC/openSUSE:Factory/.python-forbiddenfruit.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-forbiddenfruit"
Tue Jul 7 21:00:14 2026 rev:8 rq:1363919 version:0.1.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-forbiddenfruit/python-forbiddenfruit.changes
2026-05-28 23:07:25.224247912 +0200
+++
/work/SRC/openSUSE:Factory/.python-forbiddenfruit.new.1982/python-forbiddenfruit.changes
2026-07-07 21:00:44.309207087 +0200
@@ -1,0 +2,6 @@
+Mon Jul 6 04:32:26 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-cursing-next.patch:
+ * Add support for cursing __next__, to support Python 3.15.
+
+-------------------------------------------------------------------
New:
----
support-cursing-next.patch
----------(New B)----------
New:
- Add patch support-cursing-next.patch:
* Add support for cursing __next__, to support Python 3.15.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-forbiddenfruit.spec ++++++
--- /var/tmp/diff_new_pack.HDAwXb/_old 2026-07-07 21:00:45.373243639 +0200
+++ /var/tmp/diff_new_pack.HDAwXb/_new 2026-07-07 21:00:45.377243776 +0200
@@ -24,8 +24,10 @@
License: GPL-3.0-only OR MIT
URL: https://github.com/clarete/forbiddenfruit
Source0:
https://github.com/clarete/forbiddenfruit/archive/%{version}.tar.gz
-# https://github.com/clarete/forbiddenfruit/pull/47
+# PATCH-FIX-UPSTREAM gh#clarete/forbiddenfruit#47
Patch0: remove-nose.patch
+# PATCH-FIX-UPSTREAM Lightly based on gh#clarete/forbiddenfruit#85
+Patch1: support-cursing-next.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
++++++ support-cursing-next.patch ++++++
>From 6d7237ba38db976f079906216872b764d7088a49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <[email protected]>
Date: Fri, 3 Jul 2026 20:26:16 +0200
Subject: [PATCH] Support cursing `__next__`
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Support cursing `__next__` and fill in `tp_iternext` description. This
is needed to make [blockbuster](https://github.com/cbornet/blockbuster)
work on Python 3.15.
Signed-off-by: Michał Górny <[email protected]>
---
forbiddenfruit/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: forbiddenfruit-0.1.4/forbiddenfruit/__init__.py
===================================================================
--- forbiddenfruit-0.1.4.orig/forbiddenfruit/__init__.py
+++ forbiddenfruit-0.1.4/forbiddenfruit/__init__.py
@@ -205,6 +205,7 @@ PyTypeObject._fields_ = [
('tp_hash', ctypes.CFUNCTYPE(ctypes.c_int64, PyObject_p)),
('tp_call', ctypes.CFUNCTYPE(PyObject_p, PyObject_p, PyObject_p,
PyObject_p)),
('tp_str', ctypes.CFUNCTYPE(PyObject_p, PyObject_p)),
+ ('tp_iternext', ctypes.CFUNCTYPE(PyObject_p, PyObject_p)),
# ...
]
@@ -305,6 +306,7 @@ for override in [as_number, as_sequence,
# divmod isn't a dunder, still make it overridable
override_dict['divmod()'] = ('tp_as_number', "nb_divmod")
override_dict['__str__'] = ('tp_str', "tp_str")
+override_dict['__next__'] = ('tp_iternext', "tp_iternext")
def _is_dunder(func_name):