fix uv clearing on update
This commit is contained in:
@@ -43,7 +43,7 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Rebuilding Python Environment"
|
msg_info "Rebuilding Python Environment"
|
||||||
cd /opt/arm
|
cd /opt/arm
|
||||||
$STD uv venv /opt/arm/venv
|
$STD uv venv --clear /opt/arm/venv
|
||||||
$STD uv pip install --python /opt/arm/venv/bin/python \
|
$STD uv pip install --python /opt/arm/venv/bin/python \
|
||||||
-r <(curl -fsSL https://raw.githubusercontent.com/automatic-ripping-machine/arm-dependencies/main/requirements.txt) \
|
-r <(curl -fsSL https://raw.githubusercontent.com/automatic-ripping-machine/arm-dependencies/main/requirements.txt) \
|
||||||
-r requirements.txt
|
-r requirements.txt
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Updating Fireshare"
|
msg_info "Updating Fireshare"
|
||||||
cd /opt/fireshare
|
cd /opt/fireshare
|
||||||
$STD uv venv
|
$STD uv venv --clear
|
||||||
$STD .venv/bin/python -m ensurepip --upgrade
|
$STD .venv/bin/python -m ensurepip --upgrade
|
||||||
$STD .venv/bin/python -m pip install --upgrade --break-system-packages pip
|
$STD .venv/bin/python -m pip install --upgrade --break-system-packages pip
|
||||||
$STD .venv/bin/python -m pip install --no-cache-dir --break-system-packages --ignore-installed app/server
|
$STD .venv/bin/python -m pip install --no-cache-dir --break-system-packages --ignore-installed app/server
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Updating Python Dependencies"
|
msg_info "Updating Python Dependencies"
|
||||||
cd /opt/soulsync
|
cd /opt/soulsync
|
||||||
$STD uv venv /opt/soulsync/.venv --python 3.11
|
$STD uv venv --clear /opt/soulsync/.venv --python 3.11
|
||||||
$STD /opt/soulsync/.venv/bin/pip install -r requirements-webui.txt
|
$STD /opt/soulsync/.venv/bin/pip install -r requirements-webui.txt
|
||||||
msg_ok "Updated Python Dependencies"
|
msg_ok "Updated Python Dependencies"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user