Support pyprojects.toml for metadata extraction
Metadata
Current evaluation
Python plugin pyproject.toml support merged in canonical/craft-parts#435 (438951f7) and released in 1.20.0; the issue was later closed as already complete.
Resolution: closed resolved
Reason: PR #435 added pyproject.toml project support in commit 438951f7, and the changelog records it in release 1.20.0. The closing maintainer confirmed support had already been complete for some time.
Evaluated by: mr-cal-bot
No scores available.
Issue body
As of [PEP621](https://peps.python.org/pep-0621/), it is recommended that Python projects store their metadata in a pyprojects.toml file rather than the setup.py file. It would be good if this would also be supported by snapcraft.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Python plugin pyproject.toml support merged in canonical/craft-parts#435 (438951f7) and released in 1.20.0; the issue was later closed as already complete. | |
| stealth/space-bunny-alpha | — | closed resolved | pyproject.toml support was already available; PR #435 (438951f7), released in 1.20.0, resolved the request. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented support for pyproject.toml metadata extraction. The issue was closed after a maintainer confirmed the feature was already complete. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as already implemented. A maintainer confirmed pyproject.toml metadata extraction support was completed prior to the issue's closure. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as complete. Support for pyproject.toml metadata extraction per PEP 621 was already implemented prior to closure, resolving the feature request. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | pyproject.toml metadata extraction support was already implemented. The request was closed as complete after a maintainer confirmed the feature was already available. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-parts#435
(confidence 100%)
Merged PR #435 added pyproject.toml project support to the Python plugin via commit 438951f7.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #435 plugins: add support for pyproject.toml projects (lp:#2008237) | craft-parts | merged | Merged pyproject.toml project support for the Python plugin into main via commit 438951f7; a mistaken 1.19.x backport was reverted. | |
| #2008237 python plugin doesn't work with pyproject.toml based projects | snapcraft (launchpad) | closed | Added core20 support for pyproject.toml projects via #4087 and craft-parts#435; the fix shipped in Snapcraft 8 and restores packaging of console-script entry points. |