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