Pygame

Latest version: v2.6.1

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 11

4.1.5

> Menu for pygame, simple, lightweight and easy to use

- github: https://github.com/ppizarror/pygame-menu
- url: https://pygame-menu.readthedocs.io/en/4.2.0/
- url: https://www.pygame.org/project/3165/8089

<a href=""><img width="100%" src="https://pygame-menu.readthedocs.io/en/4.2.0/_images/first_steps.png"></a>
<a href=""><img width="100%" src="https://www.pygame.org/thumb/a109f7a548bb496334444b2b463faa6f.png"></a>

---

Thanks for stopping by. Ciao!

2.26.4

As well as a number of bug fixes, this version includes a new version of SDL, which includes a number of improvements in areas like vsync, game controller support, audio quality, and IME text input support.

The release notes for the SDL 2.26.x series has more information
- https://github.com/libsdl-org/SDL/releases/tag/release-2.26.0
- https://github.com/libsdl-org/SDL/releases/tag/release-2.26.1
- https://github.com/libsdl-org/SDL/releases/tag/release-2.26.2
- https://github.com/libsdl-org/SDL/releases/tag/release-2.26.3
- https://github.com/libsdl-org/SDL/releases/tag/release-2.26.4

What's Changed

* 2.3.0 -> 2.4.0.dev1 by illume in https://github.com/pygame/pygame/pull/3760
* Fix docs for `cursors.Cursor.copy()` by MarcellPerger1 in https://github.com/pygame/pygame/pull/3762
* base: Remove pygame_parachute by illume in https://github.com/pygame/pygame/pull/3768
* mouse mouse_get_rel: Fix for SCALED by illume in https://github.com/pygame/pygame/pull/3769
* github: Remove unused files by illume in https://github.com/pygame/pygame/pull/3771
* buildconfig: SDL 2.26.4 by illume in https://github.com/pygame/pygame/pull/3770
* sysfont: Fix sysfont on macos on failure of fc-list by illume in https://github.com/pygame/pygame/pull/3772

2.6.0

🎉 &nbsp;🎈

<a href="https://github.com/pygame/pygame/issues" title="Please add issues here">Thanks</a>


<br><br><br>
<div align="right">
python -m pip install -U pygame==2.6.0
</div>
<br><br><br>


🎮🛸 - - - - 💥👾


