← Back to issue list

`poetry` Python plugin

View original Github issue

Metadata

Project
craft-parts
Number
#707
Type
issue
State
closed
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

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".

Resolution: closed resolved

Reason: The Poetry plugin was implemented and merged to main in PR #820 (commit 8b0d76c8), which added craft_parts/plugins/poetry_plugin.py and registered "poetry" in plugins.py. Maintainer mr-cal closed the issue on 2025-07-09 citing "Completed via #820"; follow-up docs landed via #830 and #960.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done A version of the Python plugin that's fully integrated with [poetry](https://python-poetry.org/), installing poetry and using `poetry install` to install a project in the install directory. This first version uses poetry from the archive ### Why it needs to get done First-class support for multiple build systems.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved 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".
stealth/space-bunny-alpha — closed resolved Added and merged a Poetry Python plugin using poetry install for first-class build-system support via PR #820 (commit 8b0d76c8).
qwen/qwen3.6-35b-a3b — — A Poetry Python plugin was implemented to provide first-class build system support using poetry install. The issue was closed after completion via pull request #820.
qwen/qwen3.6-35b-a3b — — Implemented a Poetry-integrated Python plugin for first-class build system support. Resolved and merged via pull request #820.
qwen/qwen3.6-35b-a3b — — Implemented and merged via pull request #820, delivering a Poetry-integrated Python plugin that automatically installs Poetry and runs poetry install for first-class build system support.
qwen3.6-35b-a3b-mtp-q6 — — Merged via pull request #820, delivering a Poetry-integrated Python plugin that runs poetry install for first-class build system support.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-parts#820 (confidence 98%)

    Merged PR "feat(plugin): add poetry plugin" (commit 8b0d76c8) implementing the feature requested in #707

  • Related To: canonical/craft-parts#830 (confidence 70%)

    Follow-up PR adding the Poetry plugin reference documentation (commit aec88860)

  • Related To: canonical/craft-parts#960 (confidence 60%)

    Follow-up docs fix making Poetry plugin links inline targets (commit af641b90)

Related issues

Issue Project State Summary Similarity
#830 feat(docs): add poetry plugin reference craft-parts merged Merged PR #830 as commit aec88860, adding Poetry plugin reference documentation across three files (+107/-1), following the plugin introduced in #820.
77%
#818 [experimental] poetry plugin craft-parts closed Closed unmerged by maintainer lengau on 2024-08-23 as superseded by #820, which landed the Poetry plugin via commit 8b0d76c8 (feat(plugin): add poetry plugin).
75%
#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.
75%
#940 feat(plugins/poetry): add poetry and pip extra args craft-parts merged Merged into main as commit e55d6bcd. PR #940 added poetry-export-extra-args and poetry-pip-extra-args properties to the Poetry plugin for advanced users, with docs and unit tests.
75%
#829 chore: merge poetry plugin feature branch to main craft-parts merged Merged the Poetry feature branch into main, integrating the base Python plugin from #819 (13cfedfb) and Poetry support from #820 (8b0d76c8).
75%
#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.
74%
#1840 [EXPERIMENTAL]: poetry plugin charmcraft closed Experimental Poetry plugin PR closed unmerged in favour of charmcraft#1899, merged as commit 8b748f3e, adding charmcraft/parts/plugins/_poetry.py and _python.py with charm-oriented defaults.
73%
#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.
72%
#701 Enable the poetry plugin rockcraft closed Poetry support was implemented by merged PR #717 (commit 422a2e9b), adding a Rockcraft-specific Poetry plugin and shared Python behavior for release 1.6.0.
71%
#828 feat: tweaks to address user feedback before merging to main craft-parts closed PR #828 was closed unmerged after 767 days of inactivity; the Poetry plugin still uses poetry_with and --with, so its dependency-group export rework did not land.
71%