Package: pygame / 2.1.2+dfsg-5

Metadata

Package Version Patches format
pygame 2.1.2+dfsg-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0005 Remove font test set bold.patch | (download)

test/font_test.py | 16 0 + 16 - 0 !
1 file changed, 16 deletions(-)

 remove font test set bold.

Can't get the test to run with the system font, but that's most
definitely not a pygame issue.

skip_flaky_tests_on_le.patch | (download)

test/font_test.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 skip tests that are flaky on little-endian archs.

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

disable doc comments.patch | (download)

docs/reST/themes/classic/elements.html | 5 0 + 5 - 0 !
1 file changed, 5 deletions(-)

 disable comment js in documentation

This calls back to pygame's server to retrieve comments to display,
which wouldn't work offline, and is a privacy breach.

python 3.10 pyssize t clean.patch | (download)

src_c/mixer.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 python 3.10: declare mixer.c py_ssize_t_clean

Not sure if it's true, but it builds...

python 3.10 int inflate.patch | (download)

src_py/sprite.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 pass integers to rect.inflate()

This resolves test failures under Python 3.10.

Not sure if it's the right thing to do be doing, upstream seems to be
functioning on 3.10 without it.

skip test_src_alpha_sdl2_blitter.patch | (download)

test/surface_test.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 disable test_src_alpha_sdl2_blitter on additional arches

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

skip tests big endian.patch | (download)

test/gfxdraw_test.py | 1 1 + 0 - 0 !
test/image_test.py | 2 2 + 0 - 0 !
test/mixer_test.py | 1 1 + 0 - 0 !
3 files changed, 4 insertions(+)

 skip tests that fail on big-endian architectures

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

Don t assume that each SDL minor version is incompatible .patch | (download)

src_c/base.c | 5 1 + 4 - 0 !
1 file changed, 1 insertion(+), 4 deletions(-)

 don't assume that each sdl minor version is incompatible with others

Before the SDL 2.23.x development branch, only the patch (micro)
version changed between SDL 2.x releases, and it was not clear what an
increase in the minor version would mean. This made it impossible to
distinguish between feature releases and bugfix-only releases.

Since 2.23.x, the versioning scheme is similar to GTK and Flatpak,
with the minor version increasing for new feature releases. See the
SDL documentation for details.

pr3577 Adjust surface masks to create a proper 24 bit Surface.patch | (download)

test/surface_test.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 adjust surface masks to create a proper 24 bit surface
 The SDL 2.26.0 pre-release rejects a 24 bit Surface created with this mask,
 which is the right call, as it needs 32 bits of space. Older SDL went ahead
 and created a 32 bit surface anyway, which it probably shouldn't have.