Control: retitle -1 python3-pygame: should not assume that SDL minor version 
bump implies ABI break
Control: forwarded -1 https://github.com/pygame/pygame/issues/3427

On Thu, 25 Aug 2022 at 15:41:37 +0200, Antoine Le Gonidec wrote:
> When trying the bambam game on a Debian Sid, it fails to start with the
> following error:
...
> RuntimeError: SDL compiled with version 2.0.22, linked to 2.24.0

Either this check should only look at the major version, or it should be
removed completely in favour of letting the SONAME system do its job.
Please see the upstream issue report for more details.

If python3-pygame had an autopkgtest, even a superficial one that just
calls pygame.init() in an xvfb-run session, then that would have detected
this regression while SDL 2.23.x was in experimental, allowing this to be
fixed preemptively in unstable before SDL 2.24.x was released.

> Building the current pygame source against Debian Sid dev libraries
> produces a build that does not trigger this crash, so the fix is
> probably as simple as rebuilding the python3-pygame package without the
> need to tweak anything in its source.

This is only a workaround, not a fix. The same issue would come back as
soon as we upgrade SDL to 2.26.0.

    smcv

Reply via email to