From 7c858473ca8416c336c497e473eb2531c0dd3534 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 21 Aug 2023 18:55:49 +0200
Subject: [PATCH] Update `apscheduler` requirement from ~=3.10.1 to ~=3.10.3
(#3851)
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
---
.github/workflows/dependabot-prs.yml | 2 +-
.pre-commit-config.yaml | 8 ++++----
README.rst | 2 +-
requirements-opts.txt | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/dependabot-prs.yml b/.github/workflows/dependabot-prs.yml
index 2ed7d0da4..f04925868 100644
--- a/.github/workflows/dependabot-prs.yml
+++ b/.github/workflows/dependabot-prs.yml
@@ -2,7 +2,7 @@ name: Process Dependabot PRs
on:
pull_request:
- types: [opened, synchronize, reopened]
+ types: [opened, reopened]
jobs:
process-dependabot-prs:
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c29c898e3..cacbde581 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -30,7 +30,7 @@ repos:
additional_dependencies:
- httpx~=0.24.1
- tornado~=6.2
- - APScheduler~=3.10.1
+ - APScheduler~=3.10.3
- cachetools~=5.3.1
- aiolimiter~=1.1.0
- . # this basically does `pip install -e .`
@@ -46,7 +46,7 @@ repos:
- types-cachetools
- httpx~=0.24.1
- tornado~=6.2
- - APScheduler~=3.10.1
+ - APScheduler~=3.10.3
- cachetools~=5.3.1
- aiolimiter~=1.1.0
- . # this basically does `pip install -e .`
@@ -58,7 +58,7 @@ repos:
- --follow-imports=silent
additional_dependencies:
- tornado~=6.2
- - APScheduler~=3.10.1
+ - APScheduler~=3.10.3
- cachetools~=5.3.1
- . # this basically does `pip install -e .`
- repo: https://github.com/asottile/pyupgrade
@@ -85,6 +85,6 @@ repos:
additional_dependencies:
- httpx~=0.24.1
- tornado~=6.2
- - APScheduler~=3.10.1
+ - APScheduler~=3.10.3
- cachetools~=5.3.1
- aiolimiter~=1.1.0
diff --git a/README.rst b/README.rst
index 64896bcc0..a45636de1 100644
--- a/README.rst
+++ b/README.rst
@@ -154,7 +154,7 @@ PTB can be installed with optional dependencies:
* ``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.2 `_ 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.1 `_ library. Use this, if you want to use `arbitrary callback_data `_.
-* ``pip install "python-telegram-bot[job-queue]"`` installs the `APScheduler~=3.10.1 `_ library and enforces `pytz>=2018.6 `_, 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.10.3 `_ 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 53d686096..40260b57f 100644
--- a/requirements-opts.txt
+++ b/requirements-opts.txt
@@ -21,7 +21,7 @@ tornado~=6.2 # webhooks!ext
# Cachetools and APS don't have a strict stability policy.
# Let's be cautious for now.
cachetools~=5.3.1 # callback-data!ext
-APScheduler~=3.10.1 # job-queue!ext
+APScheduler~=3.10.3 # job-queue!ext
# pytz is required by APS and just needs the lower bound due to #2120
pytz>=2018.6 # job-queue!ext