* cleanup: New clang-format by illume in https://github.com/pygame/pygame/pull/4025
* Fix support for OpenBSD and NetBSD by aX0Rb in https://github.com/pygame/pygame/pull/4023
* include/pgplatform: Enable SSE42 again by illume in https://github.com/pygame/pygame/pull/4024
* github: Bump cibuildwheel to v2.15.0 by illume in https://github.com/pygame/pygame/pull/4027
* camera: Fix wrong ifdef placement for unix/macos by illume in https://github.com/pygame/pygame/pull/4030
* Added a minor check if config is correctly initialised by blackmambaza in https://github.com/pygame/pygame/pull/4029
* Updated the reST/themes/classic/elements html documention by blackmambaza in https://github.com/pygame/pygame/pull/4031
* Improved the security of temporary file creation in image tests by blackmambaza in https://github.com/pygame/pygame/pull/4032
* Reduced some complexity of if statements in buildconfig-setup, compilation help, and in opencv camera backend by blackmambaza in https://github.com/pygame/pygame/pull/4033
* github/workflows: apt has hicups, hold breath by illume in https://github.com/pygame/pygame/pull/4036
* base: pixelcopy: Some error cleanups by illume in https://github.com/pygame/pygame/pull/4035
* appveyor: Switch to pythons to 3.12.0 by illume in https://github.com/pygame/pygame/pull/4037
* manylinux: Bump SDL 2.28.4 by illume in https://github.com/pygame/pygame/pull/4040
* buildconfig/download_win_prebuilt: Bump SDL 2.28.4 by illume in https://github.com/pygame/pygame/pull/4041
* Minor improvements to tests by blackmambaza in https://github.com/pygame/pygame/pull/4039
* setup: Fix some MSCisms so MSYS2 can work better by illume in https://github.com/pygame/pygame/pull/4042
* Fix **go_over_there** example bug in Python 3.12 as per issue 4046 by llindstrom in https://github.com/pygame/pygame/pull/4048
* Update PygameIntro.rst by kcivin in https://github.com/pygame/pygame/pull/4055
* Add comment to surf_copy by nkSunUow in https://github.com/pygame/pygame/pull/4057
* Update event.rst by butlerch in https://github.com/pygame/pygame/pull/4073
* Polygon large coordinate test cases for issue3989 by u7156704 in https://github.com/pygame/pygame/pull/4056
* format fixes by illume in https://github.com/pygame/pygame/pull/4075
* Update README.rst by Thunderborne in https://github.com/pygame/pygame/pull/4071
* github/workflows/stale: Mark issues/PRs as stale after a time by illume in https://github.com/pygame/pygame/pull/4076
* setup: Add python 3.12 classifier metadata by illume in https://github.com/pygame/pygame/pull/4077
* github/workflows/build-ubuntu-sdist: Add apt-get fix-missing back by illume in https://github.com/pygame/pygame/pull/4080
* github/workflows/build-ubuntu-sdist: Publish sdist to pypi on publish by illume in https://github.com/pygame/pygame/pull/4081
* Remove references to Numeric in the documentation by rpep in https://github.com/pygame/pygame/pull/4095
* Minor update to coding example in 3.1 by chpauline in https://github.com/pygame/pygame/pull/4101
* sprite: fix words repetition by Paciupa in https://github.com/pygame/pygame/pull/4136
* Skip surface tests that fail when `SDL_VIDEODRIVER=dummy` by emilytrau in https://github.com/pygame/pygame/pull/4169
* Fix failing `python3 setup.py lint` by cclauss in https://github.com/pygame/pygame/pull/4179
* Keep GitHub Actions up to date with GitHub's Dependabot by cclauss in https://github.com/pygame/pygame/pull/4178
* build-ubuntu-sdist.yml: apt-update but not upgrade by cclauss in https://github.com/pygame/pygame/pull/4187
* build(deps): bump actions/setup-python from 3 to 5 by dependabot in https://github.com/pygame/pygame/pull/4182
* build(deps): bump uraimo/run-on-arch-action from 2.3.0 to 2.7.1 by dependabot in https://github.com/pygame/pygame/pull/4184
* examples/testsprite: Fix in an update method to match super class by illume in https://github.com/pygame/pygame/pull/4189
* camera: buildconfig: Remove experimental camera_windows by illume in https://github.com/pygame/pygame/pull/4192
* buildconfig/appveyor: Fix sphinx install to hardcode dep by illume in https://github.com/pygame/pygame/pull/4193
* buildconfig/macdependencies glib: Fix build by illume in https://github.com/pygame/pygame/pull/4190
* `python3 setup.py lint` is deprecated: Let's lint with `pre-commit` by cclauss in https://github.com/pygame/pygame/pull/4200
* Added generics to abstract group for IDE completion by Lukasgrat in https://github.com/pygame/pygame/pull/4119
* Refactored tests for pygame.Surface.blits in test/blit.py by chpauline in https://github.com/pygame/pygame/pull/4122
* sprite: Fix formatting by illume in https://github.com/pygame/pygame/pull/4206
* Remove lint logic from setup.py by cclauss in https://github.com/pygame/pygame/pull/4201
* setup: Fix platform.linux_distribution() deprecated python >= 3.7 by illume in https://github.com/pygame/pygame/pull/4205
* Update ftfont.py by thatsaksyguy in https://github.com/pygame/pygame/pull/4113
* build(deps): bump actions/cache from 3.0.2 to 4.0.2 by dependabot in https://github.com/pygame/pygame/pull/4185
* build(deps): bump actions/stale from 8 to 9 by dependabot in https://github.com/pygame/pygame/pull/4196
* pre-commit: Lint Python code with Ruff by cclauss in https://github.com/pygame/pygame/pull/4207
* build(deps): bump actions/checkout from 3.0.2 to 4.1.2 by dependabot in https://github.com/pygame/pygame/pull/4186
* pre-commit: Find and fix typos with codespell by cclauss in https://github.com/pygame/pygame/pull/4208
* Minor optimizations by using comprehensions by cclauss in https://github.com/pygame/pygame/pull/4209
* buildconfig module cleanup by henserobbie in https://github.com/pygame/pygame/pull/4211
* build(deps): bump pypa/cibuildwheel from 2.16.1 to 2.17.0 by dependabot in https://github.com/pygame/pygame/pull/4183
* simple test case for camera by Alihyp in https://github.com/pygame/pygame/pull/4112
* camera: Add camera_test by illume in https://github.com/pygame/pygame/pull/4213
* mixer_test: Add def test_queue by illume in https://github.com/pygame/pygame/pull/4214
* Refactored test from 3989 to work correctly and also apply to 4191 and fixed the bug being tested by dillon-duff in https://github.com/pygame/pygame/pull/4215
* build(deps): bump uraimo/run-on-arch-action from 2.7.1 to 2.7.2 by dependabot in https://github.com/pygame/pygame/pull/4219
* build(deps): bump actions/checkout from 4.1.2 to 4.1.5 by dependabot in https://github.com/pygame/pygame/pull/4229
* Fix pygame.camera backend detection on Windows Server by andrigamerita in https://github.com/pygame/pygame/pull/4221
* setup: Filter out warnings by illume in https://github.com/pygame/pygame/pull/4231
* setup: Add Fedora compile links by illume in https://github.com/pygame/pygame/pull/4232
* setup: Fix cython compilation for setup.py install by illume in https://github.com/pygame/pygame/pull/4233
* buildconfig: Add fallback to portmidi if porttime is not found by illume in https://github.com/pygame/pygame/pull/4235
* pypm: Fix incorrect param in Pm_OpenInput by illume in https://github.com/pygame/pygame/pull/4236
* test: Fix numpy.alltrue imports to import all instead thanks mgorny by illume in https://github.com/pygame/pygame/pull/4240
* build(deps): bump actions/checkout from 4.1.5 to 4.1.6 by dependabot in https://github.com/pygame/pygame/pull/4251
* Documentation spelling improvements by PycraftDeveloper in https://github.com/pygame/pygame/pull/4247
* sndarray_test: Fix some overflowed data sizes by illume in https://github.com/pygame/pygame/pull/4254
* surfarray_test: Fix for value out of uint32 range by illume in https://github.com/pygame/pygame/pull/4255
* updating type hinting for SysFont by JovialKnoll in https://github.com/pygame/pygame/pull/4261
* docs: DisplayModes: Add display argument to pygame.display.list_modes() and pygame.display.mode_ok() by chpauline in https://github.com/pygame/pygame/pull/4103
* docs: SpriteIntro: Fix some grammar by journpy in https://github.com/pygame/pygame/pull/4216
* README.rst: Fix link to pyhon.org by jeloge in https://github.com/pygame/pygame/pull/4223
* docs: SpriteIntro: Fix some grammar by journpy in https://github.com/pygame/pygame/pull/4217
* Updated Getting Started Doc by joshgelber in https://github.com/pygame/pygame/pull/4121
* Remove duplicated block of code from documentation by douglasdcm in https://github.com/pygame/pygame/pull/4087
* Support collide_mask as collided argument in spritecollide by ZeroWave022 in https://github.com/pygame/pygame/pull/4090
* docs: SpriteIntro: Fix collide functions arg "collided" default by chpauline in https://github.com/pygame/pygame/pull/4104
* docs: DisplayModes: Fix description of width, and height default with set_mode and document display by chpauline in https://github.com/pygame/pygame/pull/4102
* mixer_test: mixer_music_test: Add test for sound_from_array and rewind by romgird2 in https://github.com/pygame/pygame/pull/4084
* mixer_test: mixer_music_test: Add test for sound_from_array and rewind by illume in https://github.com/pygame/pygame/pull/4266
* mixer_test: Add skip for test failing on msys2 by illume in https://github.com/pygame/pygame/pull/4267
* Added unit tests for music_mixer.py by andemar3 in https://github.com/pygame/pygame/pull/4127
* README.rst: Improve contributing section and formatting by son1ong in https://github.com/pygame/pygame/pull/4120
* Inline _PyArg_NoKeywords from Python 3.13 in case it is missing by hroncok in https://github.com/pygame/pygame/pull/4269
* Python the 13th by illume in https://github.com/pygame/pygame/pull/4270


