parts: update craft-parts and enable craftctl
Metadata
Current evaluation
Merged charmcraft#728 in commit 5bf8f083, upgrading craft-parts to 1.4.0 and enabling craftctl for overridden part scriptlets.
Resolution: closed resolved
Reason: PR #728 was merged as 5bf8f083, with implementation commit 265b00ce updating craft-parts to 1.4.0 and enabling craftctl default handlers.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Use craft-parts 1.4.0 with support to craftctl. Users can now invoke
`craftctl default` from part scriptlets to run the overriden step's
built-in handler.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
---
CRAFT-944
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged charmcraft#728 in commit 5bf8f083, upgrading craft-parts to 1.4.0 and enabling craftctl for overridden part scriptlets. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged charmcraft#728 (commit 5bf8f083), upgrading craft-parts to 1.4.0 and enabling craftctl support for overridden step scriptlets. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged update to craft-parts 1.4.0, enabling craftctl support. Users can now invoke craftctl default in part scriptlets to execute overridden step handlers. Approved and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged update to craft-parts 1.4.0 enabling craftctl support. Users can now invoke craftctl default within part scriptlets to execute overridden step handlers. Resolves CRAFT-944. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #19 parts: add craftctl support | rockcraft | merged | Merged in canonical/rockcraft#19 (cc8d0c95), upgrading craft-parts to 1.4.1 and enabling craftctl support in step overrides. | |
| #592 requirements: update craft-parts to 1.0.4 | charmcraft | merged | Merged PR #592 updated Charmcraft's craft-parts dependency from 1.0.3 to 1.0.4; commit 361e6bcf was merged via 6f383549. | |
| #538 requirements: update craft-parts to 1.0.1 (CRAFT-430, CRAFT-520) | charmcraft | merged | Merged PR #538 (commit e36c73ae, work commit 9dd87fe8) bumped Charmcraft to craft-parts 1.0.1, dropped the stage-package apt refresh, and cut regression test time from 1:30 to 0:37. Fixes #526, released in Charmcraft 1.3.0 via PR #548. | |
| #3825 requirements: update craft-parts to 1.8.1 | snapcraft | merged | Merged in commit ec81c5082, upgrading craft-parts to 1.8.1 to fix empty scriptlet execution (LP #1978966). | |
| #1099 requirements: update craft-parts to 1.19.3 | charmcraft | merged | Merged canonical/charmcraft#1099 (c97f01dd), upgrading craft-parts to 1.19.3 to correct plugin-property state during the planning phase. | |
| #3851 requirements: update craft-parts | snapcraft | closed | The craft-parts 1.10.1 update was bundled into #3848 and merged into release/7.1 as 2dadaa6da; #3851 was closed unmerged. | |
| #1092 requirements: update craft-parts to 1.19.2 | charmcraft | merged | Merged PR charmcraft#1092 via commit a0e82335, upgrading craft-parts to 1.19.2 so ignore lists work correctly for local sources. | |
| #194 Release 1.4.2 | craft-parts | merged | craft-parts 1.4.2 was merged via #194, fixing craftctl error handling and excessive recursion during dirty-step verification. | |
| #1009 build(deps): update craft-parts | rockcraft | merged | Merged craft-parts 2.26.0 via #1009 (commit 02755932), enabling chisel 1.3. | |
| #4334 requirements: update craft-parts to 1.24.1 | snapcraft | merged | Merged PR #4334 as commit 9ad7a93ea, updating craft-parts to 1.24.1 for a workaround to a craft-cli spinner deadlock. |