Skip to content

quickjs: add build-quickjs.yml for riscv64 wheels - #978

Open
luhenry wants to merge 2 commits into
mainfrom
quickjs
Open

quickjs: add build-quickjs.yml for riscv64 wheels#978
luhenry wants to merge 2 commits into
mainfrom
quickjs

Conversation

@luhenry

@luhenry luhenry commented Sep 5, 2026

Copy link
Copy Markdown
Member

Thin Python wrapper (C extension) around the vendored QuickJS Javascript engine. Upstream publishes no riscv64 wheel.

Mirrors upstream's build-linux job.

Differs from upstream

  • riscv64 manylinux/musllinux images; matrix widened to cp312/cp313/cp314/cp314t.

Testing

  • same as upstream: upstream's own test_quickjs.py unittest suite, staged via test-sources to avoid the checkout's quickjs/ package shadowing the installed wheel.

License: OK

Built on cp312; 72 passed.

The checkout's pyproject.toml requires poetry with no build-backend, so
cibuildwheel's PEP 517 frontend tried to install the whole poetry
dependency tree (including cryptography, which needs Rust to build
from source and has no riscv64 wheel). Build the sdist ourselves with
`setup.py sdist`, which bypasses pyproject.toml entirely, matching how
upstream's own MANIFEST.in excludes it from the released sdist.
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