summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2019-09-26 09:33:52 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2019-10-09 09:28:44 +0200
commit01afafff04940d39ca7723e08e927ae4e29c6852 (patch)
tree0c7fc7a70cb270384e7a95508e6ed86dd1294d41
parent2fbfd30d52f2522c9c9688abb763ca88d6183942 (diff)
downloadastroid-git-01afafff04940d39ca7723e08e927ae4e29c6852.tar.gz
Force typed_ast >= 1.4.0 for all supported Python versions
-rw-r--r--astroid/__pkginfo__.py3
-rw-r--r--tox.ini3
2 files changed, 2 insertions, 4 deletions
diff --git a/astroid/__pkginfo__.py b/astroid/__pkginfo__.py
index b1fedf12..b04e6086 100644
--- a/astroid/__pkginfo__.py
+++ b/astroid/__pkginfo__.py
@@ -25,8 +25,7 @@ install_requires = [
"lazy_object_proxy",
"six",
"wrapt",
- 'typed-ast<1.3.0;implementation_name== "cpython" and python_version<"3.7"',
- 'typed-ast>=1.3.0;implementation_name== "cpython" and python_version>="3.7" and python_version<"3.8"',
+ 'typed-ast>=1.4.0,<1.5;implementation_name== "cpython" and python_version<"3.8"',
]
# pylint: disable=redefined-builtin; why license is a builtin anyway?
diff --git a/tox.ini b/tox.ini
index 299b9138..a56b6a92 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,8 +20,7 @@ deps =
nose
py35,py36: numpy
py35,py36: attr
- py35,py36: typed_ast<1.3.0
- py37: typed_ast>=1.3.0
+ py35,py36,py37: typed_ast>=1.4.0,<1.5
pytest
python-dateutil
pypy: singledispatch