Skip to content

2.3.2

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Sep 17:58
bd6e38d

โ˜€๏ธ๐ŸŒŠ๐Ÿ–๏ธ๐Ÿ˜Ž๐Ÿ„๐Ÿš๐Ÿ๏ธ๐Ÿนโ˜€๏ธ๐ŸŒŠ๐Ÿ–๏ธ
pip uninstall pygame (if previously installed, to avoid package conflicts)
pip install pygame-ce --upgrade
โ˜€๏ธ๐ŸŒŠ๐Ÿ–๏ธ๐Ÿ˜Ž๐Ÿ„๐Ÿš๐Ÿ๏ธ๐Ÿนโ˜€๏ธ๐ŸŒŠ๐Ÿ–๏ธ

Hello and welcome to a shiny new bugfix release of pygame-ce! While we are working towards a 2.4.0 release, we thought it'd be nice to have a quick 2.3.2 with a couple of fixes and enhancements.

Bug fixes

  • New contributor @cyuria fixed a long standing and infamous bug in pygame.draw.arc in #2344 where arcs with widths would be incorrectly rendered with holes in between.
  • music.get_pos could segfault due to an internal zero division error, this has now been fixed by @oddbookworm in #2426
  • @ankith26 fixed a couple of overflow related bugs in mapped int color handling and improved the internal C API for it in #2349
  • @oddbookworm fixed a case of segfaulting in PixelArray in #2276
  • @Matiiss fixed Sound.__init__ incorrectly raising TypeError instead of FileNotFoundError for some inputs in #2381
  • @dr0id fixed copy.deepcopy support for Surface in #2394
  • @pmp-p fixed webassembly support of pygame.newbuffer and pygame.pixelarray in #2419 and #2413

Codebase fixes and robustness improvements

  • @pmp-p fixed compilation error when lseek64 is absent (like webassembly 32 bit mode) in #2410
  • @yunline replaced usage of PYGAMEAPI_DISPLAY_INTERNAL with the intended BUILD_STATIC in window.c in #2412
  • @dr0id added a lint warning ignore in locals.py to make the linter pass in #2393
  • @yunline bumped cython to 3.0.0 in #2395
  • @ankith26 bumped cibuildwheel in #2402 and as a result, this release now has wheels shipping for the python 3.12 release candidate, ready for the full release of Python 3.12 at the start of October!

Deprecation warnings

  • @bilhox fixed joystick doc and properly deprecated pygame.Joystick.init/get_id in #2363
  • @ankith26 deprecated passing out of range sequence lengths to colorspace setters in #2392

Unit-tests, typing and examples related improvements

New Contributors

Thanks all

Sincere thanks to everyone helping out! In addition to PR makers, as always we are thankful to the community at large and this includes issue reporters, PR reviewers, tutorial makers, admins/mods/helpers on various online forums, people who make helper libraries, and last but certainly not least, all our users including you: the person reading these notes!

If we've made a mistake in these notes, please get in touch with us to get a correction made.

Cya, have fun using pygame-ce!

Full Changelog: 2.3.1...2.3.2