Skip to content

Commit 143cb52

Browse files
authored
Bump typed_ast max dependency (python#11531)
1 parent aeb65a6 commit 143cb52

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

mypy-requirements.txt

+1-1
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; python_version<'3.8'
3+
typed_ast>=1.4.0,<2; python_version<'3.8'
44
tomli>=1.1.0,<1.2.0

setup.py

+2-2
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={

test-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pytest-xdist>=1.34.0,<2.0.0
1111
pytest-forked>=1.3.0,<2.0.0
1212
pytest-cov>=2.10.0,<3.0.0
1313
py>=1.5.2
14-
typed_ast>=1.4.0,<1.5.0; python_version>='3.8'
14+
typed_ast>=1.4.0,<2; python_version>='3.8'
1515
virtualenv>=20.6.0
1616
setuptools!=50
1717
importlib-metadata>=4.6.1,<5.0.0

0 commit comments

Comments
 (0)