This is an automated email from the ASF dual-hosted git repository.
potiuk 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 7cc42023eb6 Upgrade `pip` and `uv` (#46075)
7cc42023eb6 is described below
commit 7cc42023eb6b755ccfb9092ef06bd775bed148a6
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Jan 26 18:26:38 2025 +0100
Upgrade `pip` and `uv` (#46075)
---
.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 ++--
scripts/tools/setup_breeze | 2 +-
8 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/.github/actions/install-pre-commit/action.yml
b/.github/actions/install-pre-commit/action.yml
index d2aeecd3974..78a8873a34e 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.23" # 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: "4.1.0" # Keep this comment to allow automatic replacement of
pre-commit version
diff --git a/Dockerfile b/Dockerfile
index 8c6cf1397dd..d459bb9f98a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -53,9 +53,9 @@ ARG PYTHON_BASE_IMAGE="python:3.9-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.23
+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 fc10f521bed..23b743165d3 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -1259,9 +1259,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.23
+ARG AIRFLOW_UV_VERSION=0.5.24
# TODO(potiuk): automate with upgrade check (possibly)
ARG AIRFLOW_PRE_COMMIT_VERSION="4.1.0"
ARG AIRFLOW_PRE_COMMIT_UV_VERSION="4.1.4"
diff --git a/dev/breeze/doc/ci/02_images.md b/dev/breeze/doc/ci/02_images.md
index 1301ad33edf..9c972625d73 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.23` | `uv` version
used.
|
+| `AIRFLOW_PIP_VERSION` | `25.0` | `pip` version
used.
|
+| `AIRFLOW_UV_VERSION` | `0.5.24` | `uv` version
used.
|
| `AIRFLOW_PRE_COMMIT_VERSION` | `4.1.0` | `pre-commit`
version used.
|
| `AIRFLOW_PRE_COMMIT_UV_VERSION` | `4.1.4` |
`pre-commit-uv` version used.
|
| `AIRFLOW_USE_UV` | `true` | Whether to
use UV for 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 4039ae48f81..2525b08c984 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -236,8 +236,8 @@ class VersionedFile(NamedTuple):
file_name: str
-AIRFLOW_PIP_VERSION = "24.3.1"
-AIRFLOW_UV_VERSION = "0.5.23"
+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 b580b3966ba..b7db59b862b 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.23"
+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 9adfb219758..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.23"
+PIP_VERSION="25.0"
+UV_VERSION="0.5.24"
if [[ ${PYTHON_VERSION=} != "" ]]; then
PYTHON_ARG="--python=$(which python"${PYTHON_VERSION}") "
fi
diff --git a/scripts/tools/setup_breeze b/scripts/tools/setup_breeze
index 7a0a67daf83..5de15842228 100755
--- a/scripts/tools/setup_breeze
+++ b/scripts/tools/setup_breeze
@@ -27,7 +27,7 @@ COLOR_YELLOW=$'\e[33m'
COLOR_BLUE=$'\e[34m'
COLOR_RESET=$'\e[0m'
-UV_VERSION="0.5.23"
+UV_VERSION="0.5.24"
function manual_instructions() {
echo