From 50344290221c4c658e19f47b6324a2490c1eb89a Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:28:22 -0400 Subject: [PATCH] fix: unpin cffi from requirements.txt to use system python3-cffi SABnzbd 3.7.2 pins cffi==1.15.1 which is incompatible with Python 3.13 (removed internal API _PyErr_WriteUnraisableMsg). Relax the pin so pip uses the system-installed python3-cffi (Debian Trixie's version). --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index fb5b20d..0ee0c11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,7 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \ + sed -i 's/^cffi==.*/cffi/' /sabnzbd/requirements.txt && \ pip3 install -r /sabnzbd/requirements.txt && \ chown -R sabnzbd: sabnzbd && \ curl -o /tmp/par2cmdline-mt.tar.gz https://codeload.github.com/jkansanen/par2cmdline-mt/tar.gz/${PAR2CMDLINE_VERSION} && \