← Back to issue list

chore: enbriefen uv.lock file by limiting environments to Linux

View original Github issue

Metadata

Project
rockcraft
Number
#1183
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

PR #1183 merged (commit 8bee4209): set `environments = ["sys_platform == 'linux'"]` under [tool.uv] in pyproject.toml and regenerated uv.lock, shrinking it by ~1171 deleted lines (+481/-1171, 2 files).

Resolution: closed resolved

Reason: The pull request itself was merged into main by maintainer lengau after 2 approvals, landing as commit 8bee4209 'chore: enbriefen uv.lock file by limiting environments to Linux (#1183)'. The tool.uv environments setting is still present in pyproject.toml today, confirming the change shipped.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This tells uv only to worry about running on Linux, which shortens the lock file quite considerably. --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/rockcraft/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [x] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved PR #1183 merged (commit 8bee4209): set `environments = ["sys_platform == 'linux'"]` under [tool.uv] in pyproject.toml and regenerated uv.lock, shrinking it by ~1171 deleted lines (+481/-1171, 2 files).
stealth/space-bunny-alpha — closed resolved Merged PR #1183 into main, limiting uv.lock to Linux environments and substantially reducing the file size.
qwen/qwen3.6-35b-a3b — — Merged a chore update restricting the uv lock file to Linux, reducing its size by over 600 lines. Approved by two reviewers and integrated into the main branch.
qwen3.6-35b-a3b-mtp-q6 — — Merged a maintainer update restricting the uv.lock file to Linux environments only, significantly reducing its size. Changes passed automated linting and testing without discussion.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/rockcraft#1177 (confidence 60%)

    Immediately preceding commit a1b5eba1 'build(deps): run uv lock --upgrade' (#1177) regenerated the same lock file that #1183 then slimmed down; related lock-file maintenance, not a fix for this PR.

Related issues

Issue Project State Summary Similarity
#955 chore: fix some small pyproject errors, include uv.lock craft-parts merged Merged PR #955 (commit 690fe318) fixed deprecated Ruff rules, corrected the git describe argument to an array, and added uv.lock.
70%