mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-28 11:19:36 +02:00
fix(yamtrack): migrate to uv sync --locked
Upstream dropped requirements.txt in v0.25.3 and migrated to pyproject.toml/uv.lock. Replace uv venv + uv pip install with uv sync --locked in both install and update scripts. Fixes #14730
This commit is contained in:
@@ -44,8 +44,7 @@ function update_script() {
|
||||
|
||||
msg_info "Installing Python Dependencies"
|
||||
cd /opt/yamtrack
|
||||
$STD uv venv --clear .venv
|
||||
$STD uv pip install --no-cache-dir -r requirements.txt
|
||||
$STD uv sync --locked
|
||||
msg_ok "Installed Python Dependencies"
|
||||
|
||||
msg_info "Restoring Data"
|
||||
|
||||
@@ -27,8 +27,7 @@ fetch_and_deploy_gh_release "yamtrack" "FuzzyGrim/Yamtrack" "tarball"
|
||||
|
||||
msg_info "Installing Python Dependencies"
|
||||
cd /opt/yamtrack
|
||||
$STD uv venv .venv
|
||||
$STD uv pip install --no-cache-dir -r requirements.txt
|
||||
$STD uv sync --locked
|
||||
msg_ok "Installed Python Dependencies"
|
||||
|
||||
msg_info "Configuring Yamtrack"
|
||||
|
||||
Reference in New Issue
Block a user