← Back to issue list

fix(flask): use rustup snap

View original Github issue

Metadata

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

Current evaluation

Merged as 3b05ba5a: Flask-framework charms now add the rustup snap for a newer rustc on Jammy, fixing #1743. PR #1749 addressed a separate test failure.

Resolution: closed resolved

Reason: PR #1744 was merged as commit 3b05ba5a, adding the rustup snap to Flask builds; the Charmcraft 3.1.0 changelog confirms the fix.

Evaluated by: mr-cal-bot

No scores available.

Issue body

A new update to a flask dependency requires a more recent version of rustc than is available in the jammy repos. This works around that by using the same rustup snap as the craft-parts rust plugin Fixes #1743 Spread test failure is fixed in https://github.com/canonical/charmcraft/pull/1749

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as 3b05ba5a: Flask-framework charms now add the rustup snap for a newer rustc on Jammy, fixing #1743. PR #1749 addressed a separate test failure.
stealth/space-bunny-alpha — closed resolved PR #1744 (commit 3b05ba5a) merged: Flask charm builds switched from the Jammy rustc packages to the rustup snap, mirroring the craft-parts Rust plugin, to get a newer rustc. Fixes #1743.
stealth/space-bunny-alpha — closed resolved Merged in charmcraft#1744 as 3b05ba5a, switching Flask builds to the rustup snap for a newer rustc on Jammy and fixing #1743.
qwen/qwen3.6-35b-a3b — — Merged to resolve a flask dependency rustc version mismatch on Ubuntu Jammy by switching to the rustup snap. Approved by two reviewers, passed CI, and closes issue #1743.
qwen3.6-35b-a3b-mtp-q6 — — Merged to resolve flask dependency rustc version incompatibility on Ubuntu Jammy by switching to the rustup snap. Fixes #1743 and resolves a related spread test failure.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#1743 flask-framework charm builds failing due to dependency charmcraft closed Flask-framework builds were fixed by merged PR #1751 (40beeef3), which gave the extension a default Rust version and resolved the indirect rustc dependency failure.
73%