Pygame

Latest version: v2.6.1

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

Scan your dependencies

Page 7 of 11

2.0.0.dev22

Not secure
Several very difficult to find and fix issues with alpha blending were fixed in this release.
- [First pass at backwards compatible pygame alpha blit](https://github.com/pygame/pygame/pull/2213) by MyreMylar

The new alpha blitter has an SSE2 and arm NEON implementation, and keeps compatibility with pygame 1.

Also some progress on other issues, including these...

- [Fix twitchy key tests on raspi](https://github.com/pygame/pygame/pull/2234) by ankith26
- [Better unit tests for event module](https://github.com/pygame/pygame/pull/2236) by ankith26
- [Fix messed up SSE 4.2 removal](https://github.com/pygame/pygame/pull/2233)

2.0.0.dev20

Not secure
- [Disable SSE 4.2 stuff because it does not do runtime detection on old CPUs.](https://github.com/pygame/pygame/pull/2228)
- [Use manylinux2010 for pypy and manylinux1 for other pythons](https://github.com/pygame/pygame/pull/2229)
- [Doc updates (SDL2 -> pygame 2)](https://github.com/pygame/pygame/pull/2211) by ankith26
- [Fix pygame.midi so tests and example runs on py3 and py2](https://github.com/pygame/pygame/pull/2230)

2.0.0.dev18

Not secure
This is a small bugfix release to fix a problem with installing pygame from source code.

If 2.0.0.dev16 worked for you, there's no need to upgrade.

2.0.0.dev16

Not secure
The 28<sup>th</sup> of October 2020 will be the [pygame](https://pygame.org/wiki/about) 2.0 release date, because pygame turns 20 years of age. Save the date (maybe we'll do something)!

We reached two important milestones with this pre-release. Firstly the old game 'solarwolf' is working fine with no known issues on pygame 2. The second stone we passed by on the road to [PyPy](https://www.pypy.org/) goodness is that we are releasing binary wheels for PyPy on mac, windows, and linux. PyPy is a different implementation of python that is highly compatible and can be extremely fast.

Here's a little [youtube video of solarwolf on PyPy and SDL2](http://www.youtube.com/watch?v=j8EWruyKYZc)...
[![solarwolf on SDL2 and pypy](http://img.youtube.com/vi/j8EWruyKYZc/0.jpg)](http://www.youtube.com/watch?v=j8EWruyKYZc "solarwolf on pypy and SDL2")

> If you watched the video to the end, you'll note there's a crash. We still have some way to go before everything in pygame is working with PyPy. "solarwolf" using cpython and pygame 2 is running deliciously and glitch free.


Critical backwards compatibility fixes for pygame 2

First up, some 'critical' improvements that have been made to pygame. 'critical' labeled issues are ones are backwards incompatible issues stopping a pygame 2 release.


Dan Lawrence MyreMylar
- [Making RLE flags & RLE behaviour more consistent between pygame 1 and pygame 2](https://github.com/pygame/pygame/pull/2189), so that a lot more types of surfaces draw correctly and that "solarwolf" works really nicely.

Ankith ankith26
- [Fix repeated VIDEOEXPOSE events](https://github.com/pygame/pygame/pull/2161), so apps do not get dozens of extra nonsensical VIDEOEXPOSE events on Windows.

René Dudfield illume
- [Added portmidi package for conan MacOS](https://github.com/pygame/pygame/pull/2187) so that pygame.midi works on MacOS again.
- [Set icon on macos like the other platforms with SDL2](https://github.com/pygame/pygame/pull/2194), so the default icon is there again for MacOS.



bugs, worms, shiny-shiny, and such

Dan Lawrence MyreMylar
- [Missing mouse_doc.h file](https://github.com/pygame/pygame/pull/2179)
- [Fix for missed braces in get_flags()](https://github.com/pygame/pygame/pull/2182)
- [Adding a premul_alpha helper method to Color class](https://github.com/pygame/pygame/pull/2142)
- [One of the math.c functions still used deprecated UTF functions](https://github.com/pygame/pygame/pull/2209)

René Dudfield illume
- [Test that pygame with SDL2 blit gives same results as SDL1 blit](https://github.com/pygame/pygame/pull/2192)
- [CI speedups](https://github.com/pygame/pygame/pull/2196)
- [Skip a lot of failing tests on pypy, build pypy wheels on mac+travis](https://github.com/pygame/pygame/pull/2204)
- [pypy and manylinux2010](https://github.com/pygame/pygame/pull/2212) because PyPy needs manylinux2010, an old PR from takluyver was resurrected and changed a bit so we can use manylinux2010.

robertpfeiffer
- [Add Setup.Android.SDL2.in, and default icons to STRIPPED build](https://github.com/pygame/pygame/pull/2203) is an improvement for better Android support.

Starbuck5
- [Fix docs build failure on Sphinx 3](https://github.com/pygame/pygame/pull/2206), so we can use the current version of the Sphinx documentation tool.

Josip Komljenović MightyJosip
- [Type hints for Vector swizzles & sprite groups](https://github.com/pygame/pygame/pull/2200)
- [draw.line fix with thick lines. More of the line was clipped off on screen borders than expected](https://github.com/pygame/pygame/pull/2199) is a fix for an issue siggisv found with line drawing.

Sigurður Sveinn Halldórsson siggisv
- [Document expected behavior of draw.aaline()](https://github.com/pygame/pygame/pull/2190)

Ankith ankith26
- [Doc improvements for WINDOWEVENT, MOUSEWHEEL, event and misc](https://github.com/pygame/pygame/pull/2149)



This time 4 'critical' backwards compatibility issues were fixed since the last release.

---

- [6 open 'critical' issues](https://github.com/pygame/pygame/issues?q=is%3Aissue+is%3Aopen+label%3Acritical) (backwards compatibility issues reported by people), and 35 closed (last release: 7 open, 32 closed).
- [merged PRs](https://github.com/pygame/pygame/pulls?q=is%3Apr+is%3Aclosed+merged%3A2020-10-12..2020-10-20+sort%3Aupdated-desc+)
- [2090 Commits since 1.9.6 stable release](https://github.com/pygame/pygame/compare/1.9.6...2.0.0.dev16)
- [80 Commits since 2.0.0.dev14 pre release](https://github.com/pygame/pygame/compare/2.0.0.dev14...2.0.0.dev16)

2.0.0.dev14

Not secure
![dreamlines](https://user-images.githubusercontent.com/9541/95693255-b08ba180-0c2b-11eb-924c-244a91996dd5.png)
-- <small>*Players, only love you when they're playing*</small>


With a very tiny little bit of discussion it was sort of decided that the 28<sup>th</sup> of October 2020 will be the [pygame](https://pygame.org/wiki/about) 2.0 release date, because pygame turns 20.




Critical backwards compatibility fixes for pygame 2

First up, some 'critical' improvements that have been made to pygame. 'critical' labeled issues are ones are backwards incompatible issues stopping a pygame 2 release.

Thanks to Dan Lawrence MyreMylar for [Adding a num_buttons parameter to mouse.get_pressed()](https://github.com/pygame/pygame/pull/2127). This was a backwards compatibility issue, because it used to return 3 elements. Now it returns 3 elements again by default and you can request 5 if you want. Another critical issue fixed by MyreMylar was [a problem with key events being reordered on windows](https://github.com/pygame/pygame/pull/2155).

But wait... there's more. Another backwards compatibility fix by MyreMylar is the "[Backwards compatibility for get_flags() in SDL2](https://github.com/pygame/pygame/pull/2156)" PR, which has stopped some games handling full screen mode properly.


Sigurður Sveinn Halldórsson siggisv fixed a problem with how pygame.draw.aaline didn't look as before.
- [Fix draw.aaline not always solid, and other problems](https://github.com/pygame/pygame/pull/2126)

Now the anti aliased lines look (and smell) awesome.
![13](https://user-images.githubusercontent.com/29337110/95656922-b1301500-0b11-11eb-9582-0bc8d7bd68e6.png)



bugs, worms, shiny-shiny, and such

Ankith ankith26
- Some [mouse cursors](https://github.com/pygame/pygame/pull/2114) [documentation improvements](https://github.com/pygame/pygame/pull/2115/files)
- [Fix pyinstaller issues with pygame.font.Font](https://github.com/pygame/pygame/pull/2133)
- [Document some undocumented pygame.image functions](https://github.com/pygame/pygame/pull/2130)
- [Update pygame.version.rev docs](https://github.com/pygame/pygame/pull/2123)
- [Adding windowevent constants](https://github.com/pygame/pygame/pull/2157)
- [Fixes pygame.display failing unit tests on raspberry pi](https://github.com/pygame/pygame/pull/2153)
- [Remove ancient file kept for python v2.4 compatibility](https://github.com/pygame/pygame/pull/2159)


Josip Komljenović MightyJosip
- [Improved the speed of pygame.draw.line()](https://github.com/pygame/pygame/pull/2151)
- [A few more type hint fixes](https://github.com/pygame/pygame/pull/2158)

Dan Lawrence MyreMylar
- [GitHub issue templates: New style](https://github.com/pygame/pygame/pull/2073) [Part 2](https://github.com/pygame/pygame/pull/2141)
- [doc header file regen](https://github.com/pygame/pygame/pull/2148)
- [Changed display.set_palette() test to test correct function](https://github.com/pygame/pygame/pull/2160)

Adam Andrews adamandrews1
- Code cleanup [Removed PG_ENABLE_NEWBUF](https://github.com/pygame/pygame/pull/2083)

Starbuck5
- [Python3 needs __bool__ instead of __nonzero__](https://github.com/pygame/pygame/pull/2112)
- [timeout option added to event.wait()](https://github.com/pygame/pygame/pull/2140) which is useful if you only want your app to wake up when something happens and also at least every 1 second or so.


René Dudfield illume
- [Python 3.9 binary wheels](https://github.com/pygame/pygame/pull/2163) (which is a new release of python).
- [Test sdist on CI](https://github.com/pygame/pygame/pull/2137)
- [Disable timing based tests on mac CI, because issues](https://github.com/pygame/pygame/pull/2139)


Nguyễn Gia Phong McSinyx
- [Fix mouse.pyiset_system_cursor type hints](https://github.com/pygame/pygame/pull/2103)
- [py.typed for mypy, fix pygame._sdl2 importing touch module type hints](https://github.com/pygame/pygame/pull/2104)
- [Clean up README and source distribution](https://github.com/pygame/pygame/pull/2105)



Special thanks to the new contributors

seenemikk
- [unit test for surface.get_masks()](https://github.com/pygame/pygame/pull/2111)

Sebastian Henz BastiHz
- [Fix typo in freetype.rst](https://github.com/pygame/pygame/pull/2119)

Alice Lia Stapleton slimelia
- [unit test: display.get_wm_info()](https://github.com/pygame/pygame/pull/2124)


This time 4 'critical' backwards compatibility issues were fixed since the last release.

---

- [7 open 'critical' issues](https://github.com/pygame/pygame/issues?q=is%3Aissue+is%3Aopen+label%3Acritical) (backwards compatibility issues reported by people), and 32 closed (last release: 9 open, 28 closed).
- [merged PRs](https://github.com/pygame/pygame/pulls?q=is%3Apr+is%3Aclosed+merged%3A2020-09-20..2020-10-12+sort%3Aupdated-desc+)
- [2008 Commits since 1.9.6 stable release](https://github.com/pygame/pygame/compare/1.9.6...2.0.0.dev14)
- [118 Commits since 2.0.0.dev12 pre release](https://github.com/pygame/pygame/compare/2.0.0.dev12...2.0.0.dev14)

2.0.0.dev12

Not secure

Page 7 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.