-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Deprecate python-telegram-bot-raw
#4270
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey! Looks like you edited README.rst or README_RAW.rst. I'm just a friendly reminder to apply relevant changes to both of those files :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
channel post seems good. edit: I edited OP to fix a typo
|
Some further typos for the channel post :)
light of day
maintaining
understanding |
Poolitzer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
I built the wheels and double checked the installation on linux & windows. Merging. |
Adresses first part of #4129
Manually tested the warnings. Automated testing doesn't seem to be very straight forward at first glance, so I'm willing to skip it …
Draft for a channel post:
Details
Hi all.
We have decided to deprecate the
python-telegram-bot-rawlibrary and no longer provide updates for it.In Februrary 2021, we introduced the library
python-telegram-bot-rawthat provides thetelegrammodule withouttelegram.ext. Back then, we felt this to be right thing to do since the rather new v13 introduced additional required dependencies for theJobQueue.Since then v20 has seen the light of day however. With v20,
python-telegram-botonly has a single required dependency,httpxfor the networking backend. All other dependencies for further functionality oftelegram.extare purely optional. Moreover, according to the numbers that we are aware of ([1], [2], [3], [4]), thepython-telegram-bot-rawlibrary never gained a considerable user base compared topython-telegram-bot.Since maintaining
python-telegram-bot-rawstill consumes some resources and is currently also hindering the modernization of PTBs packaging setup, we have therefore made this decision. The next release of PTB will add a corresponding warning topython-telegram-bot-raw. This will be the last update forpython-telegram-bot-raw.What does this mean to you?
Almost nothing. All you have to do is remove that trailing
-rawfrom your requirements file. That's it. No code changes are necessary, sincepython-telegram-bot-rawis a subset ofpython-telegram-bot. No additional dependencies will be installed.Thank you for your understanding and your continued usage of the
python-telegram-botlibrary.Your PTB Developer Team