Skip to content

Commit

Permalink
Fix typing_extensions version in requirements (#11622)
Browse files Browse the repository at this point in the history
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 <[email protected]>
    Date:   Sun Apr 11 03:26:42 2021 +0800

        Support PEP 612 in typing_extensions (Python 3) (#774)
  • Loading branch information
Phlogistique authored Nov 26, 2021
1 parent 40b6b9b commit 71c5a0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mypy-requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
Expand Down

0 comments on commit 71c5a0e

Please sign in to comment.