This is an automated email from the ASF dual-hosted git repository.
sfirke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 164a07e2be fix(docker): fallback to pip if uv is not available (#33087)
164a07e2be is described below
commit 164a07e2be7854520070a7d845eec449405c4840
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)
---
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