fix: force reinstall from local checkout to bypass pip cache
pip install -U skips reinstall when version number hasn't changed, causing stale code to remain. Use --force-reinstall --no-cache-dir to ensure local source is always installed fresh. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
3
install
3
install
@@ -553,7 +553,8 @@ wo_install() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f ./setup.py ]; then
|
if [ -f ./setup.py ]; then
|
||||||
/opt/wo/bin/pip install -U . --upgrade-strategy=eager
|
/opt/wo/bin/pip install --force-reinstall --no-cache-dir --no-deps . 2>/dev/null
|
||||||
|
/opt/wo/bin/pip install . --upgrade-strategy=eager
|
||||||
elif [ "$wo_branch" = "master" ]; then
|
elif [ "$wo_branch" = "master" ]; then
|
||||||
/opt/wo/bin/pip install -U wordops --upgrade-strategy=eager
|
/opt/wo/bin/pip install -U wordops --upgrade-strategy=eager
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user