parts: enable stage package dependency cutoff
Metadata
Current evaluation
Merged PR #42 enabled craft-parts stage-package dependency cutoff and replaced distutils.util.strtobool locally, resolving the linter issue.
Resolution: closed resolved
Reason: The pull request was merged, so its changes landed: stage packages no longer resolve dependencies already present in the base, and the local strtobool replacement addressed the linter problem. Evidence: canonical/rockcraft#42.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Pass a base to craft-parts to cut stage packages dependency resolution
to not include packages that are already part of the base.
Also replace distutils.util's strtobool with local implementation to address
linter issue.
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #42 enabled craft-parts stage-package dependency cutoff and replaced distutils.util.strtobool locally, resolving the linter issue. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged rockcraft#42 to activate craft-parts' stage-package base cutoff and replace distutils.util.strtobool locally, resolving the linter issue. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to enable stage package dependency cutoff in craft-parts and replace distutils.util.strtobool with a local implementation to resolve a linter issue. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed. Implemented stage package dependency cutoff in craft-parts and replaced distutils.util.strtobool with a local function to resolve a linter warning. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3769 parts: fix base package cutoff | snapcraft | merged | Merged PR #3769 in commit 25da6a72b, passing the effective build base to the parts processor so stage-package dependencies use the correct cutoff. |