mistercrunch commented on code in PR #31606:
URL: https://github.com/apache/superset/pull/31606#discussion_r1896035884


##########
docker/docker-bootstrap.sh:
##########
@@ -18,13 +18,12 @@
 
 set -eo pipefail
 
-# UV may not be installed in older images
-pip install uv
-
 # Make python interactive
 if [ "$DEV_MODE" == "true" ]; then
-    echo "Reinstalling the app in editable mode"
-    uv pip install -e .
+    if command -v uv > /dev/null 2>&1; then
+      echo "Reinstalling the app in editable mode"
+      uv pip install -e .
+    fi
 fi

Review Comment:
   Don't need to reinstall in dev mode where `uv` is not present as it was the 
default install in that era



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to