TGTGInsighttelegram intelligenceLIVE / telegram public index
← python-telegram-bot
python-telegram-bot avatar

TGINSIGHT POST

Post #134

@pythontelegrambotchannel

python-telegram-bot

Views24,400Post view count
PostedJul 907/09/2023, 10:59 AM
Post content

Post content

We’ve just released v20.4. Thank you to everyone who contributed to this release. As usual, upgrade using pip install -U python-telegram-bot. This update drops support for Python 3.7, which reached its end of life on June 6th. python-telegram-bot now requires Python 3.8 or higher. Moreover, this update introduces a new mechanism that allows to customize the concurrent handling of updates. This makes it possible to e.g. handle updates different chats concurrently while still processing updates from the same chat sequentially. See the updated wiki page on concurrency and the documentation of the new BaseUpdateProcessor class for more information. Major Changes • Drop Support for Python 3.7 (#3728, #3742 by @Trifase, #3749 by @thefunkycat, #3740 closes #3732, #3754 closes #3731, #3753, #3764, #3762, #3759 closes #3733) New Features • Make Integration of APScheduler into JobQueue More Explicit (#3695) • Introduce BaseUpdateProcessor for Customized Concurrent Handling of Updates (#3654 closes #3509) Minor Changes • Fix Inconsistent Type Hints for timeout Parameter of Bot.get_updates (#3709 by @revolter) • Use Explicit Optionals (#3692 by @MiguelX413) Bug Fixes • Fix Wrong Warning Text in KeyboardButton.__eq__ (#3768) Documentation Improvements • Explicitly set allowed_updates in Examples (#3741 by @Trifase closes #3726) • Bump furo and sphinx (#3719) • Documentation Improvements (#3698, #3708 by @revolter, #3767) • Add Quotes for Installation Instructions With Optional Dependencies (#3780) • Exclude Type Hints from Stability Policy (#3712) • Set httpx Logging Level to Warning in Examples (#3746 closes #3743) Internal Changes • Drop a Legacy pre-commit.ci Configuration (#3697) • Add Python 3.12 Beta to the Test Matrix (#3751) • Use Temporary Files for Testing File Downloads (#3777) • Auto-Update Changed Version in Other Files After Dependabot PRs (#3716) • Add More ruff Rules (#3763) • Rename _handler.py to _basehandler.py (#3761) • Automatically Label pre-commit-ci PRs (#3713) • Rework pytest Integration into GitHub Actions (#3776) • Fix Two Bugs in GitHub Actions Workflows (#3739) Dependency Updates • Update cachetools requirement from ~=5.3.0 to ~=5.3.1 (#3738) • Update aiolimiter requirement from ~=1.0.0 to ~=1.1.0 (#3707) • pre-commit autoupdate (#3791) • Bump sphinxcontrib-mermaid from 0.8.1 to 0.9.2 (#3737) • Bump pytest-xdist from 3.2.1 to 3.3.0 (#3705) • Bump srvaroa/labeler from 1.5.0 to 1.6.0 (#3786) • Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 (#3787) • Bump dessant/lock-threads from 4.0.0 to 4.0.1 (#3785) • Bump pytest from 7.3.2 to 7.4.0 (#3774) • Update httpx requirement from ~=0.24.0 to ~=0.24.1 (#3715) • Bump pytest-xdist from 3.3.0 to 3.3.1 (#3714) • Bump pytest from 7.3.1 to 7.3.2 (#3758) • pre-commit autoupdate (#3747)