Skip to content

pygame: add build-pygame.yml for riscv64 wheels - #1089

Merged
luhenry merged 5 commits into
mainfrom
pygame
Sep 6, 2026
Merged

pygame: add build-pygame.yml for riscv64 wheels#1089
luhenry merged 5 commits into
mainfrom
pygame

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Builds pygame's SDL2-based extension modules (display, mixer, font, image, midi, gfxdraw, _sdl2.*) against a from-source SDL2/SDL2_image/SDL2_ttf/SDL2_mixer/portmidi stack. Upstream publishes no riscv64 wheel.

Mirrors upstream's build-manylinux.yml, replacing its custom pygame/manylinux2014_base_* image (no riscv64 build) with Rocky 10's own packages plus a from-source SDL2 stack.

Differs from upstream

  • SDL2/SDL2_image/SDL2_ttf/SDL2_mixer/portmidi built from source in CIBW_BEFORE_ALL - Rocky 10 dropped SDL2-devel (ships sdl2-compat, an SDL3-backed shim with no headers/pkg-config) and manylinux ships no EPEL on riscv64
  • SDL2_mixer's mod/fluidsynth-midi backends disabled - libmodplug/fluidsynth are EPEL-only
  • musllinux dropped - upstream's own workflow already skips it (CIBW_SKIP: '*-musllinux_*')

Matrix: cp312,cp313 - upstream builds no cp314/cp314t wheels for 2.6.1 (predates 3.14; no free-threading support)

Testing

  • same as upstream

License: Wheel bundles mpg123 and jbigkit-libs (GPL-2.0-or-later, the latter pulled in transitively via libtiff), plus flac-libs/libzstd/freetype/graphite2 resolved to their copyleft option by dnf; gpl_sources archives their source RPMs.

luhenry added a commit that referenced this pull request Sep 6, 2026
@luhenry
luhenry merged commit c164f61 into main Sep 6, 2026
8 checks passed
@luhenry
luhenry deleted the pygame branch September 6, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant