diff --git a/Dockerfile b/Dockerfile index 19368e4c..6ee096d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,6 @@ RUN apk add --no-cache --virtual .build-deps \ su-exec \ netcat-openbsd \ && pip3 install .[fast_crypto,hq_thumbnails,metrics] \ - && pip3 install --upgrade 'https://github.com/LonamiWebs/Telethon/tarball/master#egg=telethon' \ && apk del .build-deps VOLUME /data diff --git a/requirements.txt b/requirements.txt index f8da589e..6af5d289 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,5 @@ python-magic SQLAlchemy alembic commonmark -#telethon -git+https://github.com/LonamiWebs/Telethon@master#egg=telethon +telethon telethon-session-sqlalchemy diff --git a/setup.py b/setup.py index 1a016a81..f0699627 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ setuptools.setup( "commonmark>=0.8.1,<0.10", "ruamel.yaml>=0.15.35,<0.17", "python-magic>=0.4.15,<0.5", - "telethon>=1.9,<1.10", + "telethon>=1.10,<1.11", "telethon-session-sqlalchemy>=0.2.14,<0.3", ], extras_require=extras,