This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new a5726a5a0de [v2-10-test] Upgrade uv and pip (#46078)
a5726a5a0de is described below
commit a5726a5a0dee892264ad5fc25ef225b02d6403c4
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Jan 26 19:07:27 2025 +0100
[v2-10-test] Upgrade uv and pip (#46078)
(cherry picked from commit 7cc42023eb6b755ccfb9092ef06bd775bed148a6)
---
.github/actions/install-pre-commit/action.yml | 2 +-
Dockerfile | 4 ++--
Dockerfile.ci | 4 ++--
dev/breeze/doc/ci/02_images.md | 4 ++--
dev/breeze/src/airflow_breeze/commands/release_management_commands.py | 4 ++--
dev/breeze/src/airflow_breeze/global_constants.py | 4 ++--
scripts/ci/install_breeze.sh | 4 ++--
7 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/.github/actions/install-pre-commit/action.yml
b/.github/actions/install-pre-commit/action.yml
index 5e9ed3f2a4e..cb053ac7e77 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.5.17" # Keep this comment to allow automatic replacement of
uv version
+ default: "0.5.24" # Keep this comment to allow automatic replacement of
uv version
pre-commit-version:
description: 'pre-commit version to use'
default: "3.5.0" # Keep this comment to allow automatic replacement of
pre-commit version
diff --git a/Dockerfile b/Dockerfile
index a96ddc40db7..de4a18d6a94 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -53,9 +53,9 @@ ARG PYTHON_BASE_IMAGE="python:3.8-slim-bookworm"
# You can swap comments between those two args to test pip from the main
version
# When you attempt to test if the version of `pip` from specified branch works
for our builds
# 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=25.0
# ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main"
-ARG AIRFLOW_UV_VERSION=0.5.17
+ARG AIRFLOW_UV_VERSION=0.5.24
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 ca526f53f8a..dc3276f948d 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -1249,9 +1249,9 @@ COPY --from=scripts common.sh install_packaging_tools.sh
install_additional_depe
# You can swap comments between those two args to test pip from the main
version
# When you attempt to test if the version of `pip` from specified branch works
for our builds
# 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=25.0
# ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main"
-ARG AIRFLOW_UV_VERSION=0.5.17
+ARG AIRFLOW_UV_VERSION=0.5.24
# TODO(potiuk): automate with upgrade check (possibly)
ARG AIRFLOW_PRE_COMMIT_VERSION="3.5.0"
diff --git a/dev/breeze/doc/ci/02_images.md b/dev/breeze/doc/ci/02_images.md
index df8446f5a86..ff7ebedc72a 100644
--- a/dev/breeze/doc/ci/02_images.md
+++ b/dev/breeze/doc/ci/02_images.md
@@ -442,8 +442,8 @@ can be used for CI images:
| `DEV_APT_DEPS` | | Dev APT
dependencies installed in the first part of the image (default empty means
default dependencies are used) |
| `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.5.17` | `uv` version
used.
|
+| `AIRFLOW_PIP_VERSION` | `25.0` | `pip` version
used.
|
+| `AIRFLOW_UV_VERSION` | `0.5.24` | `uv` version
used.
|
| `AIRFLOW_PRE_COMMIT_VERSION` | `3.5.0` | `pre-commit`
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 93220b2572f..efeb839d3bd 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -233,8 +233,8 @@ class VersionedFile(NamedTuple):
file_name: str
-AIRFLOW_PIP_VERSION = "24.3.1"
-AIRFLOW_UV_VERSION = "0.5.17"
+AIRFLOW_PIP_VERSION = "25.0"
+AIRFLOW_UV_VERSION = "0.5.24"
AIRFLOW_USE_UV = False
# TODO: automate these 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 91bb72e4dba..6f48f645883 100644
--- a/dev/breeze/src/airflow_breeze/global_constants.py
+++ b/dev/breeze/src/airflow_breeze/global_constants.py
@@ -188,8 +188,8 @@ if MYSQL_INNOVATION_RELEASE:
ALLOWED_INSTALL_MYSQL_CLIENT_TYPES = ["mariadb", "mysql"]
-PIP_VERSION = "24.3.1"
-UV_VERSION = "0.5.17"
+PIP_VERSION = "25.0"
+UV_VERSION = "0.5.24"
DEFAULT_UV_HTTP_TIMEOUT = 300
DEFAULT_WSL2_HTTP_TIMEOUT = 900
diff --git a/scripts/ci/install_breeze.sh b/scripts/ci/install_breeze.sh
index 093c8f6db9c..5259628a579 100755
--- a/scripts/ci/install_breeze.sh
+++ b/scripts/ci/install_breeze.sh
@@ -21,8 +21,8 @@ cd "$( dirname "${BASH_SOURCE[0]}" )/../../"
PYTHON_ARG=""
-PIP_VERSION="24.3.1"
-UV_VERSION="0.5.17"
+PIP_VERSION="25.0"
+UV_VERSION="0.5.24"
if [[ ${PYTHON_VERSION=} != "" ]]; then
PYTHON_ARG="--python=$(which python"${PYTHON_VERSION}") "
fi