diff --git a/Dockerfile b/Dockerfile index 7171be4977aa0..d9605a11c9698 100644 --- a/Dockerfile +++ b/Dockerfile @@ -997,7 +997,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 0c5a9caeca291..e4c095be2f665 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -988,7 +988,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 @@ -1029,7 +1029,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}" @@ -1043,7 +1047,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 } @@ -1359,7 +1367,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() { @@ -1373,7 +1388,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 dabb4a59eff3d..ab339400aea04 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 8c438b354596d..09455f2b8d299 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 adc76c198fc00..6118e54273367 100644 --- a/scripts/docker/install_airflow_when_building_images.sh +++ b/scripts/docker/install_airflow_when_building_images.sh @@ -201,7 +201,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 58f2d8dedf9f7..dad7477f6ee78 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