From 2270f4fe40fadde70506049253f146151e11bcbf Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 19 Sep 2023 10:59:15 -0400 Subject: [PATCH] Update pillow --- Dockerfile | 6 ++++-- optional-requirements.txt | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index decb8995..3d554cfd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM dock.mau.dev/tulir/lottieconverter:alpine-3.18 RUN apk add --no-cache \ python3 py3-pip py3-setuptools py3-wheel \ - py3-pillow \ + #py3-pillow \ py3-aiohttp \ py3-magic \ py3-ruamel.yaml \ @@ -32,7 +32,9 @@ RUN apk add --no-cache \ bash \ curl \ jq \ - yq + yq \ + # Temporarily install pillow from edge repo to get up-to-date version + && apk add --no-cache py3-pillow --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community COPY requirements.txt /opt/mautrix-telegram/requirements.txt COPY optional-requirements.txt /opt/mautrix-telegram/optional-requirements.txt diff --git a/optional-requirements.txt b/optional-requirements.txt index 6687fa30..ab132d8b 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -7,7 +7,7 @@ aiodns brotli #/qr_login -pillow>=4,<10 +pillow>=10.0.1,<11 qrcode>=6,<8 #/formattednumbers