Skip to content

Guard uv.lock self-version against release drift#218

Merged
astrogilda merged 1 commit into
mainfrom
chore/lock-version-guard
Jun 24, 2026
Merged

Guard uv.lock self-version against release drift#218
astrogilda merged 1 commit into
mainfrom
chore/lock-version-guard

Conversation

@astrogilda

Copy link
Copy Markdown
Owner

release-please bumps pyproject.toml and the conf.py / CITATION.cff / server.json manifests on a release, but not uv.lock, whose editable self-package version then trails the released version (it had drifted to 0.3.0 behind 0.3.1 before #217 resynced it).

Adds scripts/check_lock_version.py (check and fix modes) wired as a local pre-commit hook, so pre-commit and pre-commit.ci block any future lockfile-version drift from landing on main.

release-please bumps pyproject and the conf/CITATION/server manifests on a release but
not uv.lock, whose editable self-package entry then trails the released version. Add a
check_lock_version.py guard (check and fix modes) and wire it as a local pre-commit hook
so the lockfile version cannot drift onto main.
@mergify

mergify Bot commented Jun 24, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@astrogilda astrogilda merged commit 4d7c7d2 into main Jun 24, 2026
5 checks passed
@astrogilda astrogilda deleted the chore/lock-version-guard branch June 24, 2026 23:29
@sonarqubecloud

Copy link
Copy Markdown

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