Skip to content

bump-backend.sh: keep uv.lock version in lockstep#71

Open
jcschaff wants to merge 1 commit into
mainfrom
chore/bump-script-uv-lock
Open

bump-backend.sh: keep uv.lock version in lockstep#71
jcschaff wants to merge 1 commit into
mainfrom
chore/bump-script-uv-lock

Conversation

@jcschaff

Copy link
Copy Markdown
Contributor

The 0.6.0 and 0.7.0 bumps updated version.py + pyproject.toml but not uv.lock's own biosim-server version entry, leaving it stale. It's harmless at build time (package = false means uv sync --frozen doesn't enforce the project's own version — which is why the 0.6.0/0.7.0 image builds still passed), but it's confusing and reappears as a stray diff on every uv run.

  • bump-backend.sh now also rewrites the biosim-server version in uv.lock (a targeted perl on the package block — no re-resolve, so no dependency churn) and stages it alongside version.py/pyproject.toml. It replaces whatever version is present, so it self-heals any prior drift on the next bump.
  • Syncs the current uv.lock to 0.7.0 to clear the existing drift now (single-line change, no dep churn).

🤖 Generated with Claude Code

https://claude.ai/code/session_01AzpYYAXPMj1SyxgWf9Lgtm

The 0.6.0/0.7.0 bumps updated version.py + pyproject.toml but not uv.lock's
own biosim-server version entry, leaving it stale (harmless — package=false
means `uv sync --frozen` doesn't enforce the project version — but confusing and
it showed up as a stray diff on every `uv` run).

bump-backend.sh now also rewrites the biosim-server version in uv.lock (a
targeted perl on the package block; no re-resolve needed) and stages it. It
replaces whatever version is present, so it self-heals prior drift. Also sync
the current uv.lock to 0.7.0 to clear the existing drift.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AzpYYAXPMj1SyxgWf9Lgtm
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