← Back to issue list

fix: remove distutils and use craft-application.util

View original Github issue

Metadata

Project
charmcraft
Number
#1564
Type
pull request
State
merged
Author
syu-w
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1564 (commit b4fcdcf3) replaced distutils with craft-application.util in three files, fixing Python 3.12 compatibility and resolving #1527.

Resolution: closed resolved

Reason: PR #1564 was merged as commit b4fcdcf3, replacing distutils usage with craft-application.util and explicitly fixing issue #1527.

Evaluated by: mr-cal-bot

No scores available.

Issue body

`distutils` is removed in Python 3.12, use `craft-applicaion.util` replace it. Fixes: #1527

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1564 (commit b4fcdcf3) replaced distutils with craft-application.util in three files, fixing Python 3.12 compatibility and resolving #1527.
stealth/space-bunny-alpha — closed resolved Merged PR #1564 as commit b4fcdcf3, replacing distutils with craft-application.util in three files to support Python 3.12 and fix #1527.
qwen/qwen3.6-35b-a3b — — Merged a fix replacing the deprecated distutils module with craft-application.util to ensure Python 3.12 compatibility. Approved by two reviewers, the change updates three files and resolves issue #1527.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix replacing the deprecated distutils module with craft-application.util to ensure compatibility with Python 3.12. This resolves issue #1527.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/charmcraft#1527 (confidence 100%)

    Issue #1527 tracked removal of distutils usage and is explicitly fixed by PR #1564.

Related issues

Issue Project State Summary Similarity
#1420 fix: use craft-application clean command charmcraft closed PR #1420 (switch clean to craft-application) was closed unmerged, with no matching commit in charmcraft/commands/clean.py history. The same cleanup landed later via merged PR #1571 (commit 053d5a2d), which deleted the redundant clean command.
70%