build: use soldr PEP517 backend for local installs#1092
Conversation
|
Warning Review limit reached
Next review available in: 56 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe project replaces its local PEP 517 adapter with soldr delegating to setuptools, changes profile selection to ChangesPEP 517 backend migration
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant PEP517Frontend
participant soldr
participant setuptoolsBuildMeta
participant setupPy
PEP517Frontend->>soldr: invoke PEP 517 build hook
soldr->>setuptoolsBuildMeta: delegate build hook
setuptoolsBuildMeta->>setupPy: execute setuptools build
setupPy->>setupPy: read SOLDR_PEP517_PROFILE
Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
3ae737d to
1c9ed8d
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pyproject.toml`:
- Around line 58-69: Update the [dependency-groups] dev dependency list to
include soldr>=0.8.19 alongside the existing fbuild-dev-tools and setuptools>=64
entries, ensuring soldr is installed before the non-isolated build runs. Keep
the existing build-system configuration unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 9975ad0c-be9c-4efe-80ab-19170e4dce04
📒 Files selected for processing (6)
Cargo.tomlMANIFEST.inbuild_backend.pydocs/getting-started/README.mdpyproject.tomlsetup.py
💤 Files with no reviewable changes (2)
- MANIFEST.in
- build_backend.py
|
Update after commit
|
|
The soldr release prerequisite is now prepared as zackees/soldr#1736, bumping the workspace, npm package, and lockfile to |
df480c1 to
0b5280d
Compare
|
Rebased onto current fbuild |
|
The current-main CI baseline had one remaining compile defect: |
|
Correction: the first AVR patch matched an existing initializer and produced a duplicate field while leaving the shared helper incomplete. Commit |
62cd5b4 to
f0508fa
Compare
Summary\n- make soldr the PEP 517 backend for fbuild source installs\n- delegate all PEP 517/660 hooks to setuptools so setup.py keeps staging the CLI, daemon, and PyO3 extension\n- remove the obsolete fbuild build_backend.py adapter and preserve the release override as --config-settings profile=release through soldr\n- use line-tables-only debug info for the fast local dev profile\n- require soldr >= 0.8.19, the first soldr release containing delegated PEP 517 hooks\n\nRelated: zackees/soldr#1726, #1733; soldr PR #1734\n\nValidation: uv run --no-project ruff check setup.py; pyproject backend/delegate TOML assertion; delegated editable metadata hook; git diff --check. Full install timing remains a separate gate in the soldr meta issue.
Summary by CodeRabbit
soldr>=0.8.19for dev wheel rebuilds).--config-settings profile=release, with profile selection viaSOLDR_PEP517_PROFILE.build_backend.pyin source distributions.profile=release.