← Back to issue list

build: migrate to pyproject.toml

View original Github issue

Metadata

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

Current evaluation

Merged after three approvals and passing CI. Replaced setup.py and setup.cfg with pyproject.toml to modernize the build system. Includes rebasing, a bumpversion update, and supports the transition to starflow workflows.

Suggested action:

No scores available.

Issue body

- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- This removes setup.py and setup.cfg in favour of the newer pyproject.toml file. It is a necessary portion of our move to starflow workflows, but standalone and per-project.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged after three approvals and passing CI. Replaced setup.py and setup.cfg with pyproject.toml to modernize the build system. Includes rebasing, a bumpversion update, and supports the transition to starflow workflows.
qwen3.6-35b-a3b-mtp-q6 Merged after rebasing on main and addressing review feedback. Replaced setup.py and setup.cfg with pyproject.toml to modernize the build system and support starflow workflow integration.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#751 chore: migrate setup.py to pyproject.toml rockcraft merged Migrated project configuration from setup.py and setup.cfg to pyproject.toml to support starflow workflows. Approved by two reviewers, passed CI checks, and successfully merged with changes across five files.
82%
#1455 build: replace setup.py with pyproject.toml charmcraft merged Merged the build configuration update replacing setup.py with pyproject.toml. Approved by two reviewers, the change modified six files with a net reduction of 21 lines, modernizing the project build system.
77%
#120 chore: migrate build from setup.cfg to pyproject.toml craft-store merged Migrated build configuration from setup.cfg to pyproject.toml. Approved by two reviewers, passed CI checks, and merged. The update streamlined project metadata across two files, reducing configuration lines by 116.
75%
#378 build: fix a couple pieces of base pyproject starbase merged Merged after passing CI and approvals. Updated pyproject.toml to replace the deprecated license classifier with an SPDX identifier, switched the dynamic README reference from rST to markdown, and cleaned up whitespace.
73%