Skip to content

Commit 62bdf17

Browse files
committed
Switch installer from --upgrade to --force-reinstall
pip --upgrade still skips reinstall in some cases even with --no-cache-dir. --force-reinstall guarantees the latest version is always downloaded and installed.
1 parent f685e4c commit 62bdf17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fi
5151
echo "Installing devils-advocate..."
5252
"$VENV_DIR/bin/pip" install --upgrade pip >/dev/null 2>&1 || true
5353

54-
if ! "$VENV_DIR/bin/pip" install --no-cache-dir --upgrade devils-advocate; then
54+
if ! "$VENV_DIR/bin/pip" install --no-cache-dir --force-reinstall devils-advocate; then
5555
echo "" >&2
5656
echo "Error: pip install failed. Check the output above for details." >&2
5757
exit 1

0 commit comments

Comments
 (0)