From 609ddd09062c68834553402bcf525cec99b895e0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 23 May 2025 23:11:40 +0000 Subject: [PATCH 1/3] Update cachetools requirement from <5.6.0,>=5.3.3 to >=5.3.3,<6.1.0 Updates the requirements on [cachetools](https://github.com/tkem/cachetools) to permit the latest version. - [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst) - [Commits](https://github.com/tkem/cachetools/compare/v5.3.3...v6.0.0) --- updated-dependencies: - dependency-name: cachetools dependency-version: 6.0.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1ffe02f8efe..55784f03c6f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,7 +66,7 @@ all = [ ] callback-data = [ # Cachetools doesn't have a strict stability policy. Let's be cautious for now. - "cachetools>=5.3.3,<5.6.0", + "cachetools>=5.3.3,<6.1.0", ] ext = [ "python-telegram-bot[callback-data,job-queue,rate-limiter,webhooks]", From 9f25bddf476ac440885de8e1960777d851c58885 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 23 May 2025 23:12:10 +0000 Subject: [PATCH 2/3] Add chango fragment for PR #4801 --- changes/unreleased/4801.feKaYKKZTZq2KBjhyxVVAM.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changes/unreleased/4801.feKaYKKZTZq2KBjhyxVVAM.toml diff --git a/changes/unreleased/4801.feKaYKKZTZq2KBjhyxVVAM.toml b/changes/unreleased/4801.feKaYKKZTZq2KBjhyxVVAM.toml new file mode 100644 index 00000000000..6d4e67483c3 --- /dev/null +++ b/changes/unreleased/4801.feKaYKKZTZq2KBjhyxVVAM.toml @@ -0,0 +1,5 @@ +dependencies = "Update cachetools requirement from <5.6.0,>=5.3.3 to >=5.3.3,<6.1.0" +[[pull_requests]] +uid = "4801" +author_uid = "dependabot[bot]" +closes_threads = [] From aa8841c5417e40bd6c9988360f7ae2801dabf1dd Mon Sep 17 00:00:00 2001 From: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com> Date: Sun, 25 May 2025 13:53:47 +0200 Subject: [PATCH 3/3] Update README.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 633dc383ad7..63e0d8d54e7 100644 --- a/README.rst +++ b/README.rst @@ -157,7 +157,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,<1.3 `_. 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.3,<5.6.0 `_ library. Use this, if you want to use `arbitrary callback_data `_. +* ``pip install "python-telegram-bot[callback-data]"`` installs the `cachetools>=5.3.3,<6.1.0 `_ library. Use this, if you want to use `arbitrary callback_data `_. * ``pip install "python-telegram-bot[job-queue]"`` installs the `APScheduler>=3.10.4,<3.12.0 `_ library. 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]"``.