From 4db4b1dea720442a25cee1bb088f0b1ec3aaeac2 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Wed, 27 Mar 2024 07:26:34 +0100 Subject: [PATCH] Fix --- manifest.toml | 2 +- scripts/_common.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 5bf061a..087c621 100644 --- a/manifest.toml +++ b/manifest.toml @@ -66,7 +66,7 @@ ram.runtime = "500M" api.protected = true [resources.apt] - packages = ["python3-venv", "python3-dev", "ffmpeg", "postgresql"] + packages = ["python3-venv", "python3-dev", "ffmpeg", "postgresql", "wget", "build-essential", "libreadline-dev", "libncursesw5-dev", "libssl-dev", "libsqlite3-dev", "tk-dev", "libgdbm-dev", "libc6-dev", "libbz2-dev", "libffi-dev", "zlib1g-dev"] extras.postgresql.repo = "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16" extras.postgresql.key = "https://www.postgresql.org/media/keys/ACCC4CF8.asc" diff --git a/scripts/_common.sh b/scripts/_common.sh index f72e3e3..62da058 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -178,10 +178,10 @@ myynh_install_immich() { set -o nounset # add poetry - "$install_dir/app/machine-learning/venv/bin/pip3" install --upgrade poetry + ynh_exec_warn_less "$install_dir/app/machine-learning/venv/bin/pip3" install --upgrade poetry # poetry install - "$install_dir/app/machine-learning/venv/bin/poetry" install --no-root --with dev --with cpu + ynh_exec_warn_less "$install_dir/app/machine-learning/venv/bin/poetry" install --no-root --with dev --with cpu ) cp -a "$tmpdir/machine-learning/ann" "$install_dir/app/machine-learning/" cp -a "$tmpdir/machine-learning/start.sh" "$install_dir/app/machine-learning/"