Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ ARG PYTHON_LTO="true"
# Also use `force pip` label on your PR to swap all places we use `uv` to `pip`
ARG AIRFLOW_PIP_VERSION=26.0.1
# ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main"
ARG AIRFLOW_UV_VERSION=0.11.7
ARG AIRFLOW_UV_VERSION=0.11.8
ARG AIRFLOW_USE_UV="false"
ARG AIRFLOW_IMAGE_REPOSITORY="https://github.com/apache/airflow"
ARG AIRFLOW_IMAGE_README_URL="https://raw.githubusercontent.com/apache/airflow/main/docs/docker-stack/README.md"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,7 @@ COPY --from=scripts common.sh install_packaging_tools.sh install_additional_depe
# Also use `force pip` label on your PR to swap all places we use `uv` to `pip`
ARG AIRFLOW_PIP_VERSION=26.0.1
# ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main"
ARG AIRFLOW_UV_VERSION=0.11.7
ARG AIRFLOW_UV_VERSION=0.11.8
ARG AIRFLOW_PREK_VERSION="0.3.9"

# UV_LINK_MODE=copy is needed since we are using cache mounted from the host
Expand Down
2 changes: 1 addition & 1 deletion airflow-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ docs = [


[tool.uv]
required-version = ">=0.6.3"
required-version = ">=0.11.8"

[tool.uv.sources]
apache-airflow-core = {workspace = true}
Expand Down
2 changes: 1 addition & 1 deletion airflow-ctl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ tmp_path_retention_count = "2"
tmp_path_retention_policy = "failed"

[tool.uv]
required-version = ">=0.6.3"
required-version = ">=0.11.8"

[tool.uv.sources]
apache-airflow-devel-common = { workspace = true }
2 changes: 1 addition & 1 deletion dev/breeze/doc/ci/02_images.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ can be used for CI images:
| `ADDITIONAL_DEV_APT_DEPS` | | Additional apt dev dependencies installed in the first part of the image |
| `ADDITIONAL_DEV_APT_ENV` | | Additional env variables defined when installing dev deps |
| `AIRFLOW_PIP_VERSION` | `26.0.1` | `pip` version used. |
| `AIRFLOW_UV_VERSION` | `0.11.7` | `uv` version used. |
| `AIRFLOW_UV_VERSION` | `0.11.8` | `uv` version used. |
| `AIRFLOW_PREK_VERSION` | `0.3.9` | `prek` version used. |
| `AIRFLOW_USE_UV` | `true` | Whether to use UV for installation. |
| `PIP_PROGRESS_BAR` | `on` | Progress bar for PIP installation |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class VersionedFile(NamedTuple):


AIRFLOW_PIP_VERSION = "26.0.1"
AIRFLOW_UV_VERSION = "0.11.7"
AIRFLOW_UV_VERSION = "0.11.8"
AIRFLOW_USE_UV = False
GITPYTHON_VERSION = "3.1.46"
RICH_VERSION = "15.0.0"
Expand Down
2 changes: 1 addition & 1 deletion dev/breeze/src/airflow_breeze/global_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def get_allowed_llm_models() -> list[str]:
ALLOWED_INSTALL_MYSQL_CLIENT_TYPES = ["mariadb"]

PIP_VERSION = "26.0.1"
UV_VERSION = "0.11.7"
UV_VERSION = "0.11.8"

# packages that providers docs
REGULAR_DOC_PACKAGES = [
Expand Down
26 changes: 24 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ apache-airflow = "airflow.__main__:main"
"apache-airflow-providers-amazon[s3fs]",
]
"uv" = [
"uv>=0.11.7",
"uv>=0.11.8",
]

[project.urls]
Expand Down Expand Up @@ -1343,7 +1343,12 @@ leveldb = [
]

[tool.uv]
required-version = ">=0.9.17"
# Bump this only when the project actually relies on a newer uv feature/fix. It is a
# minimum contributors must install, NOT the uv CI pins to — keeping it in lockstep
# with AIRFLOW_UV_VERSION would force everyone to upgrade uv on every release. The
# breeze/prek uv version checks read this value dynamically and tolerate a stale
# floor; `scripts/ci/prek/upgrade_important_versions.py` deliberately skips it.
required-version = ">=0.11.8"
no-build-isolation-package = ["sphinx-redoc"]
# Synchroonize with scripts/ci/prek/upgrade_important_versions.py
exclude-newer = "4 days"
Expand Down Expand Up @@ -1479,6 +1484,18 @@ apache-airflow-task-sdk-integration-tests = false
apache-aurflow-docker-stack = false
# End of automatically generated exclude-newer-package entries

# Manual overrides (kept outside the auto-generated block above so the
# update_airflow_pyproject_toml.py script doesn't clobber them).
# uv 0.11.8 lifted the timestamp from `uv.lock` for relative `exclude-newer`
# (https://github.com/astral-sh/uv/issues/18708, fixed in
# https://github.com/astral-sh/uv/pull/19022) — we want that fix, but the
# global 4-day cooldown above would otherwise block a freshly-published uv
# from being adopted as the floor. Drop uv's cooldown to 12 hours so the
# pinned `required-version` floor isn't gated by the project-wide window.
# REMOVE BY 2026-05-01 — once 0.11.8 is older than the global 4-day cooldown
# this override is redundant and should be deleted along with the line below.
uv = "12 hours"

[tool.uv.pip]
# Synchroonize with scripts/ci/prek/upgrade_important_versions.py
exclude-newer = "4 days"
Expand Down Expand Up @@ -1614,6 +1631,11 @@ apache-airflow-task-sdk-integration-tests = false
apache-aurflow-docker-stack = false
# End of automatically generated exclude-newer-package-pip entries

# Manual overrides — see the matching block under
# `[tool.uv.exclude-newer-package]` above for rationale.
# REMOVE BY 2026-05-01 along with the matching entry above.
uv = "12 hours"


[tool.uv.sources]
# These names must match the names as defined in the pyproject.toml of the workspace items,
Expand Down
Loading