From b2086a367aab79e5fe1e15db4b22394a6211ec2f Mon Sep 17 00:00:00 2001 From: romsharon98 Date: Sun, 27 Oct 2024 18:42:50 +0200 Subject: [PATCH] upgrade pip version --- .pre-commit-config.yaml | 2 +- Dockerfile | 2 +- Dockerfile.ci | 2 +- .../src/airflow_breeze/commands/release_management_commands.py | 2 +- dev/breeze/src/airflow_breeze/global_constants.py | 2 +- scripts/ci/install_breeze.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f6112cea4c20..90b519448770 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -234,7 +234,7 @@ repos: additional_dependencies: ["libcst>=1.1.0"] files: ^(providers/src/)?airflow/.*/(sensors|operators)/.*\.py$ - repo: https://github.com/asottile/blacken-docs - rev: 1.19.0 + rev: 1.19.1 hooks: - id: blacken-docs name: Run black on docs diff --git a/Dockerfile b/Dockerfile index 6e6467971274..2faa5a7a11ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,7 @@ ARG AIRFLOW_VERSION="2.10.2" ARG PYTHON_BASE_IMAGE="python:3.9-slim-bookworm" -ARG AIRFLOW_PIP_VERSION=24.2 +ARG AIRFLOW_PIP_VERSION=24.3 ARG AIRFLOW_UV_VERSION=0.4.27 ARG AIRFLOW_USE_UV="false" ARG UV_HTTP_TIMEOUT="300" diff --git a/Dockerfile.ci b/Dockerfile.ci index de232681d965..37e65a536ba5 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1362,7 +1362,7 @@ RUN bash /scripts/docker/install_packaging_tools.sh; \ # Here we fix the versions so all subsequent commands will use the versions # from the sources -ARG AIRFLOW_PIP_VERSION=24.2 +ARG AIRFLOW_PIP_VERSION=24.3 ARG AIRFLOW_UV_VERSION=0.4.27 ENV AIRFLOW_PIP_VERSION=${AIRFLOW_PIP_VERSION} \ 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 f20ed3d3fd7c..28d632b7b973 100644 --- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py @@ -229,7 +229,7 @@ class VersionedFile(NamedTuple): file_name: str -AIRFLOW_PIP_VERSION = "24.2" +AIRFLOW_PIP_VERSION = "24.3" AIRFLOW_UV_VERSION = "0.4.27" AIRFLOW_USE_UV = False WHEEL_VERSION = "0.36.2" diff --git a/dev/breeze/src/airflow_breeze/global_constants.py b/dev/breeze/src/airflow_breeze/global_constants.py index e90632330e25..1a2c0c149d77 100644 --- a/dev/breeze/src/airflow_breeze/global_constants.py +++ b/dev/breeze/src/airflow_breeze/global_constants.py @@ -170,7 +170,7 @@ ALLOWED_INSTALL_MYSQL_CLIENT_TYPES = ["mariadb", "mysql"] -PIP_VERSION = "24.2" +PIP_VERSION = "24.3" 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 695739a5e328..eca4c539c4b7 100755 --- a/scripts/ci/install_breeze.sh +++ b/scripts/ci/install_breeze.sh @@ -25,7 +25,7 @@ if [[ ${PYTHON_VERSION=} != "" ]]; then PYTHON_ARG="--python=$(which python"${PYTHON_VERSION}") " fi -python -m pip install --upgrade pip==24.2 +python -m pip install --upgrade pip==24.3 python -m pip install "pipx>=1.4.1" python -m pipx uninstall apache-airflow-breeze >/dev/null 2>&1 || true # shellcheck disable=SC2086