Skip to content

Commit 71c5a0e

Browse files
authored
Fix typing_extensions version in requirements (python#11622)
mypy imports TypeAlias in typing_extensions, which was introduced in typing_extensions 3.10.0.0 by the following commit: commit c23141fd08aba8284ce76b096bf08fd7c019b51c Author: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Sun Apr 11 03:26:42 2021 +0800 Support PEP 612 in typing_extensions (Python 3) (python#774)
1 parent 40b6b9b commit 71c5a0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mypy-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
typing_extensions>=3.7.4
1+
typing_extensions>=3.10
22
mypy_extensions>=0.4.3,<0.5.0
33
typed_ast>=1.4.0,<2; python_version<'3.8'
44
tomli>=1.1.0,<1.2.0

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def run(self):
193193
cmdclass=cmdclass,
194194
# When changing this, also update mypy-requirements.txt.
195195
install_requires=["typed_ast >= 1.4.0, < 2; python_version<'3.8'",
196-
'typing_extensions>=3.7.4',
196+
'typing_extensions>=3.10',
197197
'mypy_extensions >= 0.4.3, < 0.5.0',
198198
'tomli>=1.1.0,<1.2.0',
199199
],

0 commit comments

Comments
 (0)