mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-25 00:27:46 +01:00
Update cachetools
requirement from ~=5.2.1 to ~=5.3.0 (#3520)
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
This commit is contained in:
parent
359232e6c7
commit
851f7ff0b3
3 changed files with 6 additions and 6 deletions
|
@ -34,7 +34,7 @@ repos:
|
||||||
- httpx~=0.23.3
|
- httpx~=0.23.3
|
||||||
- tornado~=6.2
|
- tornado~=6.2
|
||||||
- APScheduler~=3.9.1
|
- APScheduler~=3.9.1
|
||||||
- cachetools~=5.2.1
|
- cachetools~=5.3.0
|
||||||
- aiolimiter~=1.0.0
|
- aiolimiter~=1.0.0
|
||||||
- . # this basically does `pip install -e .`
|
- . # this basically does `pip install -e .`
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
|
@ -50,7 +50,7 @@ repos:
|
||||||
- httpx~=0.23.3
|
- httpx~=0.23.3
|
||||||
- tornado~=6.2
|
- tornado~=6.2
|
||||||
- APScheduler~=3.9.1
|
- APScheduler~=3.9.1
|
||||||
- cachetools~=5.2.1
|
- cachetools~=5.3.0
|
||||||
- aiolimiter~=1.0.0
|
- aiolimiter~=1.0.0
|
||||||
- . # this basically does `pip install -e .`
|
- . # this basically does `pip install -e .`
|
||||||
- id: mypy
|
- id: mypy
|
||||||
|
@ -62,7 +62,7 @@ repos:
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- tornado~=6.2
|
- tornado~=6.2
|
||||||
- APScheduler~=3.9.1
|
- APScheduler~=3.9.1
|
||||||
- cachetools~=5.2.1
|
- cachetools~=5.3.0
|
||||||
- . # this basically does `pip install -e .`
|
- . # this basically does `pip install -e .`
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.3.1
|
rev: v3.3.1
|
||||||
|
@ -89,5 +89,5 @@ repos:
|
||||||
- httpx~=0.23.3
|
- httpx~=0.23.3
|
||||||
- tornado~=6.2
|
- tornado~=6.2
|
||||||
- APScheduler~=3.9.1
|
- APScheduler~=3.9.1
|
||||||
- cachetools~=5.2.1
|
- cachetools~=5.3.0
|
||||||
- aiolimiter~=1.0.0
|
- aiolimiter~=1.0.0
|
||||||
|
|
|
@ -153,7 +153,7 @@ PTB can be installed with optional dependencies:
|
||||||
* ``pip install python-telegram-bot[socks]`` installs `httpx[socks] <https://www.python-httpx.org/#dependencies>`_. Use this, if you want to work behind a Socks5 server.
|
* ``pip install python-telegram-bot[socks]`` installs `httpx[socks] <https://www.python-httpx.org/#dependencies>`_. Use this, if you want to work behind a Socks5 server.
|
||||||
* ``pip install python-telegram-bot[rate-limiter]`` installs `aiolimiter~=1.0.0 <https://aiolimiter.readthedocs.io/en/stable/>`_. Use this, if you want to use ``telegram.ext.AIORateLimiter``.
|
* ``pip install python-telegram-bot[rate-limiter]`` installs `aiolimiter~=1.0.0 <https://aiolimiter.readthedocs.io/en/stable/>`_. Use this, if you want to use ``telegram.ext.AIORateLimiter``.
|
||||||
* ``pip install python-telegram-bot[webhooks]`` installs the `tornado~=6.2 <https://www.tornadoweb.org/en/stable/>`_ library. Use this, if you want to use ``telegram.ext.Updater.start_webhook``/``telegram.ext.Application.run_webhook``.
|
* ``pip install python-telegram-bot[webhooks]`` installs the `tornado~=6.2 <https://www.tornadoweb.org/en/stable/>`_ library. Use this, if you want to use ``telegram.ext.Updater.start_webhook``/``telegram.ext.Application.run_webhook``.
|
||||||
* ``pip install python-telegram-bot[callback-data]`` installs the `cachetools~=5.2.1 <https://cachetools.readthedocs.io/en/latest/>`_ library. Use this, if you want to use `arbitrary callback_data <https://github.com/python-telegram-bot/python-telegram-bot/wiki/Arbitrary-callback_data>`_.
|
* ``pip install python-telegram-bot[callback-data]`` installs the `cachetools~=5.3.0 <https://cachetools.readthedocs.io/en/latest/>`_ library. Use this, if you want to use `arbitrary callback_data <https://github.com/python-telegram-bot/python-telegram-bot/wiki/Arbitrary-callback_data>`_.
|
||||||
* ``pip install python-telegram-bot[job-queue]`` installs the `APScheduler~=3.9.1 <https://apscheduler.readthedocs.io/en/3.x/>`_ library and enforces `pytz>=2018.6 <https://pypi.org/project/pytz/>`_, where ``pytz`` is a dependency of ``APScheduler``. Use this, if you want to use the ``telegram.ext.JobQueue``.
|
* ``pip install python-telegram-bot[job-queue]`` installs the `APScheduler~=3.9.1 <https://apscheduler.readthedocs.io/en/3.x/>`_ library and enforces `pytz>=2018.6 <https://pypi.org/project/pytz/>`_, where ``pytz`` is a dependency of ``APScheduler``. Use this, if you want to use the ``telegram.ext.JobQueue``.
|
||||||
|
|
||||||
To install multiple optional dependencies, separate them by commas, e.g. ``pip install python-telegram-bot[socks,webhooks]``.
|
To install multiple optional dependencies, separate them by commas, e.g. ``pip install python-telegram-bot[socks,webhooks]``.
|
||||||
|
|
|
@ -19,7 +19,7 @@ tornado~=6.2 # webhooks!ext
|
||||||
|
|
||||||
# Cachetools and APS don't have a strict stability policy.
|
# Cachetools and APS don't have a strict stability policy.
|
||||||
# Let's be cautious for now.
|
# Let's be cautious for now.
|
||||||
cachetools~=5.2.1 # callback-data!ext
|
cachetools~=5.3.0 # callback-data!ext
|
||||||
APScheduler~=3.9.1 # job-queue!ext
|
APScheduler~=3.9.1 # job-queue!ext
|
||||||
|
|
||||||
# pytz is required by APS and just needs the lower bound due to #2120
|
# pytz is required by APS and just needs the lower bound due to #2120
|
||||||
|
|
Loading…
Reference in a new issue