parts,charm_builder: add charm-python-packages plugin property (CRAFT-552)
Metadata
Current evaluation
Merged addition of the charm-python-packages plugin property, installing listed Python packages before requirements file dependencies. Mirrors standard python plugin behavior. Approved, passed CI, and merged by maintainer. Available in edge snap.
Suggested action: —
No scores available.
Issue body
Packages listed in the `charm-python-packages` property are installed
before dependencies listed in the requirements file. This mirrors
`python-packages` that exists in the python plugin.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged addition of the charm-python-packages plugin property, installing listed Python packages before requirements file dependencies. Mirrors standard python plugin behavior. Approved, passed CI, and merged by maintainer. Available in edge snap. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged charm-python-packages plugin property to charm_builder. Installs specified packages before requirements.txt dependencies, supports platform conditionals for OS-specific needs, and resolves setuptools version issues. Deployed to edge snap. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged addition of charm-python-packages plugin property to charm_builder. Installs listed packages before requirements.txt dependencies, supports platform conditionals for OS-specific needs, and resolves version conflicts. Released to edge snap. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #588 charm_builder: install binary python packages (CRAFT-601) | charmcraft | merged | Merged to add a charm-binary-python-packages property to the charm_builder plugin, enabling installation of binary Python packages from PyPI. Approved by one reviewer, rebased on master, and implemented across six files. | |
| #1664 `charm-python-packages` does not guarantee these packages are installed before packages in `requirements.txt` | charmcraft | closed | Fixed in Charmcraft 3.2. Maintainers confirmed the charm-python-packages installation ordering bug was resolved through related PRs and subsequent releases. The issue is closed. | |
| #1843 Add charmcraft-specific versions of upstream python plugins | charmcraft | open | Feature request to add charmcraft-specific versions of upstream craft-parts python plugins. Implemented via PR #1899 (Python and Poetry plugins) with docs in #1940 and a uv plugin in #2050. No further action needed. |