2.3.2
โ๏ธ๐๐๏ธ๐๐๐๐๏ธ๐นโ๏ธ๐๐๏ธ
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 raisingTypeError
instead ofFileNotFoundError
for some inputs in #2381 - @dr0id fixed
copy.deepcopy
support forSurface
in #2394 - @pmp-p fixed webassembly support of
pygame.newbuffer
andpygame.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 intendedBUILD_STATIC
inwindow.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
- @dr0id fixed
ftfont
to pass same tests asfont
in #2180 - @Matiiss removed an unneeded
mixer
test skip in #2384 - @devdanzin fixed the rect typing with
Union[FRect, Rect]
insprite
in #2380 - @dr0id fixed
property
usage issues infont
stubs in #2358 - @ddorn fixed stubs for
Color.__getitem__
in #2391 - @yunline fixed a couple of typing issues in
Window
and also did some cleanups in #2366 - @ankith26 fixed minor issues in joystick and moveit examples in #2387
- @robertpfeiffer improved glcube example and display docs in #2038
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