Skip to content

[airflow-ctl/v0-1-test] Bump uv floor to 0.11.8, override cooldown for uv (#66042)#66057

Merged
potiuk merged 1 commit intoapache:airflow-ctl/v0-1-testfrom
potiuk:backport-dbfc27d-airflow-ctl-v0-1-test
Apr 28, 2026
Merged

[airflow-ctl/v0-1-test] Bump uv floor to 0.11.8, override cooldown for uv (#66042)#66057
potiuk merged 1 commit intoapache:airflow-ctl/v0-1-testfrom
potiuk:backport-dbfc27d-airflow-ctl-v0-1-test

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented Apr 28, 2026

Backport of #66042 to airflow-ctl/v0-1-test.

Bumps [tool.uv] required-version to >=0.11.8, syncs AIRFLOW_UV_VERSION
(0.11.70.11.8) across Dockerfile/Dockerfile.ci/breeze
constants/the image-args doc. The uv = "12 hours" override under
[tool.uv.exclude-newer-package] and [tool.uv.pip.exclude-newer-package]
(REMOVE BY 2026-05-01) applied cleanly. Regenerates uv.lock.

Conflict resolution notes:

  • dev/breeze/src/airflow_breeze/utils/check_release_files.py — kept the
    branch's plain (non-f-string) PROVIDERS_DOCKER template; the new
    _PROVIDERS_DOCKER_UV_MIN_VERSION constant on main is unused on this
    branch (no pip install --upgrade 'uv>=...' step in the template).
  • dev/breeze/tests/test_environment_check.py and dev/mypy/pyproject.toml
    do not exist on this branch (modify/delete) — kept deleted.
  • Dockerfile.ci / 02_images.md — kept the branch's
    AIRFLOW_PREK_VERSION="0.3.9"; the 0.3.10 value pulled in by the
    cherry-pick is unrelated drift on main.

Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.7)

Generated-by: Claude Code (Opus 4.7) following the guidelines

Pins `[tool.uv] required-version` (and the matching marker-tagged
constants in breeze) to 0.11.8 across the root and the three workspace
members that carried their own (stale) floor (`airflow-core`,
`airflow-ctl`, `dev/mypy` — all previously `>=0.6.3`). The bump picks
up the timestamp-elision fix from astral-sh/uv#19022 (closes
astral-sh/uv#18708 — relative `exclude-newer` no longer writes a
churning timestamp into uv.lock that two branches collide on).

Drops uv's per-package cooldown to "12 hours" in both
[tool.uv.exclude-newer-package] and [tool.uv.pip.exclude-newer-package];
without the override the project-wide 4-day window blocks a
freshly-released uv from being adopted as the floor. The override is
flagged "REMOVE BY 2026-05-01" — once 0.11.8 is older than the global
4-day cooldown the override is redundant.

Bumps AIRFLOW_UV_VERSION across Dockerfiles, breeze constants, and
the image-args doc to match. The `# sync-uv-min-version`-tagged test
fixtures were auto-rewritten by the prek hook of the same name.

uv.lock confirms the upstream fix is engaged: `exclude-newer` reads
as the no-op `0001-01-01T00:00:00Z` placeholder.
(cherry picked from commit dbfc27d)
@boring-cyborg boring-cyborg Bot added area:airflow-ctl area:dev-tools area:production-image Production image improvements and fixes labels Apr 28, 2026
@potiuk potiuk merged commit cb1426c into apache:airflow-ctl/v0-1-test Apr 28, 2026
2 checks passed
@potiuk potiuk deleted the backport-dbfc27d-airflow-ctl-v0-1-test branch April 28, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctl area:dev-tools area:production-image Production image improvements and fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant