From afd8faab629b85e3cabd25eea679ee553afde027 Mon Sep 17 00:00:00 2001 From: bilulib Date: Mon, 21 Jul 2025 14:51:14 +0200 Subject: [PATCH] Added libyaml-dev and python3-dev to the dependencies for building PyYAML --- install/profilarr-install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install/profilarr-install.sh b/install/profilarr-install.sh index 74ea0e2..308a574 100644 --- a/install/profilarr-install.sh +++ b/install/profilarr-install.sh @@ -18,7 +18,9 @@ APPLICATION="profilarr" msg_info "Installing Dependencies" $STD apt-get install -y \ unzip \ - build-essential + build-essential \ + libyaml-dev \ + python3-dev msg_ok "Installed Dependencies" msg_info "Installing Python" @@ -58,6 +60,9 @@ $STD mv "${EXTRACTED_DIR}/backend" /opt/${APPLICATION}/ $STD mv "${EXTRACTED_DIR}/frontend" /opt/${APPLICATION}/ echo "${RELEASE}" >/opt/${APPLICATION}_version.txt $STD uv venv /opt/${APPLICATION}/venv + +# Install a compatible version of PyYAML first +$STD uv pip install --python /opt/${APPLICATION}/venv/bin/python "PyYAML>=6.0" $STD uv pip install --python /opt/${APPLICATION}/venv/bin/python -r /opt/${APPLICATION}/backend/requirements.txt $STD uv pip install --python /opt/${APPLICATION}/venv/bin/python gunicorn msg_ok "Setup ${APPLICATION}"