Skip to content

Commit 9a34e6c

Browse files
authored
Bump typed_ast max dependency (#11560)
Original PR #11531, modified for the 0.920 branch. Cf. #11158
1 parent 385af5b commit 9a34e6c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mypy-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
typing_extensions>=3.7.4
22
mypy_extensions>=0.4.3,<0.5.0
3-
typed_ast>=1.4.0,<1.5.0
3+
typed_ast>=1.4.0,<2
44
tomli>=1.1.0,<1.2.0

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,13 +190,13 @@ def run(self):
190190
classifiers=classifiers,
191191
cmdclass=cmdclass,
192192
# When changing this, also update mypy-requirements.txt.
193-
install_requires=["typed_ast >= 1.4.0, < 1.5.0; python_version<'3.8'",
193+
install_requires=["typed_ast >= 1.4.0, < 2; python_version<'3.8'",
194194
'typing_extensions>=3.7.4',
195195
'mypy_extensions >= 0.4.3, < 0.5.0',
196196
'tomli>=1.1.0,<1.2.0',
197197
],
198198
# Same here.
199-
extras_require={'dmypy': 'psutil >= 4.0', 'python2': 'typed_ast >= 1.4.0, < 1.5.0'},
199+
extras_require={'dmypy': 'psutil >= 4.0', 'python2': 'typed_ast >= 1.4.0, < 2'},
200200
python_requires=">=3.6",
201201
include_package_data=True,
202202
project_urls={

0 commit comments

Comments
 (0)