From bad2e6bb38b225f133de0b9b09d797109a717dd0 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 19 Sep 2023 10:59:30 -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 4690bbc1..368a78f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM docker.io/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 \ @@ -26,7 +26,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-facebook/requirements.txt COPY optional-requirements.txt /opt/mautrix-facebook/optional-requirements.txt diff --git a/optional-requirements.txt b/optional-requirements.txt index b125aa68..878f8345 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -2,7 +2,7 @@ # Uncommented lines after the group definition insert things into that group. #/animated_stickers -pillow>=4,<10 +pillow>=10.0.1,<11 #/e2be python-olm>=3,<4