Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pygame for openSUSE:Factory 
checked in at 2026-11-27 19:42:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pygame (Old)
 and      /work/SRC/openSUSE:Factory/.python-pygame.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pygame"

Fri Nov 27 19:42:41 2026 rev:47 rq:1401008 version:2.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pygame/python-pygame.changes      
2026-04-10 18:03:22.195493149 +0200
+++ /work/SRC/openSUSE:Factory/.python-pygame.new.1340718/python-pygame.changes 
2026-11-27 19:44:46.228229082 +0100
@@ -1,0 +2,6 @@
+Fri Nov 20 03:23:33 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-cython-3.3.0.patch:
+  * Support Cython 3.3 changes.
+
+-------------------------------------------------------------------

New:
----
  support-cython-3.3.0.patch

----------(New B)----------
  New:
- Add patch support-cython-3.3.0.patch:
  * Support Cython 3.3 changes.
----------(New E)----------

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

Other differences:
------------------
++++++ python-pygame.spec ++++++
--- /var/tmp/diff_new_pack.ubduCK/_old  2026-11-27 19:44:47.307274683 +0100
+++ /var/tmp/diff_new_pack.ubduCK/_new  2026-11-27 19:44:47.313274936 +0100
@@ -28,6 +28,8 @@
 Patch0:         skip-broken-tests.patch
 # PATCH-FIX-UPSTREAM fix-tests-with-3-14.patch
 Patch1:         fix-tests-with-3-14.patch
+# PATCH-FIX-UPSTREAM gh#pygame/pygame#4912
+Patch2:         support-cython-3.3.0.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy}
@@ -146,7 +148,7 @@
 %doc README.rst
 %license docs/LGPL.txt
 %{python_sitearch}/pygame/
-%{python_sitearch}/pygame-%{version}*-info
+%{python_sitearch}/pygame-%{version}.dist-info
 
 %files %{python_files devel}
 %license docs/LGPL.txt

++++++ support-cython-3.3.0.patch ++++++
>From 4113984c90f8fe2acf93924fd60147071cb5c444 Mon Sep 17 00:00:00 2001
From: Lumir Balhar <[email protected]>
Date: Wed, 4 Nov 2026 08:06:14 +0100
Subject: [PATCH] Fix Cython 3.3 compatibility: remove illegal __dict__
 assignment in __cinit__

Cython 3.3.0 made accessing cdef __dict__ directly an error when the
attribute is declared in an extension type. The self.__dict__ = {}
initialization in Sprite.__cinit__ is now rejected. Removing it is safe
because Cython initializes the __dict__ slot automatically when
cdef dict __dict__ is declared.
---
 src_c/cython/pygame/_sprite.pyx | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src_c/cython/pygame/_sprite.pyx b/src_c/cython/pygame/_sprite.pyx
index 52d0c984c6..44cbbe8935 100644
--- a/src_c/cython/pygame/_sprite.pyx
+++ b/src_c/cython/pygame/_sprite.pyx
@@ -145,7 +145,6 @@ cdef class Sprite:
     cdef dict __dict__
 
     def __cinit__(self):
-        self.__dict__ = {}
         self.__g = set() # The groups the sprite is in
 
     def __init__(self, *groups):

Reply via email to