Skip to content

rjsmin: add build-rjsmin.yml for riscv64 wheels - #983

Merged
luhenry merged 2 commits into
mainfrom
rjsmin
Sep 6, 2026
Merged

rjsmin: add build-rjsmin.yml for riscv64 wheels#983
luhenry merged 2 commits into
mainfrom
rjsmin

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Compiles the optional _rjsmin C-extension accelerator behind the pure-Python JS minifier. Upstream publishes no riscv64 wheel.

rjsmin ships no CI workflow at all, so this follows setup.py's own build shape rather than mirroring a specific file.

Differs from upstream

  • Forces SETUP_CEXT_REQUIRED=1 - upstream's own knob against silently falling back to a pure-Python wheel on a build failure.

Testing

  • same as upstream

License: OK

Built on cp312; 30 passed, 0 skipped.

Builds the optional C extension (_rjsmin) with SETUP_CEXT_REQUIRED=1 so a
compile failure is fatal instead of silently shipping a pure-Python wheel
under a manylinux_riscv64 tag. No upstream CI workflow exists (rjsmin has
no .github/workflows), so this follows setup.py's own build shape.
Checking out the git tag directly for cibuildwheel pulls in
debug.unix.cflags, a coverage/-Werror dev-build flag file MANIFEST.in
excludes from the real sdist. Its -Wdeclaration-after-statement trips on
CPython 3.14's free-threaded refcount.h and fails the cp314t build.
@luhenry
luhenry merged commit d352b78 into main Sep 6, 2026
10 checks passed
@luhenry
luhenry deleted the rjsmin branch September 6, 2026 08:42
@luhenry luhenry linked an issue Sep 6, 2026 that may be closed by this pull request
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.

rjsmin riscv64 support

1 participant