Skip to content

Commit e954da0

Browse files
author
Guido van Rossum
authored
Bump minimal required typed-ast version from 1.3.1 to 1.3.5 (#6737)
- 1.3.2 fixed two out of bounds reads - 1.3.3 was a dud - 1.3.4 made it compile under newer Python 3.8 alphas - 1.3.5 fixed a crash with unicode names on Python 3.4/3.5 Also keep test-requirements.txt in sync with setup.py, and add reminder comments to the latter.
1 parent 155959b commit e954da0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,11 @@ def run(self):
173173
]},
174174
classifiers=classifiers,
175175
cmdclass=cmdclass,
176-
install_requires = ['typed-ast >= 1.3.1, < 1.4.0',
176+
# When changing this, also update test-requirements.txt.
177+
install_requires = ['typed-ast >= 1.3.5, < 1.4.0',
177178
'mypy_extensions >= 0.4.0, < 0.5.0',
178179
],
180+
# Same here.
179181
extras_require = {
180182
'dmypy': 'psutil >= 5.4.0, < 5.5.0; sys_platform!="win32"',
181183
},

test-requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ flake8
33
flake8-bugbear; python_version >= '3.5'
44
flake8-pyi; python_version >= '3.6'
55
lxml==4.2.4
6-
mypy_extensions==0.4.0
7-
psutil==5.4.0
6+
mypy_extensions>=0.4.0,<0.5.0
7+
psutil>=5.4.0,<5.5.0; sys_platform!='win32'
88
pytest>=4.4
99
pytest-xdist>=1.22
1010
pytest-cov>=2.4.0
11-
typed-ast>=1.3.0,<1.4.0
11+
typed-ast>=1.3.5,<1.4.0
1212
typing>=3.5.2; python_version < '3.5'
1313
py>=1.5.2
1414
virtualenv

0 commit comments

Comments
 (0)