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 .` 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