feat: use the Python plugin v2 for 25.10+
Metadata
Current evaluation
Merged #977, adopting Python plugin v2 for 25.10+ with base-aware registration, usrmerged paths, lifecycle shebang repair, and new spread tests.
Resolution: closed resolved
Reason: PR #977 was approved and merged with all listed CI checks passing. Implementation commits include 7fe40abc for plugin registration, 468502c9 for shebang fixes, and 3e17f453 for spread tests.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The changeset is big but a lot of it is tests and glue code. I split the changes over commits:
- First commit is updating craft-parts to a dev version, pending a release;
- Second one adds a way to register plugins depending on the base. It's a bit awkward because the plugin registration happens very early, *before* we have a project (since we need to know the plugins in order to validate the plugin-specific keys);
- Third one adds a function to fix the shebangs after the lifecycle is done;
- Four one adds a few spread tests for the new plugin.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #977, adopting Python plugin v2 for 25.10+ with base-aware registration, usrmerged paths, lifecycle shebang repair, and new spread tests. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #977 to use Python plugin v2 on 25.10+, with base-dependent plugin registration, shebang fixes, and spread tests. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged update to use Python plugin v2 for 25.10+. Includes craft-parts dev update, base-dependent plugin registration, shebang correction, and spread tests. Approved by three reviewers and passed all CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged updates to Python plugin v2 for version 25.10 and later. Includes a craft-parts dev update, base-dependent plugin registration, post-lifecycle shebang fixing, and spread tests. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1140 feat: enabled new .NET plugin (v2) on 25.10+ | rockcraft | merged | Merged PR #1140 as 42c7afa8, enabling the .NET v2 plugin for Ubuntu 25.10+ and devel, with updated documentation and spread-test coverage. | |
| #819 feat(plugins): create base Python plugin | craft-parts | merged | Merged PR #819 in commit 13cfedfb, adding a shared base Python plugin to support Python plugins with different build systems. |