Control: retitle -1 pygame: FTBFS: src_c/cython/pygame/_sprite.pyx:148:12: 
Illegal use of special attribute __dict__
Control: tags -1 + upstream
Control: forwarded -1 https://github.com/pygame/pygame/pull/4912

On Wed, 18 Nov 2026 at 18:00:44 +0000, Santiago Vila wrote:
During a rebuild of all packages in unstable, this package failed to build.

Let's have a more indicative title. I think the error is this, probably triggered by rebuilding with an updated version of cython:

Error compiling Cython file:
------------------------------------------------------------
...
    cdef public object image
    cdef public Rect rect
    cdef dict __dict__

    def __cinit__(self):
        self.__dict__ = {}
            ^
------------------------------------------------------------
src_c/cython/pygame/_sprite.pyx:148:12: Illegal use of special attribute 
__dict__

A fix appears to have been proposed in <https://github.com/pygame/pygame/pull/4912> (I have not reviewed this).

Reply via email to