Skip to content

Commit

Permalink
update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
gpchelkin committed Jul 6, 2023
1 parent aab28b6 commit 52df6e2
Show file tree
Hide file tree
Showing 6 changed files with 149 additions and 122 deletions.
224 changes: 114 additions & 110 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ sphinx-autodoc-typehints = "^1.23"
m2r2 = "^0.3"
tomli = "^2.0"
recommonmark = "^0.7"
typing-extensions = "^4.5"
typing-extensions = "^4.7"


[tool.isort]
Expand Down
10 changes: 5 additions & 5 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ darglint==1.8.1 ; python_version >= "3.9" and python_version < "4.0"
dictdiffer==0.9.0 ; python_version >= "3.9" and python_version < "4.0"
doc8==1.1.1 ; python_version >= "3.9" and python_version < "4.0"
docutils==0.20.1 ; python_version >= "3.9" and python_version < "4.0"
dparse==0.6.2 ; python_version >= "3.9" and python_version < "4.0"
dparse==0.6.3 ; python_version >= "3.9" and python_version < "4.0"
dpath==2.1.6 ; python_version >= "3.9" and python_version < "4.0"
entrypoints==0.4 ; python_version >= "3.9" and python_version < "4.0"
eradicate==2.3.0 ; python_version >= "3.9" and python_version < "4.0"
exceptiongroup==1.1.1 ; python_version >= "3.9" and python_version < "3.11"
exceptiongroup==1.1.2 ; python_version >= "3.9" and python_version < "3.11"
flake8-bandit==3.0.0 ; python_version >= "3.9" and python_version < "4.0"
flake8-broken-line==0.5.0 ; python_version >= "3.9" and python_version < "4.0"
flake8-bugbear==22.12.6 ; python_version >= "3.9" and python_version < "4.0"
Expand Down Expand Up @@ -63,7 +63,7 @@ pyflakes==2.4.0 ; python_version >= "3.9" and python_version < "4.0"
pygments==2.15.1 ; python_version >= "3.9" and python_version < "4.0"
python-slugify==8.0.1 ; python_version >= "3.9" and python_version < "4.0"
pyyaml==6.0 ; python_version >= "3.9" and python_version < "4.0"
requests-cache==1.0.1 ; python_version >= "3.9" and python_version < "4.0"
requests-cache==1.1.0 ; python_version >= "3.9" and python_version < "4.0"
requests==2.31.0 ; python_version >= "3.9" and python_version < "4.0"
restructuredtext-lint==1.4.0 ; python_version >= "3.9" and python_version < "4.0"
rich==13.4.2 ; python_version >= "3.9" and python_version < "4.0"
Expand All @@ -76,12 +76,12 @@ smmap==5.0.0 ; python_version >= "3.9" and python_version < "4.0"
snowballstemmer==2.2.0 ; python_version >= "3.9" and python_version < "4.0"
sortedcontainers==2.4.0 ; python_version >= "3.9" and python_version < "4.0"
stevedore==5.1.0 ; python_version >= "3.9" and python_version < "4.0"
strenum==0.4.10 ; python_version >= "3.9" and python_version < "4.0"
strenum==0.4.15 ; python_version >= "3.9" and python_version < "4.0"
text-unidecode==1.3 ; python_version >= "3.9" and python_version < "4.0"
toml==0.10.2 ; python_version >= "3.9" and python_version < "4.0"
tomli==2.0.1 ; python_version >= "3.9" and python_version < "3.11"
tomlkit==0.11.8 ; python_version >= "3.9" and python_version < "4.0"
typing-extensions==4.6.3 ; python_version >= "3.9" and python_version < "4.0"
typing-extensions==4.7.1 ; python_version >= "3.9" and python_version < "4.0"
url-normalize==1.4.3 ; python_version >= "3.9" and python_version < "4.0"
urllib3==2.0.3 ; python_version >= "3.9" and python_version < "4.0"
wemake-python-styleguide==0.17.0 ; python_version >= "3.9" and python_version < "4.0"
Expand Down
4 changes: 2 additions & 2 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pygments==2.15.1 ; python_version >= "3.9" and python_version < "4.0"
recommonmark==0.7.1 ; python_version >= "3.9" and python_version < "4.0"
requests==2.31.0 ; python_version >= "3.9" and python_version < "4.0"
snowballstemmer==2.2.0 ; python_version >= "3.9" and python_version < "4.0"
sphinx-autodoc-typehints==1.23.2 ; python_version >= "3.9" and python_version < "4.0"
sphinx-autodoc-typehints==1.23.3 ; python_version >= "3.9" and python_version < "4.0"
sphinx==7.0.1 ; python_version >= "3.9" and python_version < "4.0"
sphinxcontrib-applehelp==1.0.4 ; python_version >= "3.9" and python_version < "4.0"
sphinxcontrib-devhelp==1.0.2 ; python_version >= "3.9" and python_version < "4.0"
Expand All @@ -26,6 +26,6 @@ sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.9" and python_version < "4.0"
sphinxcontrib-qthelp==1.0.3 ; python_version >= "3.9" and python_version < "4.0"
sphinxcontrib-serializinghtml==1.1.5 ; python_version >= "3.9" and python_version < "4.0"
tomli==2.0.1 ; python_version >= "3.9" and python_version < "4.0"
typing-extensions==4.6.3 ; python_version >= "3.9" and python_version < "4.0"
typing-extensions==4.7.1 ; python_version >= "3.9" and python_version < "4.0"
urllib3==2.0.3 ; python_version >= "3.9" and python_version < "4.0"
zipp==3.15.0 ; python_version >= "3.9" and python_version < "3.10"
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
anyio==3.7.0 ; python_version >= "3.9" and python_version < "4.0"
anyio==3.7.1 ; python_version >= "3.9" and python_version < "4.0"
apscheduler==3.10.1 ; python_version >= "3.9" and python_version < "4.0"
args==0.1.0 ; python_version >= "3.9" and python_version < "4.0"
bandcamp-downloader==0.0.13 ; python_version >= "3.9" and python_version < "4.0"
Expand All @@ -14,20 +14,20 @@ clint==0.5.1 ; python_version >= "3.9" and python_version < "4.0"
dacite==1.8.1 ; python_version >= "3.9" and python_version < "4.0"
demjson3==3.0.6 ; python_version >= "3.9" and python_version < "4.0"
docopt==0.6.2 ; python_version >= "3.9" and python_version < "4.0"
exceptiongroup==1.1.1 ; python_version >= "3.9" and python_version < "3.11"
exceptiongroup==1.1.2 ; python_version >= "3.9" and python_version < "3.11"
fake-useragent==1.1.3 ; python_version >= "3.9" and python_version < "4.0"
ffmpeg-python==0.2.0 ; python_version >= "3.9" and python_version < "4.0"
future==0.18.3 ; python_version >= "3.9" and python_version < "4.0"
h11==0.14.0 ; python_version >= "3.9" and python_version < "4.0"
h2==4.1.0 ; python_version >= "3.9" and python_version < "4.0"
hpack==4.0.0 ; python_version >= "3.9" and python_version < "4.0"
httpcore==0.17.2 ; python_version >= "3.9" and python_version < "4.0"
httpcore==0.17.3 ; python_version >= "3.9" and python_version < "4.0"
httpx==0.24.1 ; python_version >= "3.9" and python_version < "4.0"
httpx[http2]==0.24.1 ; python_version >= "3.9" and python_version < "4.0"
hyperframe==6.0.1 ; python_version >= "3.9" and python_version < "4.0"
idna==3.4 ; python_version >= "3.9" and python_version < "4.0"
importlib-resources==5.12.0 ; python_version >= "3.9" and python_version < "3.10"
lxml==4.9.2 ; python_version >= "3.9" and python_version < "4.0"
lxml==4.9.3 ; python_version >= "3.9" and python_version < "4.0"
mock==5.0.2 ; python_version >= "3.9" and python_version < "4.0"
mutagen==1.46.0 ; python_version >= "3.9" and python_version < "4.0"
pathvalidate==3.0.0 ; python_version >= "3.9" and python_version < "4.0"
Expand Down
23 changes: 23 additions & 0 deletions telegram-bot-api.service.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# https://github.com/tdlib/telegram-bot-api
# https://tdlib.github.io/telegram-bot-api/build.html

[Unit]
Description=telegram-bot-api
After=network.target

[Service]
Type=simple
ExecStart=/usr/local/bin/telegram-bot-api --api-id=changeme --api-hash=changeme --local --http-ip-address=127.0.0.1 --http-port=8081 --http-stat-ip-address=127.0.0.1 --http-stat-port=8082 --dir=/root/telegram-bot-api/work --temp-dir=/root/telegram-bot-api/temp --log=/root/telegram-bot-api/log
Restart=always
RuntimeMaxSec=12h
RestartSec=1
# https://github.com/tdlib/telegram-bot-api/issues/131
MemoryHigh=250M
MemoryMax=400M
TasksMax=infinity
LimitAS=infinity
LimitRSS=infinity
LimitNOFILE=65536

[Install]
WantedBy=multi-user.target

0 comments on commit 52df6e2

Please sign in to comment.