Repository navigation
Add Cargo dependency license bundles - #89
Merged
Merged
Conversation
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #89 +/- ##
==========================================
+ Coverage 87.46% 90.92% +3.46%
==========================================
Files 12 13 +1
Lines 1699 2006 +307
==========================================
+ Hits 1486 1824 +338
+ Misses 213 182 -31 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
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.
Description
Add opt-in
cargo-bundle-licensesintegration through the hatch-rslicensestable. Package original dependency license texts in per-artifact JSON bundles, using the existing wheel artifact registration.Resolve selected workspace packages before collection, forward structured features and artifact environments, and expand
all-featuresfrom Cargo metadata. Support reviewed previous JSON bundles and enforce complete package/license/text comparisons whencheck-previousis enabled. Fail on missing texts, failed collectors, unsafe destinations, output collisions, and raw Cargo dependency-selection overrides.Document setup, wheel-only collection, conservative dependency scope, and packaging limitations. Install collector version 4.2.0 in CI. Version unchanged; no release requested.
Verified locally on macOS with Python 3.12.14 and Cargo 1.95.0: 147 tests pass, including real standalone and virtual-workspace wheels built from sdists. Ruff, ty, documentation checks, wheel/sdist builds, twine, and check-dist pass.
Type of Change
Checklist
make lint)make test)