kaxil commented on code in PR #59658:
URL: https://github.com/apache/airflow/pull/59658#discussion_r2637034199


##########
Dockerfile.ci:
##########
@@ -988,9 +988,9 @@ function install_airflow_when_building_images() {
     set +x
     common::install_packaging_tools
     echo
-    echo "${COLOR_BLUE}Running 'pip check'${COLOR_RESET}"
+    echo "${COLOR_BLUE}Running 'uv pip check'${COLOR_RESET}"
     echo
-    pip check
+    uv pip check

Review Comment:
   I should have added a comment, `pip check` fails when installing 
`pagefind[bin]` with a unsupported platform error when running `breeze 
build-docs --package-filter "apache-airflow" --docs-only --clean-build` -- 
however pagefind works perfectly well. 
   
   ```
   21.84 prek(0.2.22) uv(0.9.18)
   21.84
   21.87 `prek==0.2.22` is already installed
   21.87
   21.87 Running 'pip check'
   21.87
   23.53 pagefind_bin 1.4.0 is not supported on this platform
   ------
   ERROR: failed to build: failed to solve: process "/bin/bash -o pipefail -o 
errexit -o nounset -o nolog -c bash 
/scripts/docker/install_airflow_when_building_images.sh" did not complete 
successfully: exit code: 1
   Attempting to build with --upgrade-to-newer-dependencies on failure
   ```
   
   which I think is some sort of bug in `pip check`. `uv pip check` doesn't 
raise error.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to