mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-06 21:29:00 +02:00
Endurain: pin uv to the version required by the project (#15313)
This commit is contained in:
1 parent
6b931ef4d4
commit
edbd570adf
3 files changed
+21
-15
No files matched your search
@@ -61,6 +61,8 @@ function update_script() {
|
||||
|
||||
msg_info "Updating Backend"
|
||||
cd /opt/endurain/backend
|
||||
UV_VERSION=$(grep -Po 'required-version\s*=\s*"\K[^"]+' pyproject.toml 2>/dev/null || echo "0.11.18")
|
||||
UV_VERSION="$UV_VERSION" setup_uv
|
||||
$STD poetry export -f requirements.txt --output requirements.txt --without-hashes
|
||||
$STD uv venv --clear
|
||||
$STD uv pip install -r requirements.txt
|
||||
|
||||
Reference in new issue
Block a user