diff --git a/requirements/dev.txt b/requirements/dev.txt index ec9f4b550f..aa3e6041f3 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -7,7 +7,8 @@ pytest-cov==4.1.0 # type checking and related stubs # mypy adds new rules in new minor versions, which could cause our PR check to fail # here we fix its version and upgrade it manually in the future -mypy==1.4.1 +mypy==1.4.1; python_version < "3.8" +mypy==1.5.1; python_version >= "3.8" types-pywin32==306.0.0.4 types-PyYAML==6.0.12.11 types-chevron==0.14.2.5