Repository navigation
feat(pypi): build and qualify wheel-only ripr-rs adapter (#4490) - #4711
Conversation
Add a committed Maturin bin-mode adapter for the existing ripr executable. Keep version authority in Cargo, pin the build backend, duplicate the governed license notices byte-for-byte, and document the distribution/executable distinction without claiming a public release.
Validate the committed PEP 517/621 manifest, pinned Maturin bin-mode configuration, dynamic Cargo version authority, feature set, package-page safety text, and byte-identical licenses through the existing distribution gate.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedNext included review available in 17 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (12)
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 |
Refresh the exact candidate against main c9afd7f after the protected base advanced. The packaging tree is unchanged relative to the reviewed branch head; main's intervening product and analysis changes are integrated without rewriting history.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
EffortlessSteven
left a comment
There was a problem hiding this comment.
reviewed_head_sha: 289715a752e37e6e8119b07501b4fee05f1675fd
integration_basis: c9afd7f1c4d8de7eada32a038450ec2dc35a9193
claim_boundary: committed wheel-only adapter plus read-only Linux-x64 local-wheelhouse qualification; compatibility and publication remain excluded.
disposition: REVIEW_READY — no blocking code finding in the inspected candidate
Surfaces inspected
- PEP 517/621 metadata and Maturin bin-mode target selection;
- Cargo-derived version and exact release feature enforcement;
- package-name/executable-name collision guidance;
- wheel filename/tag, METADATA/WHEEL/RECORD, license and executable permission validation;
- retained source/tree/lock/toolchain/wheel/payload identity;
- deliberately missing-executable negative control;
- clean pip and uv tool consumers without checkout/Rust/ambient ripr;
- planted PATH collision, exact payload/version selection, Python no-config preview, fresh-shell
explain, project-venv isolation, explicit-disable honesty, reinstall/uninstall and project preservation; - workflow permissions and no-publication boundary.
The generic linux_x86_64 wheel is correctly treated as an unqualified rehearsal artifact rather than a manylinux/minimum-glibc claim. Public delivery still requires #4489-selected compatibility evidence, source integration, exact retained files, protected publisher configuration and separate authorization.
Hosted qualification, required Routed Rust Small and post-ready automated review remain authoritative. A terminal failure or new substantive finding returns this disposition to repair-required; predecessor greens are not merge authority.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 289715a752
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Refresh the wheel candidate against main 13c7ec5 after the protected base advanced. Integrate the intervening Python analyzer repair without rewriting the packaging history or changing the adapter-specific files.
EffortlessSteven
left a comment
There was a problem hiding this comment.
reviewed_head_sha: 979095c7d99bebd5c32e96f316f0f2cc26e73603
integration_basis: 13c7ec58a0a76759c00d4baa757df744c395d689
This head is an ancestry-preserving integration refresh. Relative to the previously reviewed package candidate, the only added tree delta is protected-main commit 13c7ec58… in the Python analyzer; no package source, validator, policy, or qualification-workflow file changed. The PR-specific reviewed tree and claim boundary are unchanged.
disposition: REVIEW_READY pending fresh exact-head hosted proof
The wheel workflow intentionally exercises Python preview behavior, so the integrated main repair is relevant rather than ignored. Fresh CI, read-only wheel qualification, required Routed Rust Small, and post-refresh automated review remain authoritative. A terminal failure or substantive new finding returns the candidate to repair-required.
Refresh PR #4711 against current main without rewriting branch history.
Keep Cargo SemVer for the executable while deriving and retaining a distinct PEP 440 package version for wheel filenames, metadata, and installer requirements. Add a stale-RECORD payload mutation control and govern unsafe ripr install-command variants plus the qualification workflow shape through the Rust distribution gate.
Keep the command-policy assertion focused on the rejection class while allowing the diagnostic to retain the exact unsafe version or extra specifier that was selected.
What
Add and qualify the first wheel-only PyPI adapter for the existing native
riprCLI.Refs #4490. Parent #4487 remains open for the broader distribution program. The merged #4488 contract owns product/distribution identity; #4489 owns measured native compatibility; #4521 owns the cross-channel final-payload boundary. This PR does not authorize publication.
Package source
packaging/python/pyproject.tomluses pinned Maturinbinmode and selects the existingriprbinary explicitly;ripr-rs; product and executable remainripr;import ripr,python -m ripr, runtime dependency, sdist fallback, install-time downloader, or consumer-side Rust compilation is introduced;uv tool install ripr-rsanduvx --from ripr-rs ripr …, and rejects guidance that would select the unrelatedriprdistribution.cargo xtask check-release-targetsnow validates the Python adapter, including backend pin, dynamic-version authority, exact features, CLI binding, required package-page disclosures, compatibility non-claims, and license copies. The package manifest has one narrow governed non-Rust/dependency-policy entry.No-publish qualification
.github/workflows/python-wheel-qualification.ymlis read-only and has no OIDC or registry-write permission. On an exact candidate it:ripr_rs-<version>-py3-none-linux_x86_64.whlon Ubuntu 22.04 with a generic Linux tag and no manylinux/minimum-glibc claim;Cargo.lock, toolchain, runner, and pinned packaging clients;uv toolwith no checkout, Cargo, rustc, or ambientripravailable;ripr explainfrom a fresh shell, proves the project virtualenv is not accidentally used, and verifies explicit Python disablement is a typed limited result rather than a false clean result;Acceptance and claim boundary
After merge, the repository may claim a committed
ripr-rswheel adapter and a no-publish Linux-x64 build/install/use/lifecycle rehearsal for the exact candidate.It may not claim:
The produced wheel remains
compatibility_state = unqualifiedunder #4489. Public publication must consume a separately qualified source candidate and exact retained files; this rehearsal is not release authorization.Exact candidate / proof
The branch is behind current
mainby 106 commits (behind-only movement; the latest integrated protected-main merge isd04f70fd0) and 30 commits ahead, with no history rewriting; the previously reviewed package-specific tree is unchanged.Exact-head check state (observed on
f3b9117c5d0125064e7c191876128de48e3db2b5):Ripr Rust Small Result(the branch-protection required check), routed Rust gates, and the Rust-only feature lane;build and inspect Linux x64 wheelplus the clean pip and uv consumer journeys;droid-reviewtimed out at 24h0m1s; the substantive Devin and ChatGPT review findings are repaired at this head (native/PEP 440 wheel identity split, stale-RECORD negative control, tokenized package-README command gate) and re-verified locally (cargo test -p xtask --bin xtask --locked policy::distribution: 19 passed);Do not merge from predecessor proof. The exact current head and current-base synthetic merge must be terminal green, and any substantive review finding must be repaired or explicitly adjudicated.
Rollback
Revert the package source, validator, policy entries, and no-publish workflow together. The core binary, language activation rules, existing server-archive output, registry state, tags, releases, and credentials are otherwise unchanged.
stackable = false