Repository navigation
Run breeze from the locked dev/breeze environment - #72113
Conversation
b14995d to
790126d
Compare
790126d to
96cb273
Compare
Breeze was installed by resolving dev/breeze/pyproject.toml against the package index on every fresh environment — `uvx --from ./dev/breeze` in the shim, `uv tool install --editable ./dev/breeze` in CI. Neither reads dev/breeze/uv.lock, and neither applies the `[tool.uv] exclude-newer` buffer declared beside it, which governs project operations only. The committed lock recorded nothing, so an upstream release could change what breeze runs with no commit in this repository. click 8.5.0 showed the cost. It added a `help` field to the argument info dict breeze hashes to detect command drift, so within the hour of its release every CI job resolved it, every command taking a positional argument hashed differently from its committed value, and static checks went red on every open PR regardless of what it touched. The lock said click 8.4.2 throughout. The command-output files move back to the versions the lock produces; the next lock upgrade regenerates them together with the dependency bump that causes them.
96cb273 to
3bd320a
Compare
omkar-foss
left a comment
There was a problem hiding this comment.
PR changes look good to me, approving. I think it might be a good idea to add a newsfragment for this change as it needs setup_breeze to be re-run after merge.
Newsfragments are for user (airflow users) facing changes. There is a warning printed automatically that you should upgrade when there is a new version, so that should be even better. |
Backport failed to create: v3-3-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker b42de70 v3-3-testThis should apply the commit to the v3-3-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
#72806) Breeze was installed by resolving dev/breeze/pyproject.toml against the package index on every fresh environment — `uvx --from ./dev/breeze` in the shim, `uv tool install --editable ./dev/breeze` in CI. Neither reads dev/breeze/uv.lock, and neither applies the `[tool.uv] exclude-newer` buffer declared beside it, which governs project operations only. The committed lock recorded nothing, so an upstream release could change what breeze runs with no commit in this repository. click 8.5.0 showed the cost. It added a `help` field to the argument info dict breeze hashes to detect command drift, so within the hour of its release every CI job resolved it, every command taking a positional argument hashed differently from its committed value, and static checks went red on every open PR regardless of what it touched. The lock said click 8.4.2 throughout. The command-output files move back to the versions the lock produces; the next lock upgrade regenerates them together with the dependency bump that causes them. (cherry picked from commit b42de70)
Breeze was installed by resolving
dev/breeze/pyproject.tomlagainst the package index on every fresh environment —uvx --from ./dev/breezein the shim,uv tool install --editable ./dev/breezein CI. Neither readsdev/breeze/uv.lock, and neither applies the[tool.uv] exclude-newerbuffer declared beside it, which governs project operations only. The committed lock recorded nothing, so an upstream release could change what breeze runs with no commit in this repository.click 8.5.0 showed the cost (#72106): it added a
helpfield to the argument info dict breeze hashes to detect command drift, so within the hour of its release every CI job resolved it, every command taking a positional argument hashed differently from its committed value, and static checks went red on every open PR regardless of what it touched. The lock said click 8.4.2 throughout, and the four-dayexclude-newerbuffer never applied.The shim now runs
uv run --project <worktree>/dev/breeze --locked breeze, and CI runsuv sync --project ./dev/breeze/ --lockedinstead of installing a globaluv tool. Per-worktree isolation (ADR 0017) is unchanged; what changes is that dependencies come from the lock. ADR 0017 is amended in place.The 38 command-output files move back to the hashes the locked click 8.4.2 produces — the exact content from before #72106, which is what a lock-honouring install regenerates. click 8.5.0 reaches breeze when the lock upgrade admits it (
exclude-newerclears 2026-08-30), regenerating those files in the same PR as the bump.Note for contributors: the shim body changed, so
# breeze-shim-versionmoves to 2 — re-run./scripts/tools/setup_breezeonce after this merges.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5) following the guidelines