Skip to content

chore(build): build wheels via soldr PEP 517 backend instead of raw maturin#14

Merged
zackees merged 3 commits into
mainfrom
chore/build-backend-soldr
Jul 8, 2026
Merged

chore(build): build wheels via soldr PEP 517 backend instead of raw maturin#14
zackees merged 3 commits into
mainfrom
chore/build-backend-soldr

Conversation

@zackees

@zackees zackees commented Jul 2, 2026

Copy link
Copy Markdown
Owner

[build-system] swap to soldr's PEP 517 backend + guard/allowlist updates so the template propagates soldr to future scaffolds (ci/gates/ruff.py, ci/hooks/tool_guard.py, install — maturin remains allowed for CLI use). Ref zackees/soldr#1264; docs: https://github.com/zackees/soldr#use-soldr-as-your-pep-517-build-backend-instead-of-maturin. Validated: isolated uv pip install . with the PyPI soldr 0.7.98 backend builds cleanly on a toolchain-poisoned box (sibling repo run).

🤖 Generated with Claude Code

zackees and others added 3 commits July 2, 2026 03:55
…aturin

Switch [build-system] from maturin to soldr>=0.7.98 so wheel builds
route through soldr's PEP 517 backend (which drives maturin with a
pinned, PATH-poison-resistant toolchain). [tool.maturin] config is
unchanged; maturin CLI invocations in CI (./test, ci/build_wheel.py)
are untouched, and maturin stays in the dev dependency group.

Guard/doc touch-ups: tool_guard deny message, ruff gate docstring,
and install docstring now describe the soldr-backed wheel build.
tool_guard already allowlists the soldr head token.

Refs zackees/soldr#1264.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…300)

The test gate's plain `uv run` synced the project editable through the
new soldr build backend. soldr's compile daemon cannot spawn on GHA
macOS/Windows runners (zackees/soldr#1300): macOS lanes die with
'embedded compile dispatch failed after 30000ms budget: NotRunning'
and Windows lanes wedge the test step for ~an hour.

- test gate: `uv sync --no-install-project` + `uv run --no-sync`, with
  the extension module built by direct `maturin develop` (no backend).
- new `backend_smoke` gate: `uv build --wheel` through the real soldr
  backend, Linux-only (self-skips elsewhere until soldr#1300 is fixed).

Same pattern as the ctcb landing of this backend swap.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@zackees

zackees commented Jul 8, 2026

Copy link
Copy Markdown
Owner Author

Merging with the mac-x86 lane still queued (~40 min; the macOS Intel runner pool has been starved for days across this org — the same lanes queued indefinitely on other repos during this migration). Every other lane is green, including the linux backend-smoke that exercises the swapped PEP 517 backend end-to-end, and mac lanes run uv --no-sync so the backend is not exercised there anyway.

🤖 Generated with Claude Code

@zackees
zackees merged commit 48c0884 into main Jul 8, 2026
7 of 8 checks passed
@zackees
zackees deleted the chore/build-backend-soldr branch July 8, 2026 22:46
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