← Back to issue list

feat: add Snapcraft-specific Poetry plugin

View original Github issue

Metadata

Project
snapcraft
Number
#5090
Type
pull request
State
merged
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #5090 at commit 5a42f0aa5, adding a Snapcraft Poetry plugin for core22/core24 and shared Python behavior; fixes #5025.

Resolution: closed resolved

Reason: PR #5090 was merged as commit 5a42f0aa5. It introduced the Snapcraft-specific Poetry plugin for core22/core24, extracted shared Python behavior, and explicitly resolved issue #5025.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The plugin has the same behavior and restrictions as the Python plugin with regards to base-dependent behavior, symlink handling, etc. Therefore, this common behavior is extracted into a new "python_common" module, used by both plugins. This approach is also taken for the reference docs - the requirement of staging a Python interpreter (or not) is the same for both plugins. Enabled for core22 and core24. Fixes #5025 - [ ] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `tox run -m lint`? - [ ] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`) -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #5090 at commit 5a42f0aa5, adding a Snapcraft Poetry plugin for core22/core24 and shared Python behavior; fixes #5025.
stealth/space-bunny-alpha — closed resolved Merged #5090 (5a42f0aa5), adding a Poetry plugin for core22/core24 and extracting shared Python plugin behavior and reference docs.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged a new Snapcraft-specific Poetry plugin that extracts shared Python plugin logic into a python_common module. Enabled for core22 and core24, resolving issue #5025.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#5025 (confidence 100%)

    The merged PR explicitly states that it fixes the Poetry plugin enablement issue.

Related issues

Issue Project State Summary Similarity
#5025 Enable the poetry plugin snapcraft closed Poetry source support delivered by merged PR canonical/snapcraft#5090 (commit 5a42f0aa5), adding a Snapcraft-specific Poetry plugin for core22/core24, closing the request. Tracked internally as CRAFT-3363.
84%
#1899 feat: add Python and Poetry plugins charmcraft merged Merged into main via commit 8b748f3e, adding Charmcraft-specific Python and Poetry plugins with charm-oriented venv, pip, source-copy, and binary defaults.
72%
#18 Poetry integration charmcraft closed Poetry support was ultimately delivered as Charmcraft-specific python/poetry craft-parts plugins, added in PR #1899 (commit 8b748f3e, 2023), superseding the older build.py requirements.txt idea; issue closed once shipped.
70%
#707 `poetry` Python plugin craft-parts closed Poetry plugin feature request implemented: PR #820 ("feat(plugin): add poetry plugin", commit 8b0d76c8) merged, later documented in #830 and fixed in #960. Issue closed by mr-cal on 2025-07-09 with "Completed via #820".
70%
#820 feat(plugin): add poetry plugin craft-parts merged Merged Poetry plugin support in commit 8b0d76c8, adding first-class build-system handling via poetry install and resolving #707.
70%
#1940 feat(docs): add python and poetry plugin docs charmcraft merged PR #1940 merged as commit 408650c8, adding Python and Poetry plugin documentation (+144 lines, 6 files). Builds on #1939 (craft-parts common docs) and required craft-parts#872 anchors; merged despite12 unresolved review comments.
70%
#717 feat: add Rockcraft-specific Poetry plugin rockcraft merged Merged PR #717 in commit 422a2e9b, adding a Rockcraft-specific Poetry plugin and shared Python behavior; it fixes #701 and shipped in Rockcraft 1.6.0.
70%