New Contributors

* aX0Rb made their first contribution in https://github.com/pygame/pygame/pull/4023
* blackmambaza made their first contribution in https://github.com/pygame/pygame/pull/4029
* kcivin made their first contribution in https://github.com/pygame/pygame/pull/4055
* nkSunUow made their first contribution in https://github.com/pygame/pygame/pull/4057
* butlerch made their first contribution in https://github.com/pygame/pygame/pull/4073
* u7156704 made their first contribution in https://github.com/pygame/pygame/pull/4056
* Thunderborne made their first contribution in https://github.com/pygame/pygame/pull/4071
* rpep made their first contribution in https://github.com/pygame/pygame/pull/4095
* chpauline made their first contribution in https://github.com/pygame/pygame/pull/4101
* Paciupa made their first contribution in https://github.com/pygame/pygame/pull/4136
* emilytrau made their first contribution in https://github.com/pygame/pygame/pull/4169
* Lukasgrat made their first contribution in https://github.com/pygame/pygame/pull/4119
* thatsaksyguy made their first contribution in https://github.com/pygame/pygame/pull/4113
* henserobbie made their first contribution in https://github.com/pygame/pygame/pull/4211
* Alihyp made their first contribution in https://github.com/pygame/pygame/pull/4112
* dillon-duff made their first contribution in https://github.com/pygame/pygame/pull/4215
* andrigamerita made their first contribution in https://github.com/pygame/pygame/pull/4221
* PycraftDeveloper made their first contribution in https://github.com/pygame/pygame/pull/4247
* journpy made their first contribution in https://github.com/pygame/pygame/pull/4216
* jeloge made their first contribution in https://github.com/pygame/pygame/pull/4223
* joshgelber made their first contribution in https://github.com/pygame/pygame/pull/4121
* douglasdcm made their first contribution in https://github.com/pygame/pygame/pull/4087
* ZeroWave022 made their first contribution in https://github.com/pygame/pygame/pull/4090
* romgird2 made their first contribution in https://github.com/pygame/pygame/pull/4084
* andemar3 made their first contribution in https://github.com/pygame/pygame/pull/4127
* son1ong made their first contribution in https://github.com/pygame/pygame/pull/4120
* hroncok made their first contribution in https://github.com/pygame/pygame/pull/4269

