This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-1-test by this push:
     new f3204b0b473 Convert remaining `pip check` commands to `uv pip check` 
(#59670)
f3204b0b473 is described below

commit f3204b0b473256ac0e524f91c55e72cd82fe2812
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Dec 20 17:42:51 2025 +0100

    Convert remaining `pip check` commands to `uv pip check` (#59670)
    
    Follow up after #59658 - there are few more places where canary
    builds used `pip check` and until the `pip` inconsistent behaviour
    is fixed (https://github.com/pypa/pip/issues/13709) we should use
    `uv pip check` instead.
    
    (cherry picked from commit 33e6d3eb8f0a3b364f81e47a47af0bf54215a0b9)
---
 Dockerfile                                         | 20 +++++++++++---
 Dockerfile.ci                                      | 32 ++++++++++++++++++----
 scripts/docker/entrypoint_ci.sh                    | 18 ++++++++++--
 scripts/docker/install_additional_dependencies.sh  | 12 ++++++--
 .../docker/install_airflow_when_building_images.sh |  2 +-
 .../docker/install_from_docker_context_files.sh    |  6 +++-
 6 files changed, 75 insertions(+), 15 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index e1eaf7ea885..69a2788f290 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -998,7 +998,11 @@ function 
install_airflow_and_providers_from_docker_context_files(){
         "${install_airflow_distribution[@]}" 
"${install_airflow_core_distribution[@]}" "${airflow_distributions[@]}"
     set +x
     common::install_packaging_tools
-    pip check
+    # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
+    # between `pip` and `uv` installations
+    # However, in the current version of `pip` there is a bug that incorrectly 
detects `pagefind-bin` as unsupported
+    # https://github.com/pypa/pip/issues/13709 -> once this is fixed, we 
should bring `pip check` back.
+    uv pip check
 }
 
 function install_all_other_distributions_from_docker_context_files() {
@@ -1235,7 +1239,7 @@ function install_airflow_when_building_images() {
     set +x
     common::install_packaging_tools
     echo
-    echo "${COLOR_BLUE}Running 'uv pip check'${COLOR_RESET}"
+    echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
     echo
     # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
     # between `pip` and `uv` installations
@@ -1276,7 +1280,11 @@ function install_additional_dependencies() {
         echo
         echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
         echo
-        pip check
+        # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
+        # between `pip` and `uv` installations
+        # However, in the current version of `pip` there is a bug that 
incorrectly detects `pagefind-bin` as unsupported
+        # https://github.com/pypa/pip/issues/13709 -> once this is fixed, we 
should bring `pip check` back.
+        uv pip check
     else
         echo
         echo "${COLOR_BLUE}Installing additional dependencies upgrading only 
if needed${COLOR_RESET}"
@@ -1290,7 +1298,11 @@ function install_additional_dependencies() {
         echo
         echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
         echo
-        pip check
+        # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
+        # between `pip` and `uv` installations
+        # However, in the current version of `pip` there is a bug that 
incorrectly detects `pagefind-bin` as unsupported
+        # https://github.com/pypa/pip/issues/13709 -> once this is fixed, we 
should bring `pip check` back.
+        uv pip check
     fi
 }
 
diff --git a/Dockerfile.ci b/Dockerfile.ci
index c6bee261db6..b32aaefc9f3 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -989,7 +989,7 @@ function install_airflow_when_building_images() {
     set +x
     common::install_packaging_tools
     echo
-    echo "${COLOR_BLUE}Running 'uv pip check'${COLOR_RESET}"
+    echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
     echo
     # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
     # between `pip` and `uv` installations
@@ -1030,7 +1030,11 @@ function install_additional_dependencies() {
         echo
         echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
         echo
-        pip check
+        # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
+        # between `pip` and `uv` installations
+        # However, in the current version of `pip` there is a bug that 
incorrectly detects `pagefind-bin` as unsupported
+        # https://github.com/pypa/pip/issues/13709 -> once this is fixed, we 
should bring `pip check` back.
+        uv pip check
     else
         echo
         echo "${COLOR_BLUE}Installing additional dependencies upgrading only 
if needed${COLOR_RESET}"
@@ -1044,7 +1048,11 @@ function install_additional_dependencies() {
         echo
         echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
         echo
-        pip check
+        # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
+        # between `pip` and `uv` installations
+        # However, in the current version of `pip` there is a bug that 
incorrectly detects `pagefind-bin` as unsupported
+        # https://github.com/pypa/pip/issues/13709 -> once this is fixed, we 
should bring `pip check` back.
+        uv pip check
     fi
 }
 
@@ -1360,7 +1368,14 @@ function check_downgrade_sqlalchemy() {
     echo
     # shellcheck disable=SC2086
     ${PACKAGING_TOOL_CMD} install ${EXTRA_INSTALL_FLAGS} 
"sqlalchemy[asyncio]==${min_sqlalchemy_version}"
-    pip check
+    echo
+    echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
+    echo
+    # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
+    # between `pip` and `uv` installations
+    # However, in the current version of `pip` there is a bug that incorrectly 
detects `pagefind-bin` as unsupported
+    # https://github.com/pypa/pip/issues/13709 -> once this is fixed, we 
should bring `pip check` back.
+    uv pip check
 }
 
 function check_downgrade_pendulum() {
@@ -1374,7 +1389,14 @@ function check_downgrade_pendulum() {
     echo
     # shellcheck disable=SC2086
     ${PACKAGING_TOOL_CMD} install ${EXTRA_INSTALL_FLAGS} 
"pendulum==${min_pendulum_version}"
-    pip check
+    echo
+    echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
+    echo
+    # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
+    # between `pip` and `uv` installations
+    # However, in the current version of `pip` there is a bug that incorrectly 
detects `pagefind-bin` as unsupported
+    # https://github.com/pypa/pip/issues/13709 -> once this is fixed, we 
should bring `pip check` back.
+    uv pip check
 }
 
 function check_run_tests() {
diff --git a/scripts/docker/entrypoint_ci.sh b/scripts/docker/entrypoint_ci.sh
index dabb4a59eff..ab339400aea 100755
--- a/scripts/docker/entrypoint_ci.sh
+++ b/scripts/docker/entrypoint_ci.sh
@@ -337,7 +337,14 @@ function check_downgrade_sqlalchemy() {
     echo
     # shellcheck disable=SC2086
     ${PACKAGING_TOOL_CMD} install ${EXTRA_INSTALL_FLAGS} 
"sqlalchemy[asyncio]==${min_sqlalchemy_version}"
-    pip check
+    echo
+    echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
+    echo
+    # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
+    # between `pip` and `uv` installations
+    # However, in the current version of `pip` there is a bug that incorrectly 
detects `pagefind-bin` as unsupported
+    # https://github.com/pypa/pip/issues/13709 -> once this is fixed, we 
should bring `pip check` back.
+    uv pip check
 }
 
 # Download minimum supported version of pendulum to run tests with it
@@ -352,7 +359,14 @@ function check_downgrade_pendulum() {
     echo
     # shellcheck disable=SC2086
     ${PACKAGING_TOOL_CMD} install ${EXTRA_INSTALL_FLAGS} 
"pendulum==${min_pendulum_version}"
-    pip check
+    echo
+    echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
+    echo
+    # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
+    # between `pip` and `uv` installations
+    # However, in the current version of `pip` there is a bug that incorrectly 
detects `pagefind-bin` as unsupported
+    # https://github.com/pypa/pip/issues/13709 -> once this is fixed, we 
should bring `pip check` back.
+    uv pip check
 }
 
 # Check if we should run tests and run them if needed
diff --git a/scripts/docker/install_additional_dependencies.sh 
b/scripts/docker/install_additional_dependencies.sh
index 8c438b35459..09455f2b8d2 100644
--- a/scripts/docker/install_additional_dependencies.sh
+++ b/scripts/docker/install_additional_dependencies.sh
@@ -38,7 +38,11 @@ function install_additional_dependencies() {
         echo
         echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
         echo
-        pip check
+        # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
+        # between `pip` and `uv` installations
+        # However, in the current version of `pip` there is a bug that 
incorrectly detects `pagefind-bin` as unsupported
+        # https://github.com/pypa/pip/issues/13709 -> once this is fixed, we 
should bring `pip check` back.
+        uv pip check
     else
         echo
         echo "${COLOR_BLUE}Installing additional dependencies upgrading only 
if needed${COLOR_RESET}"
@@ -52,7 +56,11 @@ function install_additional_dependencies() {
         echo
         echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
         echo
-        pip check
+        # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
+        # between `pip` and `uv` installations
+        # However, in the current version of `pip` there is a bug that 
incorrectly detects `pagefind-bin` as unsupported
+        # https://github.com/pypa/pip/issues/13709 -> once this is fixed, we 
should bring `pip check` back.
+        uv pip check
     fi
 }
 
diff --git a/scripts/docker/install_airflow_when_building_images.sh 
b/scripts/docker/install_airflow_when_building_images.sh
index fb7c1d86db1..4eab54aa20d 100644
--- a/scripts/docker/install_airflow_when_building_images.sh
+++ b/scripts/docker/install_airflow_when_building_images.sh
@@ -200,7 +200,7 @@ function install_airflow_when_building_images() {
     set +x
     common::install_packaging_tools
     echo
-    echo "${COLOR_BLUE}Running 'uv pip check'${COLOR_RESET}"
+    echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
     echo
     # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
     # between `pip` and `uv` installations
diff --git a/scripts/docker/install_from_docker_context_files.sh 
b/scripts/docker/install_from_docker_context_files.sh
index 58f2d8dedf9..dad7477f6ee 100644
--- a/scripts/docker/install_from_docker_context_files.sh
+++ b/scripts/docker/install_from_docker_context_files.sh
@@ -122,7 +122,11 @@ function 
install_airflow_and_providers_from_docker_context_files(){
         "${install_airflow_distribution[@]}" 
"${install_airflow_core_distribution[@]}" "${airflow_distributions[@]}"
     set +x
     common::install_packaging_tools
-    pip check
+    # Here we should use `pip check` not `uv pip check` to detect any 
incompatibilities that might happen
+    # between `pip` and `uv` installations
+    # However, in the current version of `pip` there is a bug that incorrectly 
detects `pagefind-bin` as unsupported
+    # https://github.com/pypa/pip/issues/13709 -> once this is fixed, we 
should bring `pip check` back.
+    uv pip check
 }
 
 # Simply install all other (non-apache-airflow) distributions placed in 
docker-context files

Reply via email to