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

michaelsmolina pushed a commit to branch 5.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 1a1986a191d58ca9499a6918737adf2f2ab7e056
Author: Hossein Khalilian <[email protected]>
AuthorDate: Thu Apr 10 18:40:26 2025 +0330

    fix(docker): fallback to pip if uv is not available (#33087)
    
    (cherry picked from commit 164a07e2be7854520070a7d845eec449405c4840)
---
 docker/docker-bootstrap.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/docker/docker-bootstrap.sh b/docker/docker-bootstrap.sh
index ebaec6c963..fd017622a1 100755
--- a/docker/docker-bootstrap.sh
+++ b/docker/docker-bootstrap.sh
@@ -50,7 +50,11 @@ fi
 #
 if [ -f "${REQUIREMENTS_LOCAL}" ]; then
   echo "Installing local overrides at ${REQUIREMENTS_LOCAL}"
-  uv pip install --no-cache-dir -r "${REQUIREMENTS_LOCAL}"
+  if command -v uv > /dev/null 2>&1; then
+    uv pip install --no-cache-dir -r "${REQUIREMENTS_LOCAL}"
+  else
+    pip install --no-cache-dir -r "${REQUIREMENTS_LOCAL}"
+  fi
 else
   echo "Skipping local overrides"
 fi

Reply via email to