diff --git a/mypy-requirements.txt b/mypy-requirements.txt index 8c798a3c640d..3e32494052f3 100644 --- a/mypy-requirements.txt +++ b/mypy-requirements.txt @@ -1,4 +1,4 @@ -typing_extensions>=3.7.4 +typing_extensions>=3.10 mypy_extensions>=0.4.3,<0.5.0 typed_ast>=1.4.0,<2; python_version<'3.8' tomli>=1.1.0,<1.2.0 diff --git a/setup.py b/setup.py index 6781230d675e..608ab1958060 100644 --- a/setup.py +++ b/setup.py @@ -193,7 +193,7 @@ def run(self): cmdclass=cmdclass, # When changing this, also update mypy-requirements.txt. install_requires=["typed_ast >= 1.4.0, < 2; python_version<'3.8'", - 'typing_extensions>=3.7.4', + 'typing_extensions>=3.10', 'mypy_extensions >= 0.4.3, < 0.5.0', 'tomli>=1.1.0,<1.2.0', ],