Skip to content

fix(release): bump uv.lock with release-please - #1166

Open
Brad-Edwards wants to merge 1 commit into
devfrom
fix/release-please-uv-lock
Open

Brad-Edwards wants to merge 1 commit into
devfrom
fix/release-please-uv-lock

Conversation

@Brad-Edwards

Copy link
Copy Markdown
Owner

release-please's python updater rewrites pyproject.toml but not uv.lock, so the v5.6.0 release left main's lockfile aptl-labs entry at 5.5.0 and the uv-lock pre-commit hook fails on the dev→main promotion (#1164).

  • release-please-config.json: add a toml extra-file for uv.lock ($.package[?(@.name.value=='aptl-labs')].version — release-please's TOML updater wraps scalars, hence .value).
  • tests/test_version_consistency.py: assert uv.lock's own version equals pyproject's, and pin the extra-file config.

After the v5.6.0 back-merge (#1165) lands, this branch picks up dev and regenerates uv.lock to 5.6.0.

release-please's python updater rewrites pyproject.toml but not uv.lock, so
the v5.6.0 release left main's lockfile at 5.5.0 and the uv-lock hook failed
on the dev->main promotion. Add a toml extra-file for the lockfile's own
aptl-labs entry and guard it with version-consistency tests.
@sonarqubecloud

Copy link
Copy Markdown

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