2.6.0.dev2

Not secure
🎮🛸 - - - - 💥👾

> This is a pre-release only for testing.


python -m pip install pygame==2.6.0.dev2



https://github.com/pygame/pygame/issues

2.5.2

Not secure
Ye olde bug fix release. Yee haw!

Find an issue? https://github.com/pygame/pygame/issues

Some libSDL related bug fixes

- Added a gamepad mapping for the G-Shark GS-GP702
- Fixed touchpad events for the Razer Wolverine V2 Pro in PS5 mode
- Fixed getting key events from TV remotes on Android
- Updated to Android minSdkVersion 19 and targetSdkVersion 34 to meet Google Play Store requirements


What's Changed

* Fix white bar in docs by MarcellPerger1 in https://github.com/pygame/pygame/pull/3986
* manylinux: Fix sdl version typo by illume in https://github.com/pygame/pygame/pull/3987
* include: rect: C API docs for Rect by illume in https://github.com/pygame/pygame/pull/3990
* draw: Fix arc width > 1 so it doesn't have gaps by illume in https://github.com/pygame/pygame/pull/3991
* setup: tox: Add 31 and 32 to list of pythons by illume in https://github.com/pygame/pygame/pull/3994
* docs: c_api/rect: Fix return code for pgRect_Check by illume in https://github.com/pygame/pygame/pull/3996
* setup: src_c: Require Cython to generate source files in dev by illume in https://github.com/pygame/pygame/pull/3995
* Added import information in camera and sdl2 controller modules docs by AsaadAreeb in https://github.com/pygame/pygame/pull/4001
* Fix: Grammatical Error in MoveIt.rst by Jay7221 in https://github.com/pygame/pygame/pull/4002
* examples: Fix music_drop_fade with type checker by illume in https://github.com/pygame/pygame/pull/4003
* stubs: Add pygame.__version__ to type stubs by illume in https://github.com/pygame/pygame/pull/4004
* gitignore: Add cython generated files to ignore list by illume in https://github.com/pygame/pygame/pull/4005
* examples/midi: Refactor to fix typing issues by illume in https://github.com/pygame/pygame/pull/4006
* display set_mode: Remove SDL_WINDOW_FULLSCREEN_DESKTOP by illume in https://github.com/pygame/pygame/pull/4007
* buildconfig/manylinux: Bump SDL 2.28.3 by illume in https://github.com/pygame/pygame/pull/4008
* docs: Fix READMEs with a good Sphinx version by illume in https://github.com/pygame/pygame/pull/4010
* buildconfig: Bump SDL 2.28.3 for windows by illume in https://github.com/pygame/pygame/pull/4009
* buildconfig manylinux: Bump libwebp to 1.3.2 by illume in https://github.com/pygame/pygame/pull/4011

