Skip to content

djade: add build-djade.yml for riscv64 wheels - #1466

Merged
luhenry merged 3 commits into
mainfrom
djade
Sep 8, 2026
Merged

djade: add build-djade.yml for riscv64 wheels#1466
luhenry merged 3 commits into
mainfrom
djade

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Compiles a maturin bindings = "bin" wheel wrapping the djade Django template formatter binary. Upstream publishes no riscv64 wheel.

Mirrors the build job of upstream's own main.yml.

Differs from upstream

  • Nothing beyond the riscv64 image.

Testing

  • No wheel-level test suite ships in the sdist. Drives the real formatter against the README's documented rules instead (stdin/stdout reformatting, already-formatted detection, --check mode, endblock labelling).

License: OK

Rust/PyO3-maturin (bindings = "bin") Django template formatter CLI.
No pyo3 dependency and no ABI tag, so one native riscv64gc-unknown-linux-gnu
build in the manylinux_2_39 container covers every interpreter; tested
against README-documented formatting rules (stdin round-trip, --check,
endblock labelling) since the sdist ships no wheel-level test suite.
luhenry added a commit that referenced this pull request Sep 7, 2026
Reformatting a file in place (non-stdin, non-check mode) exits 1, verified
against upstream's own test_stdin_mixed_with_files assertion; the earlier
step ran under 'set -e' and aborted before the grep ever ran.
The publish job was dropped when the workflow was first authored; wire it
the same way as build-ripgrep.yml/build-prek.yml so the wheel actually
reaches pypi.riseproject.dev once merged to main.
luhenry added a commit that referenced this pull request Sep 7, 2026
@luhenry
luhenry merged commit 9ffe9fd into main Sep 8, 2026
10 checks passed
@luhenry
luhenry deleted the djade branch September 8, 2026 08:38
@luhenry luhenry mentioned this pull request Sep 8, 2026
@luhenry luhenry linked an issue Sep 8, 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.

djade riscv64 support

1 participant