fix: don't require a specific python interpreter for uv (#1003)
Metadata
Current evaluation
Merged #1029 backported #1003 to hotfix/2.4, removing uv's fixed Python-interpreter requirement and fixing a Snapcraft regression.
Resolution: closed resolved
Reason: PR #1029 was merged into hotfix/2.4 as a cherry-pick of #1003. Its underlying fix, commit 3fb0f270, addressed #991 by allowing uv to run without a specific system Python interpreter.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
-----
Cherry-picks #1003 onto `hotfix/2.4` to fix a regression in Snapcraft.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #1029 backported #1003 to hotfix/2.4, removing uv's fixed Python-interpreter requirement and fixing a Snapcraft regression. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged craft-parts#1029, cherry-picking #1003 onto hotfix/2.4 to remove uv’s specific Python-interpreter requirement and fix a Snapcraft regression. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged and cherry-picked onto hotfix/2.4 to fix a Snapcraft regression. The update removes the requirement for a specific Python interpreter for uv. Approved by two reviewers with passing CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged PR #1003 removes the requirement for a specific Python interpreter for uv. The change was cherry-picked onto the hotfix/2.4 branch to resolve a Snapcraft regression. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
craft-parts#1003
(confidence 100%)
Source fix explicitly cherry-picked by the merged backport PR #1029.
-
Related To:
craft-parts#991
(confidence 100%)
Original uv plugin failure when no system Python interpreter was returned.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1003 fix: don't require a specific python interpreter for uv | craft-parts | merged | PR #1003 by bepri merged into craft-parts, dropping uv's fixed Python-interpreter requirement (+18/-2, 3 files), closing bug #991. Backported to hotfix/2.4 via merged PR #1029. | |
| #38 fix: Properly set python version for uv | starflow | merged | Merged #38 (bb976bd) upgraded setup-uv to v5, applied the requested Python version to uv environment creation, and disabled CI fail-fast so independent jobs can be rerun. | |
| #1089 Backport uv fix to 2.7 | craft-parts | merged | Merged as commit 25d28785; #1089 backported #1086 to the 2.7 branch, fixing Snapcraft uv 0.7+ validation for projects with pyproject.toml files. |