From 6b0ece5da19eed5b49557cee600ed76a54579609 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 27 Jun 2022 21:39:18 +0300 Subject: [PATCH] Update cryptg --- Dockerfile | 4 +++- optional-requirements.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ec89c42e..d2cb71e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,8 +49,10 @@ COPY requirements.txt /opt/mautrix-telegram/requirements.txt COPY optional-requirements.txt /opt/mautrix-telegram/optional-requirements.txt WORKDIR /opt/mautrix-telegram RUN apk add --virtual .build-deps python3-dev libffi-dev build-base \ + && pip3 install /cryptg-0.3.1-cp310-cp310-linux_x86_64.whl \ && pip3 install --no-cache-dir -r requirements.txt -r optional-requirements.txt \ - && apk del .build-deps + && apk del .build-deps \ + && rm -f /cryptg-0.3.1-cp310-cp310-linux_x86_64.whl COPY . /opt/mautrix-telegram RUN apk add git && pip3 install --no-cache-dir .[all] && apk del git \ diff --git a/optional-requirements.txt b/optional-requirements.txt index a52be689..a7d77caa 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -2,7 +2,7 @@ # Uncommented lines after the group definition insert things into that group. #/speedups -cryptg>=0.1,<0.3 +cryptg>=0.1,<0.4 cchardet aiodns brotli