[v3-2-test] Run uv lock --upgrade locally in breeze ci upgrade instead of inside CI image (#64804)#64806
Draft
github-actions[bot] wants to merge 1 commit intov3-2-testfrom
Draft
[v3-2-test] Run uv lock --upgrade locally in breeze ci upgrade instead of inside CI image (#64804)#64806github-actions[bot] wants to merge 1 commit intov3-2-testfrom
uv lock --upgrade locally in breeze ci upgrade instead of inside CI image (#64804)#64806github-actions[bot] wants to merge 1 commit intov3-2-testfrom
Conversation
…stead of inside CI image (#64804) With uv.lock, we can now base all the lock preparation on uv's smartness to figure out all the dependencies without building a CI image first. The `uv lock --upgrade` command resolves dependencies purely from pyproject.toml metadata — it does not need an installed environment, so there is no reason to build the Breeze CI image just for this step. This removes the `breeze ci-image build --python 3.10` step from `breeze ci upgrade` and runs `uv lock --upgrade` directly on the host. The manual `update-uv-lock` pre-commit hook is also removed since it is no longer invoked via prek. (cherry picked from commit c3d4905) Co-authored-by: Jarek Potiuk <jarek@potiuk.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2 tasks
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.
With uv.lock, we can now base all the lock preparation on uv's
smartness to figure out all the dependencies without building a CI
image first. The
uv lock --upgradecommand resolves dependenciespurely from pyproject.toml metadata — it does not need an installed
environment, so there is no reason to build the Breeze CI image
just for this step.
This removes the
breeze ci-image build --python 3.10step frombreeze ci upgradeand runsuv lock --upgradedirectly on thehost. The manual
update-uv-lockpre-commit hook is also removedsince it is no longer invoked via prek.
(cherry picked from commit c3d4905)
Co-authored-by: Jarek Potiuk jarek@potiuk.com
Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com