From 0244977abe154b8ae12faef96c24e04c997b1344 Mon Sep 17 00:00:00 2001 From: Kaxil Naik Date: Fri, 20 Dec 2024 15:07:00 +0530 Subject: [PATCH] Bump uv to 0.5.11 (#45105) https://github.com/astral-sh/uv/releases/tag/0.5.11 --- .github/actions/install-pre-commit/action.yml | 2 +- Dockerfile | 2 +- Dockerfile.ci | 4 ++-- dev/breeze/doc/ci/02_images.md | 2 +- .../airflow_breeze/commands/release_management_commands.py | 2 +- dev/breeze/src/airflow_breeze/global_constants.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/install-pre-commit/action.yml b/.github/actions/install-pre-commit/action.yml index 02eea2c722917..57624f48e8928 100644 --- a/.github/actions/install-pre-commit/action.yml +++ b/.github/actions/install-pre-commit/action.yml @@ -24,7 +24,7 @@ inputs: default: 3.9 uv-version: description: 'uv version to use' - default: 0.4.29 + default: 0.5.11 pre-commit-version: description: 'pre-commit version to use' default: 4.0.1 diff --git a/Dockerfile b/Dockerfile index 4cdf1a8bb3409..5ac5fd61e1228 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,7 +50,7 @@ ARG AIRFLOW_VERSION="2.9.3" ARG PYTHON_BASE_IMAGE="python:3.8-slim-bookworm" ARG AIRFLOW_PIP_VERSION=24.3.1 -ARG AIRFLOW_UV_VERSION=0.4.29 +ARG AIRFLOW_UV_VERSION=0.5.11 ARG AIRFLOW_USE_UV="false" ARG UV_HTTP_TIMEOUT="300" ARG AIRFLOW_IMAGE_REPOSITORY="https://github.com/apache/airflow" diff --git a/Dockerfile.ci b/Dockerfile.ci index e188a7ec39115..16d3b29cf478f 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1298,7 +1298,7 @@ ARG DEFAULT_CONSTRAINTS_BRANCH="constraints-main" ARG AIRFLOW_CI_BUILD_EPOCH="10" ARG AIRFLOW_PRE_CACHED_PIP_PACKAGES="true" ARG AIRFLOW_PIP_VERSION=24.3.1 -ARG AIRFLOW_UV_VERSION=0.4.29 +ARG AIRFLOW_UV_VERSION=0.5.11 ARG AIRFLOW_USE_UV="true" # Setup PIP # By default PIP install run without cache to make image smaller @@ -1322,7 +1322,7 @@ ARG AIRFLOW_VERSION="" ARG ADDITIONAL_PIP_INSTALL_FLAGS="" ARG AIRFLOW_PIP_VERSION=24.3.1 -ARG AIRFLOW_UV_VERSION=0.4.29 +ARG AIRFLOW_UV_VERSION=0.5.11 ARG AIRFLOW_USE_UV="true" ENV AIRFLOW_REPO=${AIRFLOW_REPO}\ diff --git a/dev/breeze/doc/ci/02_images.md b/dev/breeze/doc/ci/02_images.md index 1db263f8b3aa0..94d97c6962e91 100644 --- a/dev/breeze/doc/ci/02_images.md +++ b/dev/breeze/doc/ci/02_images.md @@ -448,7 +448,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` | `24.3.1` | PIP version used. | -| `AIRFLOW_UV_VERSION` | `0.4.29` | UV version used. | +| `AIRFLOW_UV_VERSION` | `0.5.11` | UV version used. | | `AIRFLOW_USE_UV` | `true` | Whether to use UV for installation. | | `PIP_PROGRESS_BAR` | `on` | Progress bar for PIP installation | diff --git a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py index 9defbe7ef4d41..6081b41a59b5f 100644 --- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py @@ -227,7 +227,7 @@ class VersionedFile(NamedTuple): AIRFLOW_PIP_VERSION = "24.3.1" -AIRFLOW_UV_VERSION = "0.4.29" +AIRFLOW_UV_VERSION = "0.5.11" AIRFLOW_USE_UV = False # TODO: automate thsese as well WHEEL_VERSION = "0.44.0" diff --git a/dev/breeze/src/airflow_breeze/global_constants.py b/dev/breeze/src/airflow_breeze/global_constants.py index 791e07cfe718f..2e1b76dd0318f 100644 --- a/dev/breeze/src/airflow_breeze/global_constants.py +++ b/dev/breeze/src/airflow_breeze/global_constants.py @@ -156,7 +156,7 @@ ALLOWED_INSTALL_MYSQL_CLIENT_TYPES = ["mariadb", "mysql"] PIP_VERSION = "24.3.1" -UV_VERSION = "0.4.29" +UV_VERSION = "0.5.11" DEFAULT_UV_HTTP_TIMEOUT = 300 DEFAULT_WSL2_HTTP_TIMEOUT = 900