From 5d11d7fd427cd39570b8c6b022eb0e3dad0152a3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 2 Mar 2024 11:34:03 +0100 Subject: [PATCH] Update `cachetools` requirement from ~=5.3.2 to ~=5.3.3 (#4141) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com> --- .pre-commit-config.yaml | 8 ++++---- README.rst | 2 +- requirements-opts.txt | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3e7f3bfa9..7ee1a16d6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - httpx~=0.27.0 - tornado~=6.4 - APScheduler~=3.10.4 - - cachetools~=5.3.2 + - cachetools~=5.3.3 - aiolimiter~=1.1.0 - repo: https://github.com/psf/black-pre-commit-mirror rev: 24.1.1 @@ -36,7 +36,7 @@ repos: - httpx~=0.27.0 - tornado~=6.4 - APScheduler~=3.10.4 - - cachetools~=5.3.2 + - cachetools~=5.3.3 - aiolimiter~=1.1.0 - . # this basically does `pip install -e .` - repo: https://github.com/pre-commit/mirrors-mypy @@ -52,7 +52,7 @@ repos: - httpx~=0.27.0 - tornado~=6.4 - APScheduler~=3.10.4 - - cachetools~=5.3.2 + - cachetools~=5.3.3 - aiolimiter~=1.1.0 - . # this basically does `pip install -e .` - id: mypy @@ -64,7 +64,7 @@ repos: additional_dependencies: - tornado~=6.4 - APScheduler~=3.10.4 - - cachetools~=5.3.2 + - cachetools~=5.3.3 - . # this basically does `pip install -e .` - repo: https://github.com/asottile/pyupgrade rev: v3.15.0 diff --git a/README.rst b/README.rst index 07dca0d2c..ed85b0626 100644 --- a/README.rst +++ b/README.rst @@ -153,7 +153,7 @@ PTB can be installed with optional dependencies: * ``pip install "python-telegram-bot[http2]"`` installs `httpx[http2] `_. Use this, if you want to use HTTP/2. * ``pip install "python-telegram-bot[rate-limiter]"`` installs `aiolimiter~=1.1.0 `_. Use this, if you want to use ``telegram.ext.AIORateLimiter``. * ``pip install "python-telegram-bot[webhooks]"`` installs the `tornado~=6.4 `_ 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.3.2 `_ library. Use this, if you want to use `arbitrary callback_data `_. +* ``pip install "python-telegram-bot[callback-data]"`` installs the `cachetools~=5.3.3 `_ library. Use this, if you want to use `arbitrary callback_data `_. * ``pip install "python-telegram-bot[job-queue]"`` installs the `APScheduler~=3.10.4 `_ library and enforces `pytz>=2018.6 `_, 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]"``. diff --git a/requirements-opts.txt b/requirements-opts.txt index 35e13191a..05ac0d8c7 100644 --- a/requirements-opts.txt +++ b/requirements-opts.txt @@ -20,7 +20,7 @@ tornado~=6.4 # webhooks!ext # Cachetools and APS don't have a strict stability policy. # Let's be cautious for now. -cachetools~=5.3.2 # callback-data!ext +cachetools~=5.3.3 # callback-data!ext APScheduler~=3.10.4 # job-queue!ext # pytz is required by APS and just needs the lower bound due to #2120