LonamiWebs / Telethon

Pure Python 3 MTProto API Telegram client library, for bots too!

Home Page:https://docs.telethon.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[v2] Pyproject.toml minimum Python version is too low

nemec opened this issue · comments

Describe your suggested feature

So it looks like typing.Self (used here) is added in Python 3.11 but your current pyproject.toml in the V2 branch specifies Python 3.8 as the minimum version. I was able to successfully install after installing Python 3.11 in a venv. Not a huge issue, but before you release 2.0 you'll probably want to bump this version in pyproject.toml

https://docs.python.org/3/library/typing.html#typing.Self

Checklist

  • I have searched for this issue before posting it and there isn't a duplicate.