Skip to content

Update python-telegram-bot requirement from >=20.0 to >=22.7#331

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-telegram-bot-gte-22.7
Open

Update python-telegram-bot requirement from >=20.0 to >=22.7#331
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-telegram-bot-gte-22.7

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 17, 2026

Updates the requirements on python-telegram-bot to permit the latest version.

Release notes

Sourced from python-telegram-bot's releases.

v22.7

We've just released v22.7. Thank you to everyone who contributed to this release. As usual, upgrade using pip install -U python-telegram-bot.

The release notes can be found here.

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot) to permit the latest version.
- [Release notes](https://github.com/python-telegram-bot/python-telegram-bot/releases)
- [Commits](python-telegram-bot/python-telegram-bot@v20.0...v22.7)

---
updated-dependencies:
- dependency-name: python-telegram-bot
  dependency-version: '22.7'
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 17, 2026
@dcellison
Copy link
Copy Markdown
Owner

Review by Kai

Clean diff - one line change, no logic or security issues.

Warning - potential breaking changes: python-telegram-bot v20 to v22 spans two major versions. The library has had API changes in this range (e.g., changes to Application, CallbackContext, and handler signatures between v20 and v22). This PR only updates the version floor in pyproject.toml but provides no evidence the codebase was tested against v22.x. If any deprecated APIs from v20/v21 were removed in v22, this could cause runtime failures.

Suggestion - missing lock file update: If the project uses uv.lock, poetry.lock, or similar, it's not shown in the diff. A lock file update should accompany this to pin the resolved version and make the bump reproducible.

Suggestion - no changelog review noted: The PR description links to v22.7 release notes but the "compare view" covering v20.0...v22.7 contains many more commits. Worth confirming no deprecation removals affect this project's usage.

Overall: Safe to merge only if the codebase has been validated against python-telegram-bot v22.x. The diff itself is correct. Recommend running the test suite against the bumped version before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant