From 2b7eed26307b14958f2f8e164611d678acc6f9e7 Mon Sep 17 00:00:00 2001 From: mikolaj92 <7442637+mikolaj92@users.noreply.github.com> Date: Tue, 10 Feb 2026 20:33:47 +0100 Subject: [PATCH] calibre-web: use uv sync (native) instead of pip-compatible install --- ct/calibre-web.sh | 2 +- install/calibre-web-install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/calibre-web.sh b/ct/calibre-web.sh index 0400755db..e9254001a 100644 --- a/ct/calibre-web.sh +++ b/ct/calibre-web.sh @@ -44,7 +44,7 @@ function update_script() { msg_info "Installing Dependencies" cd /opt/calibre-web - $STD uv pip install --system --no-cache-dir -r requirements.txt + $STD uv sync --no-dev msg_ok "Installed Dependencies" msg_info "Restoring Data" diff --git a/install/calibre-web-install.sh b/install/calibre-web-install.sh index 3ec8c8adc..d899f3b76 100644 --- a/install/calibre-web-install.sh +++ b/install/calibre-web-install.sh @@ -35,7 +35,7 @@ setup_uv msg_info "Installing Python Dependencies" cd /opt/calibre-web -$STD uv pip install --system --no-cache-dir -r requirements.txt +$STD uv sync --no-dev msg_ok "Installed Python Dependencies" mkdir -p /opt/calibre-web/data @@ -50,7 +50,7 @@ After=network.target Type=simple User=root WorkingDirectory=/opt/calibre-web -ExecStart=/usr/bin/python3 /opt/calibre-web/cps.py +ExecStart=/opt/calibre-web/.venv/bin/python /opt/calibre-web/cps.py Restart=on-failure RestartSec=5