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

Update python-telegram-bot to 20.6 #222

Open
OniMock opened this issue Nov 24, 2023 · 4 comments
Open

Update python-telegram-bot to 20.6 #222

OniMock opened this issue Nov 24, 2023 · 4 comments
Labels
chore An improvement in code quality that doesn't involve development of a new feature. dependencies Pull requests that update a dependency file

Comments

@OniMock
Copy link

OniMock commented Nov 24, 2023

Describe the proposed feature

Is it possible to update the python-telegram-bot dependency to version 20.6?

I tried to update, but I couldn't implement it in the code.

@OniMock OniMock added the feature A request for a new feature. label Nov 24, 2023
@Steffo99 Steffo99 added dependencies Pull requests that update a dependency file chore An improvement in code quality that doesn't involve development of a new feature. and removed feature A request for a new feature. labels Nov 24, 2023
@Steffo99
Copy link
Owner

I think the library has changed a lot since then, it's not a trivial task...

@OniMock
Copy link
Author

OniMock commented Nov 26, 2023

Yes, it's very difficult.
most methods can be transformed into async, but in the work class method __receive_next_update

I can't return the data variable that is inside the try
Always ends up falling into the except queuem.Empty

I've already tried transforming it into asyncio.Queue, but I didn't get any results.

@Steffo99 Steffo99 changed the title Update: Dependencie - python-telegram-bot Update python-telegram-bot to 20.6 Nov 26, 2023
@codewarnab
Copy link

i can do this i have updated many ptb repos ro v20 from v13

@techistoner
Copy link

Whether there is the possibility of upgrading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore An improvement in code quality that doesn't involve development of a new feature. dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

4 participants