← Back to issue list

[Python plugin]: Consider including a rust compiler by default

View original Github issue

Metadata

Project
craft-parts
Number
#822
Type
issue
State
open
Author
lengau
Labels
—
Created
Updated
Closed
—

Current evaluation

Open, untriaged request to provision Rust by default for Python native-extension builds; the current Python v2 plugin requests neither build snaps nor build packages.

Suggested action: needs triage

Reason: The request has no labels, assignee, or comments and deliberately asks maintainers to “consider” the change, leaving the desired provisioning policy unclear. Python v2 still returns empty sets from get_build_snaps() and get_build_packages(), while RustPlugin provisions rustup by default, so the feature appears unresolved but needs a maintainer decision on how much Rust logic to reuse.

Evaluated by: mr-cal-bot

Impact: 58 Quick Win: 21 Complexity: 43 Confidence: 93 Actionability: 63

Issue body

### What needs to get done Consider including a rust compiler as a build package/snap for the Python plugin. Likely, this would use the same logic as the existing rust plugin. ### Why it needs to get done A huge number of Python applications have rust dependencies at this point, using things like `pydantic`, `pyre` or `cryptography`. As such, it may be worth simply making a rust compiler a dependency of the Python plugin too.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 58
Quick Win: 21
Complexity: 43
Confidence: 93
Actionability: 63
needs triage Open, untriaged request to provision Rust by default for Python native-extension builds; the current Python v2 plugin requests neither build snaps nor build packages.
qwen/qwen3.6-35b-a3b
Impact: 65
Quick Win: 25
Complexity: 35
Confidence: 70
Actionability: 60
needs triage Feature request to include a Rust compiler in the Python plugin's build packages, since many Python packages have Rust dependencies.
qwen/qwen3.8-27b
Impact: 30
Quick Win: 16
Staleness: 75
Complexity: 45
Confidence: 65
Support Request: 10
close stale Feature request to add a rust compiler to the python plugin's default build dependencies, since many Python apps have rust deps. No labels, no comments, no activity for ~18 months; a similar request in charmcraft was rejected.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 5
close stale Suggests bundling a Rust compiler with the Python plugin to handle Rust dependencies in Python packages. Unlabeled, zero comments, inactive for over 18 months.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 45
Confidence: 85
Support Request: 10
needs triage Suggests bundling a Rust compiler with the Python plugin to support packages with Rust dependencies. Unlabelled, zero comments, and inactive for over a year.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.