← Back to issue list

fix(poetry): don't install poetry with poetry-deps

View original Github issue

Metadata

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

Current evaluation

Merged fix preventing poetry installation when a poetry-deps part exists, resolving issue #1996. Approved by two reviewers and passed CI checks.

Suggested action:

No scores available.

Issue body

If a `poetry-deps` dependent part exists, don't add poetry to the packages to install. Fixes https://github.com/canonical/charmcraft/issues/1996 CRAFT-3687 - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged fix preventing poetry installation when a poetry-deps part exists, resolving issue #1996. Approved by two reviewers and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 Merged fix preventing poetry from being installed when a poetry-deps dependent part exists. Resolves issue #1996 and CRAFT-3687 by conditionally excluding poetry from the package list.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
84%
#2053 docs: fix poetry-with description charmcraft merged Merged documentation fix clarifying that the --with flag is required for optional and non-optional dependencies. Approved by two reviewers and merged with a three-line change.
74%
#946 docs: Fix poetry-with description craft-parts merged Merged documentation update clarifying that the --with flag is required for both optional and non-optional dependencies. Approved by three reviewers with a minimal four-line change across two files.
72%
#2022 build(deps): update craft-parts charmcraft merged Merged to update the craft-parts dependency and fix the poetry plugin. Approved by two reviewers, passed CI, and applied a single-line change across one file.
72%
#1510 fix(poetry): install export plugin on 25.04+ craft-parts merged 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.
71%
#2629 build(deps-dev): bump poetry from 2.3.2 to 2.3.3 charmcraft closed Closed as a duplicate of PR #2624. Dependabot acknowledged the closure and will skip future notifications. The dependency update was handled in the referenced PR.
70%