mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-27 08:50:38 +01:00
Relax Upper Bound for httpx
Dependency (#4148)
This commit is contained in:
parent
437261f716
commit
2c227d5977
4 changed files with 8 additions and 7 deletions
|
@ -11,7 +11,7 @@ repos:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
name: ruff
|
name: ruff
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- httpx~=0.27.0
|
- httpx~=0.27
|
||||||
- tornado~=6.4
|
- tornado~=6.4
|
||||||
- APScheduler~=3.10.4
|
- APScheduler~=3.10.4
|
||||||
- cachetools~=5.3.3
|
- cachetools~=5.3.3
|
||||||
|
@ -33,7 +33,7 @@ repos:
|
||||||
- id: pylint
|
- id: pylint
|
||||||
files: ^(?!(tests|docs)).*\.py$
|
files: ^(?!(tests|docs)).*\.py$
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- httpx~=0.27.0
|
- httpx~=0.27
|
||||||
- tornado~=6.4
|
- tornado~=6.4
|
||||||
- APScheduler~=3.10.4
|
- APScheduler~=3.10.4
|
||||||
- cachetools~=5.3.3
|
- cachetools~=5.3.3
|
||||||
|
@ -49,7 +49,7 @@ repos:
|
||||||
- types-pytz
|
- types-pytz
|
||||||
- types-cryptography
|
- types-cryptography
|
||||||
- types-cachetools
|
- types-cachetools
|
||||||
- httpx~=0.27.0
|
- httpx~=0.27
|
||||||
- tornado~=6.4
|
- tornado~=6.4
|
||||||
- APScheduler~=3.10.4
|
- APScheduler~=3.10.4
|
||||||
- cachetools~=5.3.3
|
- cachetools~=5.3.3
|
||||||
|
|
|
@ -135,7 +135,7 @@ As these features are *optional*, the corresponding 3rd party dependencies are n
|
||||||
Instead, they are listed as optional dependencies.
|
Instead, they are listed as optional dependencies.
|
||||||
This allows to avoid unnecessary dependency conflicts for users who don't need the optional features.
|
This allows to avoid unnecessary dependency conflicts for users who don't need the optional features.
|
||||||
|
|
||||||
The only required dependency is `httpx ~= 0.27.0 <https://www.python-httpx.org>`_ for
|
The only required dependency is `httpx ~= 0.27 <https://www.python-httpx.org>`_ for
|
||||||
``telegram.request.HTTPXRequest``, the default networking backend.
|
``telegram.request.HTTPXRequest``, the default networking backend.
|
||||||
|
|
||||||
``python-telegram-bot`` is most useful when used along with additional libraries.
|
``python-telegram-bot`` is most useful when used along with additional libraries.
|
||||||
|
|
|
@ -136,7 +136,7 @@ As these features are *optional*, the corresponding 3rd party dependencies are n
|
||||||
Instead, they are listed as optional dependencies.
|
Instead, they are listed as optional dependencies.
|
||||||
This allows to avoid unnecessary dependency conflicts for users who don't need the optional features.
|
This allows to avoid unnecessary dependency conflicts for users who don't need the optional features.
|
||||||
|
|
||||||
The only required dependency is `httpx ~= 0.27.0 <https://www.python-httpx.org>`_ for
|
The only required dependency is `httpx ~= 0.27 <https://www.python-httpx.org>`_ for
|
||||||
``telegram.request.HTTPXRequest``, the default networking backend.
|
``telegram.request.HTTPXRequest``, the default networking backend.
|
||||||
|
|
||||||
``python-telegram-bot`` is most useful when used along with additional libraries.
|
``python-telegram-bot`` is most useful when used along with additional libraries.
|
||||||
|
|
|
@ -5,5 +5,6 @@
|
||||||
# When dependencies release new versions and tests succeed, we should try to expand the allowed
|
# When dependencies release new versions and tests succeed, we should try to expand the allowed
|
||||||
# versions and only increase the lower bound if necessary
|
# versions and only increase the lower bound if necessary
|
||||||
|
|
||||||
# httpx has no stable release yet, so let's be cautious for now
|
# httpx has no stable release yet, but we've had no stability problems since v20.0a0 either
|
||||||
httpx ~= 0.27.0
|
# Since there have been requests to relax the bound a bit, we allow versions < 1.0.0
|
||||||
|
httpx ~= 0.27
|
||||||
|
|
Loading…
Add table
Reference in a new issue