plugins: add support for pyproject.toml projects (lp:#2008237)
Metadata
Current evaluation
Merged to add pyproject.toml support to the craft-parts Python plugin. The change was mistakenly backported to the 1.19.x series and reverted, but remains in main and latest releases. Approved by two reviewers.
Suggested action: —
No scores available.
Issue body
Python projects move to pyproject.toml[0] instead of using setup.py so add support to craft-parts so snaps can be build using the python plugin.
[0]
https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/
- [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 to add pyproject.toml support to the craft-parts Python plugin. The change was mistakenly backported to the 1.19.x series and reverted, but remains in main and latest releases. Approved by two reviewers. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to enable pyproject.toml support in the craft-parts Python plugin. The change was mistakenly backported to the 1.19.x series and reverted as a feature, but remains integrated in current releases. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4087 python v2 plugin: support building parts conforming to PEP 518 | snapcraft | merged | Merged. Adds PEP 518 pyproject.toml support to the Python v2 plugin. Approved after review, with spread tests and linter fixes completed in PR #4406 and craft-parts PR #435. | |
| #457 Release 1.19.4 | craft-parts | merged | Merged release 1.19.4, backporting pyproject.toml support and pull/build steps subdir fix from v1.20.0. Approved by one reviewer, passed CI, and rebased onto the hotfix branch prior to merge. |