fix(poetry): install export plugin on 25.04+
Metadata
Current evaluation
Merged PR #1510 in commit 6d30ef14, adding python3-poetry-plugin-export on Ubuntu 25.04+ to preserve Poetry's export functionality.
Resolution: closed resolved
Reason: The approved pull request was merged as commit 6d30ef14. It conditionally installs the export plugin required by Poetry 2.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
Conditionally includes `python3-poetry-plugin-export` on Ubuntu 25.04+, as Poetry 2 deprecated the built-in `export` subcommand in favor of an optional plugin.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1510 in commit 6d30ef14, adding python3-poetry-plugin-export on Ubuntu 25.04+ to preserve Poetry's export functionality. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/craft-parts#1510 (commit 6d30ef14), conditionally installing python3-poetry-plugin-export on Ubuntu 25.04+ for Poetry 2 compatibility. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged fix for Ubuntu 25.04+ compatibility by conditionally installing python3-poetry-plugin-export. This addresses Poetry 2 deprecating the built-in export subcommand in favor of an optional plugin. Approved by reviewers and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix that conditionally installs python3-poetry-plugin-export on Ubuntu 25.04+. Resolves Poetry 2 deprecation of the built-in export subcommand by switching to the required optional plugin. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-parts#1633
(confidence 95%)
Later refined the policy so the export plugin is not installed from apt when Poetry itself is not apt-installed.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1492 Fix poetry plugin for 25.04+ | craft-parts | closed | Craft-parts fixed Poetry 2 export compatibility by conditionally installing python3-poetry-plugin-export on Ubuntu 25.04+ in PR #1510 (commit 6d30ef14). | |
| #1633 fix(poetry): don't install the export plugin from apt | craft-parts | merged | Merged #1633 in commit fbe33c05: Poetry now installs the export plugin only when Poetry itself was not installed from apt. | |
| #1996 Poetry plugin fails on 20.04 base | charmcraft | closed | Poetry plugin added python3-poetry-plugin-export to apt build-packages, unavailable on Ubuntu 20.04. Fixed upstream in craft-parts PR #1633 (commit cff4121b/fbe33c05); issue closed after upstream fix. | |
| #901 fix(poetry): don't install poetry with poetry-deps | craft-parts | merged | PR #901 merged as commit 2eda2a5a: the Poetry plugin skips adding python3-poetry (and the export plugin) to build packages when a poetry-deps part supplies them. Fixes charmcraft#1996 (CRAFT-3687); noted in the 2.34.1 changelog. | |
| #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. |