Description of problem: SDL version against which pygame is compiled doesn't match SDL version of distro. How reproducible: Always Steps to Reproduce: 1. python -c "import pygame; pygame.init()" Actual results: crash. with message: RuntimeError: SDL compiled with version 2.24.0, linked to 2.26.0 Expected results: pygame.init() would initialize pygame... ? Additional info: Python 3.10.9 (main, Dec 7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pygame pygame 2.1.2 (SDL 2.26.0, Python 3.10.9) Hello from the pygame community. https://www.pygame.org/contribute.html >>> pygame.__version__ '2.1.2' >>> pygame.init() Traceback (most recent call last): File "<stdin>", line 1, in <module> RuntimeError: SDL compiled with version 2.24.0, linked to 2.26.0 rpm -qa python3-pygame python3-pygame-2.1.2-6.fc36.x86_64 $ rpm -qa SDL2 SDL2-2.26.0-1.fc36.x86_64 SDL2-2.26.0-1.fc36.i686 $ cat /etc/fedora-release Fedora release 36 (Thirty Six)
FEDORA-2023-8b0994006c has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8b0994006c
I just tested build from https://bodhi.fedoraproject.org/updates/FEDORA-2023-8b0994006c https://koji.fedoraproject.org/koji/buildinfo?buildID=2139848 and issue is there no longer present: $ python -c "import pygame; pygame.init()" pygame 2.1.2 (SDL 2.26.0, Python 3.10.9) Hello from the pygame community. https://www.pygame.org/contribute.html burlak@andrejBackup $
FEDORA-2023-8b0994006c has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-8b0994006c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8b0994006c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-8b0994006c has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.