← 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 shared cache folder name so pip wheels are reused across base version bumps. Open, unlabeled, one author comment referencing #1457; no maintainer response.

Suggested action: needs triage

Reason: No labels, no assignee, and no maintainer comments — only the author's own note 'Similar to #1457' — so the issue has never been triaged. The referenced cache layout (base-version-prefixed pip cache) still exists in craft-providers/base.py _mount_shared_cache_dirs, so it is not obsolete, but it is a niche optimization with no maintainer buy-in yet.

Impact: 30 Quick Win: 16.5 Staleness: 75 Complexity: 45 Confidence: 70 Support Request: 10

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
qwen/qwen3.8-27b
Impact: 30
Quick Win: 16.5
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 30
Confidence: 65
Support Request: 10
needs triage Remove build base version from cache paths to prevent unnecessary invalidation, as Python wheels remain consistent across minor versions. Open, untriaged, and awaiting discussion or assignment after months of inactivity.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/charmcraft#1457 (confidence 80%)

    Author explicitly links it: 'Similar to #1457' (use Ubuntu version instead of series in cache folder).

Related issues

No related issues found above the similarity threshold.