This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
fix(deps): update dependency pygame-ce to v2.5.0 #75
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.4.1
->2.5.0
Release Notes
pygame-community/pygame-ce (pygame-ce)
v2.5.0
Compare Source
☀️🌊🏖️😎🏄🐚🌈🏝️🍹☀️🌊🏖️🎉
pip uninstall pygame
(if previously installed, to avoid package conflicts)pip install pygame-ce --upgrade
☀️🌊🏖️😎🏄🐚🌈🏝️🍹☀️🌊🏖️🎉
This release, coming in just four months after the previous one, has been possible due to patches submitted by over 30 contributors, who have collectively made over 132 pull requests with 464 commits that touch 413 files! Impressive!
Now, onto the highlights!
Highlights
API updates
@damusss
mouse.get_just_[pressed|released]
in https://github.com/pygame-community/pygame-ce/pull/2836display.[get|set]_window_position
in https://github.com/pygame-community/pygame-ce/pull/2816(F)Rect
can be initialized with no arguments in https://github.com/pygame-community/pygame-ce/pull/2655@whydoubt added the
pitch
argument forimage.tobytes
in https://github.com/pygame-community/pygame-ce/pull/2602@XFajk added
Color.from_normalized
constructor andColor.normalized
property in https://github.com/pygame-community/pygame-ce/pull/2693@mzivic7 added
draw.aacircle
in https://github.com/pygame-community/pygame-ce/pull/2800@itzpr3d4t0r added
transform.hsl
in https://github.com/pygame-community/pygame-ce/pull/2398@ScriptLineStudios implemented a few convenience properties to
Surface
class:Surface.width
,Surface.height
andSurface.size
in https://github.com/pygame-community/pygame-ce/pull/2813@bilhox added
math.invlerp
andmath.remap
in https://github.com/pygame-community/pygame-ce/pull/2654@ankith26 added
mixer.get_driver
in https://github.com/pygame-community/pygame-ce/pull/2741SIMD Performance enhancements
@Starbuck5 improved performance of SSE2
no_surf_alpha_opaque_dst
blitter in https://github.com/pygame-community/pygame-ce/pull/2601 and https://github.com/pygame-community/pygame-ce/pull/2896. As a result of this PR, some kinds of blit operations should get a nice speed up (upto about 2.5x speedup on the testcases we used) on some hardware.@itzpr3d4t0r
Surface.premul_alpha
in https://github.com/pygame-community/pygame-ce/pull/2615@MyreMylar added SIMD versions
transform.invert
in https://github.com/pygame-community/pygame-ce/pull/2534. This gives a significant performance boost, and in the example we tested, we have observed a 12x-13x speedup!More
pygame.geometry
goodiesThe recently introduced experimental
pygame.geometry
submodule has gotten more features and polish in this release in the PRs: https://github.com/pygame-community/pygame-ce/pull/2561, https://github.com/pygame-community/pygame-ce/pull/2660, https://github.com/pygame-community/pygame-ce/pull/2634, https://github.com/pygame-community/pygame-ce/pull/2662, https://github.com/pygame-community/pygame-ce/pull/2661, https://github.com/pygame-community/pygame-ce/pull/2709, https://github.com/pygame-community/pygame-ce/pull/2791, https://github.com/pygame-community/pygame-ce/pull/2732, https://github.com/pygame-community/pygame-ce/pull/2731A big thanks to everyone who contributed to pygame-geometry so far: @Emc2356, @itzpr3d4t0r, @novialriptide, @ScriptLineStudios, @avaxar, @gresm, @Matiiss, @newpaxonian, @maqa41, and @blankRiot96
As with all experimental submodules, do remember that things in here are subject to change, and there are a lot more things to be added! See the docs for the current progress.
Other general highlights
@oddbookworm added
opengl
support to the experimentalpygame.Window
interface in https://github.com/pygame-community/pygame-ce/pull/2659@ankith26 added Wayland and PipeWire support in the linux wheels distributed by us in https://github.com/pygame-community/pygame-ce/pull/1997 and https://github.com/pygame-community/pygame-ce/pull/2733
@ankith26 rewrote the build machinery in the
meson
buildsystem, while deprecating the old build machinery in the PRs https://github.com/pygame-community/pygame-ce/pull/2557, https://github.com/pygame-community/pygame-ce/pull/2803, https://github.com/pygame-community/pygame-ce/pull/2853, https://github.com/pygame-community/pygame-ce/pull/2856, https://github.com/pygame-community/pygame-ce/pull/2875, https://github.com/pygame-community/pygame-ce/pull/2854, https://github.com/pygame-community/pygame-ce/pull/2831, https://github.com/pygame-community/pygame-ce/pull/2779. As part of these changes, a few improvements are:Deprecations and Removals
@Starbuck5 removed the
pygame.threads
submodule in https://github.com/pygame-community/pygame-ce/pull/2762@oddbookworm re-added and properly deprecated the
blend
argument ofdraw.aaline
in https://github.com/pygame-community/pygame-ce/pull/2743Performance Enhancements
In addition to those mentioned above that are SIMD-related
@itzpr3d4t0r
(F)Rect.unionall(_ip)
in https://github.com/pygame-community/pygame-ce/pull/2784(F)Rect.collideXX
family of methods in https://github.com/pygame-community/pygame-ce/pull/2786Bug fixes
@oddbookworm added shim to fix broken
midi
module compilation in https://github.com/pygame-community/pygame-ce/pull/2863@ankith26
window
API in https://github.com/pygame-community/pygame-ce/pull/2860PixelArray
usage in https://github.com/pygame-community/pygame-ce/pull/2742General Enhancements
@Kn4ughty made error messages for using
font
align clearer in https://github.com/pygame-community/pygame-ce/pull/2777@pmp-p ensured we keep supporting pygame on the web in
METH_NOARGS
arg missing in https://github.com/pygame-community/pygame-ce/pull/2888@damusss
transform
blur on a surface with either width or height equal to 0 not raiseValueError
in https://github.com/pygame-community/pygame-ce/pull/2852@Starbuck5 added a
briefcase
template to pygame-ce in https://github.com/pygame-community/pygame-ce/pull/2862@RainRat fixed typos across the repository in https://github.com/pygame-community/pygame-ce/pull/2847
@robertpfeiffer relax
Surface.convert
conditions in https://github.com/pygame-community/pygame-ce/pull/2839, now it is no longer a requirement to have calleddisplay.set_mode
when this method has been invoked with a@oddbookworm removed the xwayland warning and ensured that debug info now contains whether x11 is running or xwayland in https://github.com/pygame-community/pygame-ce/pull/2823
Examples and Unit tests
@snowfruit added an example for retro scaling in https://github.com/pygame-community/pygame-ce/pull/2785
@Matiiss removed undefined variable in
aliens.py
in https://github.com/pygame-community/pygame-ce/pull/2769@Starbuck5 fixed
ftfont_test
being run directly in https://github.com/pygame-community/pygame-ce/pull/2763@MyreMylar
@ankith26
Docs, Tutorials and typestubs
@lispspb
get_power_state
in https://github.com/pygame-community/pygame-ce/pull/2734mixer
docs in https://github.com/pygame-community/pygame-ce/pull/2738@kritserv fixed an issue in
pygame.display.get_caption
docs in https://github.com/pygame-community/pygame-ce/pull/2765@yohanmoon added instructions for resolving setuptools issue in the docs readme in https://github.com/pygame-community/pygame-ce/pull/2868
@Matiiss added more
/
(positional-only notation) to docs and stubs in https://github.com/pygame-community/pygame-ce/pull/2691@oddbookworm fixed indentation of surface attributes in https://github.com/pygame-community/pygame-ce/pull/2900
@ankith26 did some minor docs/stubs improvements in
invlerp
/remap
in https://github.com/pygame-community/pygame-ce/pull/2902@Starbuck5 added warning about 7.1 stereo on
set_source_location
in https://github.com/pygame-community/pygame-ce/pull/2881@MyreMylar
print_debug_info()
in issue template in https://github.com/pygame-community/pygame-ce/pull/2879Code quality and robustness
@cclauss
setup.py
in https://github.com/pygame-community/pygame-ce/pull/2796setup.py
: Properly add_sdl2_data_files
todata_files
in https://github.com/pygame-community/pygame-ce/pull/2770@Lumiobyte fix a comment typo in
rect_impl.h
in https://github.com/pygame-community/pygame-ce/pull/2658@Matiiss reduced redundancy in
surface.fblits
code and handled generator exception in https://github.com/pygame-community/pygame-ce/pull/2679@oddbookworm applied formatting updates using newest version of clang-format in https://github.com/pygame-community/pygame-ce/pull/2744
@itzpr3d4t0r
@Starbuck5
rwobject.c
file object methods in https://github.com/pygame-community/pygame-ce/pull/2717HasColorKey
beforeGetColorKey
in https://github.com/pygame-community/pygame-ce/pull/2835 and https://github.com/pygame-community/pygame-ce/pull/2844@ankith26
.editorconfig
duplicates, re-add in project root with updates in https://github.com/pygame-community/pygame-ce/pull/2788Dependencies, DevOps and CI
@cclauss helped us improve our DevOps and CI
python3 setup.py lint
is deprecated: Let's lint withpre-commit
in https://github.com/pygame-community/pygame-ce/pull/2772build-on-msys2.yml
: Upgrade GitHubactions/checkout@v4
in https://github.com/pygame-community/pygame-ce/pull/2812@Starbuck5 continued working on changes that make our code ready for SDL3
transform.scale
: softstretch SDL2/SDL3 compat in https://github.com/pygame-community/pygame-ce/pull/2707freetype
,surface
andmouse
in https://github.com/pygame-community/pygame-ce/pull/2838[Bytes|Bits]PerPixel
compat in SDL3 in https://github.com/pygame-community/pygame-ce/pull/2804@ankith26
python -m docs
dev time convenience command in https://github.com/pygame-community/pygame-ce/pull/2889@MyreMylar altered our CODEOWNERS file to switch required PR review team in https://github.com/pygame-community/pygame-ce/pull/2873
@Matiiss, @oddbookworm, and @Starbuck5 kept our
SDL
dependency updated in https://github.com/pygame-community/pygame-ce/pull/2689, https://github.com/pygame-community/pygame-ce/pull/2690, https://github.com/pygame-community/pygame-ce/pull/2705, https://github.com/pygame-community/pygame-ce/pull/2761, https://github.com/pygame-community/pygame-ce/pull/2806, https://github.com/pygame-community/pygame-ce/pull/2837@dependabot kept all our CI dependencies updated in https://github.com/pygame-community/pygame-ce/pull/2814, https://github.com/pygame-community/pygame-ce/pull/2809, https://github.com/pygame-community/pygame-ce/pull/2767, https://github.com/pygame-community/pygame-ce/pull/2755, https://github.com/pygame-community/pygame-ce/pull/2756, https://github.com/pygame-community/pygame-ce/pull/2754, https://github.com/pygame-community/pygame-ce/pull/2747, https://github.com/pygame-community/pygame-ce/pull/2746, https://github.com/pygame-community/pygame-ce/pull/2736, https://github.com/pygame-community/pygame-ce/pull/2730, https://github.com/pygame-community/pygame-ce/pull/2683, https://github.com/pygame-community/pygame-ce/pull/2628, https://github.com/pygame-community/pygame-ce/pull/2874, https://github.com/pygame-community/pygame-ce/pull/2861, https://github.com/pygame-community/pygame-ce/pull/2851, https://github.com/pygame-community/pygame-ce/pull/2833
@Starbuck5 and @ankith26 kept them releases coming in at https://github.com/pygame-community/pygame-ce/pull/2631, https://github.com/pygame-community/pygame-ce/pull/2817, https://github.com/pygame-community/pygame-ce/pull/2818, https://github.com/pygame-community/pygame-ce/pull/2903, https://github.com/pygame-community/pygame-ce/pull/2904, https://github.com/pygame-community/pygame-ce/pull/2921
New Contributors
This release we have had 11 new contributors, special thanks to everyone getting started!
In addition, we're also inviting 2 new members to the contributor team: @damusss and @gresm! Members of the team have more permissions and more responsibilities, as regular reviewers: https://github.com/pygame-community/pygame-ce/wiki/Becoming-a-Reviewer#becoming-a-regular-reviewer
Thanks all
A sincere thank you to everyone involved! This involves not only the PR makers but also to the broader community which includes issue reporters, PR reviewers, tutorial creators, admins/mods/helpers across various online platforms, individuals developing helper libraries, and most importantly, all our users – including you, the reader of these notes!
Apologies in advance if we've made an error in these notes, and please get in touch with us to get a correction made.
Until next time, take care, and enjoy pygaming!
Full Changelog: pygame-community/pygame-ce@2.4.1...2.5.0
Configuration
📅 Schedule: Branch creation - "on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.