Skip to content

Commit 283efc9

Browse files
committed
Lock dependencies / use mautrix-python@bump-conn-pool-limit
1 parent 4a6b981 commit 283efc9

File tree

3 files changed

+82
-44
lines changed

3 files changed

+82
-44
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ RUN apk add --virtual .build-deps \
5959
&& apk del .build-deps
6060

6161
COPY . /opt/mautrix-telegram
62-
RUN apk add git && pip3 install .[speedups,hq_thumbnails,metrics,e2be] && apk del git \
63-
# This doesn't make the image smaller, but it's needed so that the `version` command works properly
62+
RUN apk add git && pip3 install .[speedups,hq_thumbnails,metrics,e2be] \
63+
&& pip3 install 'git+https://github.com/vector-im/mautrix-python@bump-conn-pool-limit#egg=mautrix' \
64+
&& apk del git \
6465
&& cp mautrix_telegram/example-config.yaml . && rm -rf mautrix_telegram
6566

6667
VOLUME /data

optional-requirements.txt

-27
This file was deleted.

requirements.txt

+79-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,79 @@
1-
SQLAlchemy>=1.2,<1.4
2-
alembic>=1,<2
3-
ruamel.yaml>=0.15.35,<0.18
4-
python-magic>=0.4,<0.5
5-
commonmark>=0.8,<0.10
6-
aiohttp>=3,<4
7-
yarl>=1,<2
8-
mautrix>=0.10.5,<0.11
9-
#telethon>=1.22,<1.24
10-
# Temporary patch for 64-bit IDs until upstream telethon 2.0 is ready
11-
tulir-telethon==1.24.0a2
12-
telethon-session-sqlalchemy>=0.2.14,<0.3
13-
# as per t2bot reccomendations https://github.com/t2bot/mautrix-telegram/commit/77f6d5ca9d35e36b5cf1ba977497182364998090#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552R11-R12
14-
psycopg2
15-
uvloop
1+
aiodns==3.0.0
2+
aiohttp==3.7.4
3+
alembic==1.6.5
4+
appdirs==1.4.4
5+
asn1crypto==1.4.0
6+
async-timeout==3.0.1
7+
asyncpg==0.24.0
8+
attrs==20.3.0
9+
Automat==20.2.0
10+
Brotli==1.0.9
11+
CacheControl==0.12.6
12+
certifi==2020.12.5
13+
cffi==1.14.5
14+
characteristic==14.3.0
15+
colorama==0.4.4
16+
commonmark==0.9.1
17+
constantly==15.1.0
18+
contextlib2==0.6.0
19+
cryptg==0.2.post4
20+
cryptography==3.3.2
21+
decorator==4.4.2
22+
distlib==0.3.1
23+
distro==1.5.0
24+
filelock==3.0.12
25+
future==0.18.2
26+
html5lib==1.1
27+
hyperlink==21.0.0
28+
imageio==2.9.0
29+
imageio-ffmpeg==0.4.5
30+
incremental==17.5.0
31+
lockfile==0.12.2
32+
Mako==1.1.4
33+
MarkupSafe==2.0.1
34+
moviepy==1.0.3
35+
msgpack==1.0.2
36+
multidict==5.1.0
37+
numpy==1.20.3
38+
olefile==0.46
39+
ordered-set==4.0.2
40+
packaging==20.9
41+
pep517==0.10.0
42+
Pillow==8.2.0
43+
proglog==0.1.9
44+
progress==1.5
45+
prometheus-client==0.11.0
46+
psycopg2==2.8.6
47+
pyaes==1.6.1
48+
pyasn1==0.4.8
49+
pyasn1-modules==0.2.8
50+
pycares==4.1.2
51+
pycparser==2.20
52+
pycryptodome==3.10.1
53+
PyHamcrest==2.0.2
54+
pyparsing==2.4.7
55+
PySocks==1.7.1
56+
python-dateutil==2.8.1
57+
python-editor==1.0.4
58+
python-magic==0.4.20
59+
qrcode==6.1
60+
requests==2.25.1
61+
retrying==1.3.3
62+
rsa==4.7.2
63+
ruamel.yaml==0.16.12
64+
ruamel.yaml.clib==0.2.2
65+
service-identity==18.1.0
66+
six==1.15.0
67+
SQLAlchemy==1.3.21
68+
Telethon==1.23.0
69+
telethon-session-sqlalchemy==0.2.16
70+
toml==0.10.2
71+
tqdm==4.61.1
72+
Twisted==21.2.0
73+
typing-extensions==3.10.0.0
74+
unpaddedbase64==1.1.0
75+
urllib3==1.26.5
76+
virtualenv==20.4.2
77+
webencodings==0.5.1
78+
yarl==1.6.3
79+
zope.interface==5.2.0

0 commit comments

Comments
 (0)