Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No dependency version for python-telegram-bot is specified in the Documentation #1682

Open
kindejak opened this issue Feb 8, 2024 · 1 comment

Comments

@kindejak
Copy link

kindejak commented Feb 8, 2024

Description:
The current documentation for installing the python-telegram-bot dependency lacks specification for the required version. This leads to unintended behavior where version 20.8 is installed by default when installing via pip, causing compatibility issues with errbot, specifically resulting in the error "AttributeError: 'coroutine' object has no attribute 'id'".

Suggested Solution:
Update the documentation to specify that the python-telegram-bot dependency, either:
pip install python-telegram-bot==13.15
or
pip install errbot[telegram]

@nzlosh
Copy link
Contributor

nzlosh commented Feb 8, 2024

This sounds reasonable, would you mind opening a pull request with the suggested changes? https://github.com/errbotio/errbot/blob/master/docs/user_guide/configuration/telegram.rst

kindejak added a commit to kindejak/errbot that referenced this issue Feb 8, 2024
Update pip command in telegram.rst to install proper version of python-telegram-bot package, fixes errbotio#1682
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants