Skip to content

Commit be29860

Browse files
authored
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
1 parent c397a64 commit be29860

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ct/seerr.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ EOF
128128

129129
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "seerr" "seerr-team/seerr" "tarball"
130130

131+
ensure_dependencies build-essential python3-setuptools
132+
131133
msg_info "Updating PNPM Version"
132134
pnpm_desired=$(grep -Po '"pnpm":\s*"\K[^"]+' /opt/seerr/package.json)
133135
NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" setup_nodejs

install/seerr-install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ network_check
1414
update_os
1515

1616
msg_info "Installing Dependencies"
17-
$STD apt-get install -y build-essential
17+
$STD apt install -y \
18+
build-essential \
19+
python3-setuptools
1820
msg_ok "Installed Dependencies"
1921

2022
fetch_and_deploy_gh_release "seerr" "seerr-team/seerr" "tarball"

0 commit comments

Comments
 (0)