plugins: add snapcraft python plugin
Metadata
Current evaluation
Merged into main. Introduces a Snapcraft-specific Python plugin that subclasses Craft-parts to set venv symlinks based on the runtime environment. Approved by reviewers, passed CI, and rebased prior to merge.
Suggested action: —
No scores available.
Issue body
Subclass the generic Python plugin provided by Craft-parts and add Snapcraft-specific logic to set venv symlinks according to the runtime environment.
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `pytest tests/unit`?
-----
CRAFT-1630
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged into main. Introduces a Snapcraft-specific Python plugin that subclasses Craft-parts to set venv symlinks based on the runtime environment. Approved by reviewers, passed CI, and rebased prior to merge. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the snapcraft Python plugin, subclassing Craft-parts to implement Snapcraft-specific venv symlink logic for the runtime environment. Rebased on main and passed coverage checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a Snapcraft Python plugin subclassing Craft-parts. Implements runtime environment-aware venv symlink configuration. Rebased on main and merged with 100% diff coverage. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #67 plugins: add python plugin | craft-parts | merged | Merged a Python plugin ported from snapcraft. Approved by two reviewers, passed CI, and added 332 lines across five files to extend plugin support. | |
| #4672 Enable Snapcraft plugins in craft-application codepath | snapcraft | merged | Merged via rebase merge after two approvals and passing CI. Registers Snapcraft plugins in the craft-application codepath and adds confinement and base variables to the lifecycle for plugin usage. | |
| #5090 feat: add Snapcraft-specific Poetry plugin | snapcraft | merged | Merged a Snapcraft-specific Poetry plugin that extracts shared Python logic into a python_common module. Enabled for core22 and core24, resolves #5025, approved by two reviewers, and passed CI checks. |