← Back to issue list

fix(poetry): install export plugin on 25.04+

View original Github issue

Metadata

Project
craft-parts
Number
#1510
Type
pull request
State
merged
Author
bepri
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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 issues

Issue Project State Summary Similarity
#1492 Fix poetry plugin for 25.04+ craft-parts closed Fixed by detecting Ubuntu 25.04+ via OsRelease() and conditionally adding python3-poetry-plugin-export to build packages in poetry_plugin.py, resolving the poetry export command failure caused by python3-poetry v2.
88%
#1633 fix(poetry): don't install the export plugin from apt craft-parts merged 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.
83%
#1996 Poetry plugin fails on 20.04 base charmcraft closed Poetry plugin failed on Ubuntu 20.04 due to missing python3-poetry package. Resolved via an upstream craft-parts pull request addressing the package lookup logic. Closed as fixed.
72%
#901 fix(poetry): don't install poetry with poetry-deps craft-parts merged Merged fix preventing poetry installation when a poetry-deps part exists, resolving issue #1996. Approved by two reviewers and passed CI checks.
71%