← Back to issue list

chore: migrate setup.py to pyproject.toml

View original Github issue

Metadata

Project
rockcraft
Number
#751
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #751 in commit bc45bedf, replacing setup.py and setup.cfg with pyproject.toml to support standalone Starflow workflows.

Resolution: closed resolved

Reason: The packaging migration was merged as commit bc45bedf. It consolidated project metadata and tool configuration into pyproject.toml and removed setup.py and setup.cfg.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] 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
stealth/space-bunny-alpha — closed resolved Merged PR #751 in commit bc45bedf, replacing setup.py and setup.cfg with pyproject.toml to support standalone Starflow workflows.
stealth/space-bunny-alpha — closed resolved Merged in canonical/rockcraft#751 (commit bc45bedf), replacing setup.py and setup.cfg with pyproject.toml to support Starflow workflows.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged configuration migration replacing setup.py and setup.cfg with pyproject.toml. This update standardizes project metadata and supports the transition to starflow workflows.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#902 build: migrate to pyproject.toml craft-parts merged PR #902 merged as commit 5a1a5db0 ("build: migrate to pyproject.toml"), deleting setup.py/setup.cfg in favour of pyproject.toml as a prerequisite for the Starflow workflow migration.
87%
#1422 chore: migrate setup.py to pyproject.toml charmcraft closed Closed unmerged after prolonged inactivity; the same setup.py-to-pyproject.toml migration was later merged in #1455 via commit f41e333d.
82%
#120 chore: migrate build from setup.cfg to pyproject.toml craft-store merged Merged craft-store#120 (commit ac0969d): moved packaging/build metadata from setup.cfg into pyproject.toml's PEP 621 [project] table, +18/-134 lines across setup.cfg and pyproject.toml; approved by 2 reviewers.
79%
#782 chore: replace setup.py with pyproject.toml craft-parts closed PR #782 (setup.py to pyproject.toml) was closed unmerged after ~2 years with no review. The same migration landed later via PR #902, commit 5a1a5db0 "build: migrate to pyproject.toml", which removed setup.py/setup.cfg.
79%
#550 chore: move project configuration to pyproject.toml rockcraft closed Closed unmerged after prolonged inactivity; the configuration migration was later completed by merged PR #751 in commit bc45bedf.
77%
#435 chore: format pyproject.toml with tombi craft-store merged Merged PR formatting pyproject.toml with tombi for consistent TOML formatting ahead of starbasification.
73%
#2898 chore: format pyproject.toml with tombi ahead of Starbase merge charmcraft closed Closed unmerged after its prep branch was dropped during the Starbase update; replacement PR #2899 merged as commit 8da01822.
73%
#294 ci: migrate setup.py to pyproject.toml craft-providers merged Merged PR #294 in commit 1d4f8ba, completing the setup.py-to-pyproject.toml packaging migration after #293 and advancing #287.
72%
#740 build: replace setup.py and setup.cfg with pyproject.toml rockcraft closed Closed unmerged; its setup.py/setup.cfg-to-pyproject.toml migration was superseded by merged PR #751 in commit bc45bedf.
72%
#293 ci: migrate setup.cfg to pyproject.toml craft-providers merged Merged PR #293 in commit 163c1d7, migrating packaging metadata from setup.cfg to pyproject.toml as part of #287 and building on PR #292.
71%