Sync lockfile with pyproject.toml and prevent future drift with CI check#948
Merged
eepMoody merged 2 commits intoJun 8, 2026
Merged
Conversation
The committed uv.lock had drifted: it declared `requires-python = ">=3.11"` while pyproject.toml declared `"==3.11.*"`, leaving unused wheel entries for Python versions the project doesn't support. CI didn't catch this because `uv sync` silently reconciles; the prod Dockerfile pins uv to `:0.10`, but devs and CI ran whatever uv they had. - Regenerate uv.lock with uv 0.10.7 — realigns requires-python with pyproject and drops unused cp312/cp313/cp314 wheel entries. No dependency-version changes. - Add `[tool.uv] required-version = ">=0.10"` to pyproject.toml. Devs and CI fail loudly on uv versions below the Dockerfile's :0.10 pin. - Pin setup-uv to "0.10" in CI so the --locked check runs on the same uv minor the prod Dockerfile uses. - Switch CI's `uv sync` to `uv sync --locked` — the yarn --immutable / npm ci equivalent. Closes open5e#947 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
augustjohnson
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What are the relevant tickets?
Closes #947
Description (What does it do?)
This PR:
pyproject.toml(I based this on what the production dockerfile currently uses)pr_validation.ymlci check--lockedto the uv sync on ci to ensure the lockfile is consistent with pyproject.tomlHow can this be tested?
uv >= 0.10locally; you can runuv self updateto update.uv sync --lockedlocally. That should succeed.uv sync --lockedagain. It should fail.Additional Notes
Note
The lockfile shrink is just removal of cpython wheels for python 3.12, 3.13, 3.14 that are no longer necessary after 31d88a1