Skip to content

tools/bump.sh: read the version without --frozen, which needs a uv.lock (this repo has only pixi.lock); the bump keeps --frozen so it writes no uv.lock - #79

Open
ickc wants to merge 1 commit into
mainfrom
fix-bump-frozen

Conversation

@ickc

@ickc ickc commented Nov 21, 2026

Copy link
Copy Markdown
Owner

uv version --short --frozen fails when there is no uv.lock ("Unable to find lockfile at uv.lock, but --frozen was provided"), so pixi run bump stops after bumping pyproject.toml, before the commit and tag. The same bug broke the first release of map_parallel (fixed there in its PR #4).

  • The read-back is now a plain uv version --short. It does not lock or sync, so it creates no uv.lock and no .venv.
  • The bump keeps --frozen, which works without a uv.lock (with uv 0.13.7) and only rewrites pyproject.toml. Without --frozen, uv would re-lock and write a uv.lock.

I tested both steps on a copy of pyproject.toml with uv 0.13.7: the version went from 0.15.1 to 0.16.0, and no uv.lock or .venv was created.

…ck (this repo has only pixi.lock); the bump keeps --frozen so it writes no uv.lock

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant