Skip to content

pymunk: add build-pymunk.yml for riscv64 wheels - #1751

Open
luhenry wants to merge 1 commit into
mainfrom
pymunk
Open

pymunk: add build-pymunk.yml for riscv64 wheels#1751
luhenry wants to merge 1 commit into
mainfrom
pymunk

Conversation

@luhenry

@luhenry luhenry commented Sep 11, 2026

Copy link
Copy Markdown
Member

Compiles the vendored Munk2D (a Chipmunk2D fork maintained by pymunk's author) submodule into a cffi extension. Upstream publishes no riscv64 wheel.

Mirrors upstream's wheels.yml.

Differs from upstream

  • Matrix trimmed to cp312/cp313/cp314/cp314t (our floor) - upstream also builds cp39-cp311 and pp311.
  • CIBW_ENVIRONMENT adds pypi.riseproject.dev - cffi has no riscv64 wheel on PyPI.

Testing

  • same as upstream

License: OK

Built on cp312; pending CI results.

Vendors Munk2D (a Chipmunk2D fork maintained by pymunk's author) as a git
submodule and compiles it in-process via cffi out-of-line API mode
(pymunk_extension_build.py). No system library dependency. Mirrors
upstream's wheels.yml: sdist built once, cibuildwheel builds each
interpreter from it. cffi has no riscv64 wheel on PyPI, so the registry
is added via CIBW_ENVIRONMENT.
luhenry added a commit that referenced this pull request Sep 11, 2026
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