2.0.3 - the many many manylinux M1 && good bye SDL1 goodbye py2 release
🍂🍊🌰🥮🥧🌆🌇🔥🎃🎑🏮🍂🍊🍂🥮🌰🎃🥮
🥮 python3 -m pip install pygame==2.0.3
🍊🍂🥮🌰🥧🌇🔥🌆🎃🏮🍂🍊🏮🍂🥮🌰🥧🥮
Goodbye python 2, goodbye SDL 1.
Firstly, everyone raise their glasses for python 2. This will (probably) be our last python 2 supporting release. From your weird unicode, to your print
statement that didn't need ()
. We will miss you, but we will always remember you.
Secondly, raise a second glass (at the same time!) for SDL1. Oh, SDL 1.2.x how great it was to know you and use you on dead platforms like BeOS and DOS, with your now exotic features like cdrom support. So many pixels, so many sound waves. You stuck around with us several years after retirement, and for that we thank you. SDL 1, take your gold watch and enjoy your retro computing nostalgia after-life.
The python 2 wheels will still be there, and you can still use SDL1 through the pygame 1.9.6 wheels if you need. But it's time for us to move on.
You can stop raising your glasses now. Onto the goodies!
Here we go...
There's lots of build improvements in here, including support for M1 macs and much better linux support (fullscreen and multi touch is working!). There's some regression fixes including on pygame.time.set_timer
and when compiling from source on older linux distros. New in here is a loops
keyword argument has been added to mixer.music.queue
. The Camera module got some further improvements removing some unused legacy code and some code cleanups.
One very cool highlight is that are UCS4 unicode (including emoji) rendering is working. Rendering emoji and some other human languages is now possible!
We now have much better error newbie friendly messages for image/resource loading issues. Which should help people when they make typos or path issues when loading images. This is a common problem for newbies, so it's a really nice improvement.
A bunch of difficult bugs were fixed, and python 3.10 wheels for manylinux (which were accidentally forgotten in the 2.0.2 release). There were also some docs improvements for the new Cursor
class and get_desktop_sizes
function as well as some type improvements for the experimental _sdl2
modules.
On mac and linux we are using libjpegturbo
, so on those platforms jpeg loading should be smoking fast. Additionally lots of our dependencies on mac and linux have been improved (and they share the same build scripts now). Things like fluidsynth
being actually compiled in and support for the opus sound files being compiled in properly.
What's Changed
Here's what we have in this release for you in a bit more detail. If you want ALL the details please scroll to the bottom to see the full commits and code diffs.
... (truncated)