ruff-format: Add version 0.5.4 - #2198
Merged
Merged
Conversation
PyO3/maturin extension (pyo3 abi3-py38 unconditional in Cargo.toml) that vendors ruff_python_parser/ruff_python_formatter from astral-sh/ruff.git as Cargo git dependencies; it has no runtime Python dependency on the `ruff` PyPI package, so it is not blocked by ruff's own riscv64 status. Upstream ships no test suite, so CIBW_TEST_COMMAND exercises the three bound functions against outputs verified against the upstream ruff CLI.
luhenry
added a commit
that referenced
this pull request
Sep 21, 2026
Contributor
|
Pure-Rust maturin projects wrap their extension in a generated __init__.py (gotcha 308) regardless of interpreter/abi3/free-threading; assert on the submodule via sys.modules instead of the package's own __file__.
The two include entries shared no key from the base matrix (version only), so the second (cp314t) overwrote the first (cp38-abi3) on the same single combination instead of producing two jobs - the abi3 wheel was never built. Add tag as a matrix axis so each include updates its own combination.
luhenry
added a commit
that referenced
this pull request
Sep 24, 2026
…__file__ shim) Replicates PR #2264's bookkeeping directly to main (renumbered 558->559 to avoid colliding with ifcopenshell's concurrently-landed 558) since that PR's own agent hit a permission wall pushing to main directly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ruff-format0.5.4Compiles PyO3 bindings around Ruff's parser and formatter, pulled from astral-sh/ruff.git as Cargo git dependencies rather than the
ruffPyPI package, so it has no runtime dependency on ruff's own wheel. Upstream publishes no riscv64 wheel.Mirrors upstream's
CI.ymllinuxjob.Differs from upstream
CIBW_BEFORE_ALL_LINUX- upstream's maturin-action bundles it already.Matrix: abi3 (
cp38-abi3, built on cp39) +cp314t, not per-interpreter cp312/cp313/cp314/cp314t.Testing
ruffCLI.License: OK.