This is an automated email from the ASF dual-hosted git repository.
gopidesu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 9a5a80e6df5 Bump UV to 0.5.0 (#43829)
9a5a80e6df5 is described below
commit 9a5a80e6df50e17d28b2d2ceacece7f9e151b78f
Author: GPK <[email protected]>
AuthorDate: Fri Nov 8 18:09:31 2024 +0000
Bump UV to 0.5.0 (#43829)
* bump uv to 0.5.0
* update uv to 0.5.0 in hatch build
---
Dockerfile | 2 +-
Dockerfile.ci | 2 +-
dev/breeze/doc/ci/02_images.md | 2 +-
dev/breeze/src/airflow_breeze/commands/release_management_commands.py | 2 +-
dev/breeze/src/airflow_breeze/global_constants.py | 2 +-
hatch_build.py | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 83243496bd7..c6bff1e5741 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -55,7 +55,7 @@ ARG PYTHON_BASE_IMAGE="python:3.9-slim-bookworm"
# Also use `force pip` label on your PR to swap all places we use `uv` to `pip`
ARG AIRFLOW_PIP_VERSION=24.3.1
# ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main"
-ARG AIRFLOW_UV_VERSION=0.4.30
+ARG AIRFLOW_UV_VERSION=0.5.0
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 60c649e0563..8e81bb07764 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -1373,7 +1373,7 @@ RUN bash /scripts/docker/install_packaging_tools.sh; \
# Also use `force pip` label on your PR to swap all places we use `uv` to `pip`
ARG AIRFLOW_PIP_VERSION=24.3.1
# ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main"
-ARG AIRFLOW_UV_VERSION=0.4.30
+ARG AIRFLOW_UV_VERSION=0.5.0
ENV AIRFLOW_PIP_VERSION=${AIRFLOW_PIP_VERSION} \
AIRFLOW_UV_VERSION=${AIRFLOW_UV_VERSION}
diff --git a/dev/breeze/doc/ci/02_images.md b/dev/breeze/doc/ci/02_images.md
index de1165aec6c..9260586373a 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.30` | UV version
used.
|
+| `AIRFLOW_UV_VERSION` | `0.5.0` | 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 b7e8c1baba1..4ab8331bbd9 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -230,7 +230,7 @@ class VersionedFile(NamedTuple):
AIRFLOW_PIP_VERSION = "24.3.1"
-AIRFLOW_UV_VERSION = "0.4.30"
+AIRFLOW_UV_VERSION = "0.5.0"
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 03b0316564e..471666273fc 100644
--- a/dev/breeze/src/airflow_breeze/global_constants.py
+++ b/dev/breeze/src/airflow_breeze/global_constants.py
@@ -184,7 +184,7 @@ if MYSQL_INNOVATION_RELEASE:
ALLOWED_INSTALL_MYSQL_CLIENT_TYPES = ["mariadb", "mysql"]
PIP_VERSION = "24.3.1"
-UV_VERSION = "0.4.30"
+UV_VERSION = "0.5.0"
DEFAULT_UV_HTTP_TIMEOUT = 300
DEFAULT_WSL2_HTTP_TIMEOUT = 900
diff --git a/hatch_build.py b/hatch_build.py
index 37ef8debde0..fc2faee57b3 100644
--- a/hatch_build.py
+++ b/hatch_build.py
@@ -141,7 +141,7 @@ CORE_EXTRAS: dict[str, list[str]] = {
"statsd>=3.3.0",
],
"uv": [
- "uv>=0.1.32",
+ "uv>=0.5.0",
],
}