Skip to content

pygame-ce: add build-pygame-ce.yml for riscv64 wheels - #1819

Open
luhenry wants to merge 2 commits into
mainfrom
pygame-ce
Open

luhenry wants to merge 2 commits into
mainfrom
pygame-ce

Conversation

@luhenry

@luhenry luhenry commented Sep 12, 2026

Copy link
Copy Markdown
Member

Compiles pygame-ce's SDL2-based C/Cython extensions via its meson-python build. Upstream publishes no riscv64 wheel.

Mirrors upstream's build-manylinux.yml.

Differs from upstream

  • Builds SDL2/SDL2_image/SDL2_ttf/SDL2_mixer/portmidi from source, not upstream's docker_base image - no riscv64 SDL2-devel exists (Rocky 10 dropped it for sdl2-compat)
  • Drops SDL2_mixer's libxmp/fluidsynth/wavpack backends - EPEL-only, empty on riscv64
  • Drops harfbuzz text shaping in SDL_ttf - no riscv64 harfbuzz-devel
  • Drops the pp311 matrix row - no PyPy riscv64 support in this repo

Matrix: cp310-cp315, no cp314t/cp315t (pygame-ce ships no free-threaded build)

Testing

  • same as upstream

License: Wheel bundles SDL2/SDL2_image/SDL2_ttf/SDL2_mixer/portmidi and several Rocky 10 system libraries (mpg123 and jbigkit are GPL); upstream ships no licence text for any of them, so the build adds it and archives the GPL sources.

Built on cp312; N passed, M skipped.

luhenry added a commit that referenced this pull request Sep 12, 2026
@luhenry
luhenry force-pushed the pygame-ce branch 2 times, most recently from 43fe20a to a87da61 Compare September 12, 2026 10:35
cibuildwheel's default uv pip install numpy (pygame-ce's own [tool.cibuildwheel] test-requires) doesn't reliably resolve PyPI's newest numpy releases via just PIP_EXTRA_INDEX_URL when uv is the installer; needs its own UV_* env vars too, same fix minorminer's port needed.

Also temporarily captures CI diagnostics via GITHUB_STEP_SUMMARY/upload-artifact: riscv64 self-hosted runner jobs killed mid-step never flush their GH Actions step log to blob storage (gh api .../jobs/<id>/logs 404s BlobNotFound even for a job that otherwise completes normally).
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