← Back to issue list

build: replace setup.py with pyproject.toml

View original Github issue

Metadata

Project
charmcraft
Number
#1455
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged #1455 in commit f41e333d, replacing setup.py with pyproject.toml and moving packaging metadata and setuptools-scm version handling to the modern build configuration.

Resolution: closed resolved

Reason: PR #1455 was merged as commit f41e333d. The change removed setup.py and consolidated the project’s packaging and version configuration in pyproject.toml.

Evaluated by: mr-cal-bot

No scores available.

Issue body

No description provided.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #1455 in commit f41e333d, replacing setup.py with pyproject.toml and moving packaging metadata and setuptools-scm version handling to the modern build configuration.
stealth/space-bunny-alpha — closed resolved Merged #1455 in commit f41e333d, replacing setup.py with pyproject.toml to modernize Charmcraft’s build configuration.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged the maintainer-authored pull request replacing setup.py with pyproject.toml, modernizing the project build configuration without additional discussion.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/charmcraft#1635 (confidence 98%)

    The Remove setup.py issue was resolved by this migration in PR #1455 and commit f41e333d.

Related issues

Issue Project State Summary Similarity
#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.
85%
#1635 Remove setup.py charmcraft closed Removed setup.py in PR #1455 (commit f41e333d), moving packaging and setuptools-scm version handling to pyproject.toml.
81%
#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.
78%
#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.
78%
#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.
74%
#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.
74%
#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.
72%