New Contributors
* AsaadAreeb made their first contribution in https://github.com/pygame/pygame/pull/4001
* Jay7221 made their first contribution in https://github.com/pygame/pygame/pull/4002

2.5.1

Not secure
This is a bug fix release.

Some libSDL related bug fixes

* Fixed occasionally failing to open the clipboard on Windows
* Fixed crash at shutdown when using the D3D11 renderer
* Fixed setting the viewport when using the D3D12 renderer
* Fixed crash using SDL event functions before initializing SDL on Windows
* Fixed Xbox controller trigger motion events on Windows
* Fixed Xbox controller rumble in the background on Windows
* Added the hint SDL_HINT_JOYSTICK_WGI to control whether to use Windows.Gaming.Input for controllers
* Fixed 8BitDo gamepad mapping when in XInput mode on Linux
* Fixed controller lockup initializing some unofficial PS4 replica controllers
* Fixed video initialization on headless Linux systems using VNC
* Fixed large mouse jump when changing relative mouse mode on macOS
* Fixed hardware keyboard text input on iPadOS
* Added support for the Nintendo Online Famicom controllers
* Improved support for third-party Nintendo Switch controllers
* Fixed setting the player LED on Nintendo Switch controllers
* Added Linux controller mapping for the Logitech Chillstream
* Fixed appending to a file greater than 4GB in size on Windows


What's Changed

* 2.5.0 -> 2.6.0.dev1 by illume in https://github.com/pygame/pygame/pull/3937
* time: Fix for set timer again by illume in https://github.com/pygame/pygame/pull/3944
* Mac dependency improvements by illume in https://github.com/pygame/pygame/pull/3943
* mixer_music: Fix flaky test by illume in https://github.com/pygame/pygame/pull/3945
* Fix small typo in `aliens.py` by kxkw in https://github.com/pygame/pygame/pull/3950
* Mark functions as noexcept to support Cython 3 by matusvalo in https://github.com/pygame/pygame/pull/3956
* fix a typo by The-Ducks-Code in https://github.com/pygame/pygame/pull/3953
* _sdl2: Regenerate cython c files with 3.0.0.rc2 by illume in https://github.com/pygame/pygame/pull/3957
* Fix grammatical mistakes in documentation by Adithyan-cb in https://github.com/pygame/pygame/pull/3951
* buildconfig: Bump SDL 2.28.1 for windows by illume in https://github.com/pygame/pygame/pull/3965
* Implemented some unittests in mixer_test.py by BeXXsoR in https://github.com/pygame/pygame/pull/3967
* buildconfig: manylinux: Bump SDL 2.28.1 by illume in https://github.com/pygame/pygame/pull/3966
* display C API docs by illume in https://github.com/pygame/pygame/pull/3972
* Fix typos in Vector check error messages by shadowFAQs in https://github.com/pygame/pygame/pull/3975
* Removed the unused global score variable by alroyer in https://github.com/pygame/pygame/pull/3973
* Improved documentation: how to check if python and pip are installed by TimotheeMarreroMeyer in https://github.com/pygame/pygame/pull/3979
* buildconfig: manylinux: Bump SDL 2.28.2 by illume in https://github.com/pygame/pygame/pull/3981
* Surface C API docs by illume in https://github.com/pygame/pygame/pull/3980
* buildconfig: Bump SDL 2.28.2 for windows by illume in https://github.com/pygame/pygame/pull/3982
* Fixed some minor grammatical issues; by osborneandrewj in https://github.com/pygame/pygame/pull/3983

New Contributors

* kxkw made their first contribution in https://github.com/pygame/pygame/pull/3950
* matusvalo made their first contribution in https://github.com/pygame/pygame/pull/3956
* The-Ducks-Code made their first contribution in https://github.com/pygame/pygame/pull/3953
* Adithyan-cb made their first contribution in https://github.com/pygame/pygame/pull/3951
* BeXXsoR made their first contribution in https://github.com/pygame/pygame/pull/3967
* shadowFAQs made their first contribution in https://github.com/pygame/pygame/pull/3975
* alroyer made their first contribution in https://github.com/pygame/pygame/pull/3973
* TimotheeMarreroMeyer made their first contribution in https://github.com/pygame/pygame/pull/3979
* osborneandrewj made their first contribution in https://github.com/pygame/pygame/pull/3983

Page 1 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.