fix: also unpin cffi and cryptography in requirements.txt
System python3-cffi (apt) conflicts with cffi==1.15.1 pin; system cryptography conflicts with cryptography==39.0.0 pin. Unpin both so pip uses the Debian-provided versions.
This commit is contained in:
@@ -34,6 +34,8 @@ RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \
|
||||
tar xzf /tmp/sabnzbd.tar.gz && \
|
||||
mv SABnzbd-* sabnzbd && \
|
||||
sed -i '/pywin32/d' /sabnzbd/requirements.txt && \
|
||||
sed -i 's/^cffi==.*/cffi/' /sabnzbd/requirements.txt && \
|
||||
sed -i 's/^cryptography==.*/cryptography/' /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} && \
|
||||
|
||||
Reference in New Issue
Block a user