Skip to content

sqruff: add build-sqruff.yml for riscv64 wheels - #1598

Merged
luhenry merged 1 commit into
mainfrom
sqruff
Sep 8, 2026
Merged

sqruff: add build-sqruff.yml for riscv64 wheels#1598
luhenry merged 1 commit into
mainfrom
sqruff

Conversation

@luhenry

@luhenry luhenry commented Sep 8, 2026

Copy link
Copy Markdown
Member

Compiles a maturin pyo3 extension-module wheel wrapping the sqruff SQL linter/formatter CLI. Upstream publishes no riscv64 wheel.

Mirrors the linux job of upstream's own python-ci.yml, autogenerated by maturin generate-ci.

Differs from upstream

  • Copies the repo-root LICENSE into crates/cli-python/ before building - maturin globs licence files next to pyproject.toml, so upstream's own published wheel carries none.

Matrix: cp38-abi3 (built on cp39, the riscv64 image's floor) plus cp314t - matches upstream's own abi3/free-threaded split.

Testing

  • No wheel-level test suite ships in the sdist (crates/cli-python/tests/*.rs are Rust integration tests run by upstream's own cargo test). Drives the real linter/fixer against a known fixture (lint failure, fix, re-lint clean) instead of a bare --version check.

License: OK - Apache-2.0, nothing third-party vendored.

luhenry added a commit that referenced this pull request Sep 8, 2026
@luhenry
luhenry merged commit 464e11a into main Sep 8, 2026
7 checks passed
@luhenry
luhenry deleted the sqruff branch September 8, 2026 14:09
@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.

sqruff riscv64 support

1 participant