← Back to issue list

Feature request: remove build base version from cache folder

View original Github issue

Metadata

Project
charmcraft
Number
#1458
Type
issue
State
open
Author
carlcsaposs-canonical
Labels
—
Created
Updated
Closed
—

Current evaluation

Feature request to drop the build base version from the pip cache path so wheels persist across base updates; unlabelled and untriaged.

Suggested action: needs triage

Reason: The issue has no labels, no assignee, and no maintainer comments, so it has not been assessed. The requested change lives in craft-providers' `_mount_shared_cache_dirs` (which joins `compatibility_tag` and `str(alias)` into the cache path), and the author's own justification is uncertain ('but I'm not sure'), so the benefit and correct location need maintainer validation.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 7 Complexity: 50 Confidence: 55 Actionability: 45

Issue body

### What needs to get done e.g instead of using `charmcraft-buildd-base-v5.0/BuilddBaseAlias.JAMMY/pip/` use `BuilddBaseAlias.JAMMY/pip/` ### Why it needs to get done Python wheels appear to be consistent within a minor Python version, even if the pip version changes. For example, a wheel built with pip 22 on 3.8 has the same hash as a wheel built with pip 23 on 3.8 There appears to be no need to invalidate the wheel if the build base version changes—but I'm not sure

Evaluation history

Date Model Scores Action Summary
~deepseek/deepseek-pro-latest
Impact: 30
Quick Win: 7
Complexity: 50
Confidence: 55
Actionability: 45
needs triage Feature request to drop the build base version from the pip cache path so wheels persist across base updates; unlabelled and untriaged.
qwen/qwen3.6-35b-a3b
Impact: 40
Quick Win: 16
Complexity: 20
Confidence: 60
Actionability: 50
needs triage Feature request to remove build base version from cache folder path to improve wheel caching efficiency. No maintainer response, no labels.
qwen/qwen3.8-27b
Impact: 30
Quick Win: 16
Staleness: 75
Complexity: 45
Confidence: 70
Support Request: 10
needs triage Feature request to drop the build-base version from the shared cache folder name so pip wheels are reused across base version bumps. Open, unlabeled, one author comment referencing #1457; no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 88
Complexity: 35
Confidence: 85
Support Request: 10
needs triage Feature request to simplify cache folder structure by removing build base version to prevent unnecessary wheel cache invalidation. Open, unlabelled, inactive for ~11 months with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 25
Confidence: 70
Support Request: 10
needs triage Feature request to simplify cache folder paths by removing the build base version prefix, citing consistent Python wheel hashes. Currently inactive with no maintainer response or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 25
Confidence: 80
Support Request: 10
needs triage Feature request to simplify cache folder paths by removing the build base version prefix, citing consistent Python wheel hashing across pip versions within the same minor release. Currently unlabelled and inactive for over a year.

Update history

No update history recorded yet.

Related work

  • Related To: charmcraft#1457 (confidence 95%)

    Author explicitly references #1457 as similar; both concern cache folder naming.

Related issues

No related issues found above the similarity threshold.