From be2986075ce3b94ee33ea1781c2e54cfb72764a5 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 16 Mar 2026 11:36:12 +0100 Subject: [PATCH] Seerr: add missing build deps (#12960) * fix(seerr): add python3-setuptools to install and update deps node-gyp's bundled node-gyp (v8.4.1) uses distutils which was removed from Python 3.12+. Adding python3-setuptools provides the distutils shim needed to compile native sqlite3 bindings. Also adds build-essential + python3-setuptools before pnpm install in the update function to match the install script's dependency setup. Fixes #12939 * fix(seerr): use apt instead of apt-get * fix(seerr): use ensure_dependencies in update script --- ct/seerr.sh | 2 ++ install/seerr-install.sh | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ct/seerr.sh b/ct/seerr.sh index f1052be36..a518b5205 100644 --- a/ct/seerr.sh +++ b/ct/seerr.sh @@ -128,6 +128,8 @@ EOF CLEAN_INSTALL=1 fetch_and_deploy_gh_release "seerr" "seerr-team/seerr" "tarball" + ensure_dependencies build-essential python3-setuptools + msg_info "Updating PNPM Version" pnpm_desired=$(grep -Po '"pnpm":\s*"\K[^"]+' /opt/seerr/package.json) NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" setup_nodejs diff --git a/install/seerr-install.sh b/install/seerr-install.sh index a46d233a6..1b38b04fe 100644 --- a/install/seerr-install.sh +++ b/install/seerr-install.sh @@ -14,7 +14,9 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y build-essential +$STD apt install -y \ + build-essential \ + python3-setuptools msg_ok "Installed Dependencies" fetch_and_deploy_gh_release "seerr" "seerr-team/seerr" "tarball"