fix(poetry): don't install the export plugin from apt
Metadata
Current evaluation
Merged #1633 in commit fbe33c05: Poetry now installs the export plugin only when Poetry itself was not installed from apt.
Resolution: closed resolved
Reason: PR #1633 was approved and merged into the main project as commit fbe33c05, adding the conditional export-plugin installation behavior and tests.
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`)?
---
...when we're not installing poetry from apt.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #1633 in commit fbe33c05: Poetry now installs the export plugin only when Poetry itself was not installed from apt. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged canonical/craft-parts#1633: Poetry now installs the export plugin only when Poetry is not installed from apt. Resolved by commit fbe33c05. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix preventing the poetry export plugin from installing via apt when poetry is not sourced from apt. Approved by two reviewers and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix to prevent installing the poetry export plugin via apt when poetry is not sourced from apt. The change corrects package management logic and was approved by a maintainer. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1510 fix(poetry): install export plugin on 25.04+ | craft-parts | merged | Merged PR #1510 in commit 6d30ef14, adding python3-poetry-plugin-export on Ubuntu 25.04+ to preserve Poetry's export functionality. | |
| #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. | |
| #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). |