From 9b502551c777dde7bbfff6661530b328398cd3f3 Mon Sep 17 00:00:00 2001 From: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com> Date: Thu, 7 Jul 2022 23:11:51 +0200 Subject: [PATCH 1/2] Pin tornado to v6.1 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 967fd782804..6492c9a1e5c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ # pre-commit hooks for pylint & mypy certifi # only telegram.ext: # Keep this line here; used in setup(-raw).py -tornado>=6.1 +tornado==6.1 APScheduler==3.6.3 pytz>=2018.6 cachetools==4.2.2 From 2b79b230a729c8d37568200adecfc383f45d5793 Mon Sep 17 00:00:00 2001 From: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com> Date: Thu, 7 Jul 2022 23:16:20 +0200 Subject: [PATCH 2/2] update pre-commit as well --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 48d8400bbe4..fe9420fae19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: - --rcfile=setup.cfg additional_dependencies: - certifi - - tornado>=6.1 + - tornado==6.1 - APScheduler==3.6.3 - cachetools==4.2.2 - . # this basically does `pip install -e .` @@ -39,7 +39,7 @@ repos: files: ^telegram/.*\.py$ additional_dependencies: - certifi - - tornado>=6.1 + - tornado==6.1 - APScheduler==3.6.3 - cachetools==4.2.2 - . # this basically does `pip install -e .` @@ -51,7 +51,7 @@ repos: - --follow-imports=silent additional_dependencies: - certifi - - tornado>=6.1 + - tornado==6.1 - APScheduler==3.6.3 - cachetools==4.2.2 - . # this basically does `pip install -e .`