Skip to content

Commit

Permalink
Update httpx requirement from ~=0.22.0 to ~=0.23.0 (#3069)
Browse files Browse the repository at this point in the history
* Update httpx requirement from ~=0.22.0 to ~=0.23.0

Updates the requirements on [httpx](https://github.com/encode/httpx) to permit the latest version.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](encode/httpx@0.22.0...0.23.0)

---
updated-dependencies:
- dependency-name: httpx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* update other places as well

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and Bibo-Joshi committed Jun 2, 2022
1 parent 8e7220e commit 5f547f3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -33,7 +33,7 @@ repos:
- --jobs=0

additional_dependencies:
- httpx~=0.22.0
- httpx~=0.23.0
- tornado~=6.1
- APScheduler~=3.9.1
- cachetools~=5.1.0
Expand All @@ -49,7 +49,7 @@ repos:
- types-pytz
- types-cryptography
- types-cachetools
- httpx~=0.22.0
- httpx~=0.23.0
- tornado~=6.1
- APScheduler~=3.9.1
- cachetools~=5.1.0
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -121,7 +121,7 @@ Dependencies & Their Versions
However, for some features using a 3rd party library is more sane than implementing the functionality again.
The dependencies are:

* `httpx ~= 0.22.0 <https://www.python-httpx.org>`_ for ``telegram.request.HTTPXRequest``, the default networking backend
* `httpx ~= 0.23.0 <https://www.python-httpx.org>`_ for ``telegram.request.HTTPXRequest``, the default networking backend
* `tornado~=6.1 <https://www.tornadoweb.org/en/stable/>`_ for ``telegram.ext.Updater.start_webhook``
* `cachetools~=5.1.0 <https://cachetools.readthedocs.io/en/latest/>`_ for ``telegram.ext.CallbackDataCache``
* `APScheduler~=3.9.1 <https://apscheduler.readthedocs.io/en/3.x/>`_ for ``telegram.ext.JobQueue``
Expand Down
2 changes: 1 addition & 1 deletion README_RAW.rst
Expand Up @@ -122,7 +122,7 @@ Dependencies & Their Versions
However, for some features using a 3rd party library is more sane than implementing the functionality again.
The dependencies are:

* `httpx ~= 0.22.0 <https://www.python-httpx.org>`_ for ``telegram.request.HTTPXRequest``, the default networking backend
* `httpx ~= 0.23.0 <https://www.python-httpx.org>`_ for ``telegram.request.HTTPXRequest``, the default networking backend

``python-telegram-bot`` is most useful when used along with additional libraries.
To minimize dependency conflicts, we try to be liberal in terms of version requirements on the dependencies.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -6,7 +6,7 @@
# versions and only increase the lower bound if necessary

# httpx has no stable release yet, so let's be cautious for now
httpx ~= 0.22.0
httpx ~= 0.23.0
# only telegram.ext: # Keep this line here; used in setup(-raw).py

# tornado is rather stable, but let's not allow the next mayor release without prior testing
Expand Down

0 comments on commit 5f547f3

Please sign in to comment.