diff options
| author | Thomas Hisch <t.hisch@gmail.com> | 2019-07-05 16:31:34 +0200 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-07-16 10:59:55 +0200 |
| commit | cdcd24656e57bf6f56a4089c11ab0caa06974bba (patch) | |
| tree | 949cef382aadf6332c0fb00aa1188e557bc3d63e | |
| parent | 09434b0a266e2ca468d96db6249e80f9bea6f3c7 (diff) | |
| download | astroid-git-cdcd24656e57bf6f56a4089c11ab0caa06974bba.tar.gz | |
Consolidate typed-ast version dependency config
Use same typed-ast version settings in both tox.ini and
__pkgconfig__.py.
| -rw-r--r-- | astroid/__pkginfo__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/astroid/__pkginfo__.py b/astroid/__pkginfo__.py index ddac1efa..6ef9e523 100644 --- a/astroid/__pkginfo__.py +++ b/astroid/__pkginfo__.py @@ -26,7 +26,8 @@ install_requires = [ "six", "wrapt", 'typing;python_version<"3.5"', - 'typed-ast>=1.3.0;implementation_name== "cpython" and python_version<"3.8"', + '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"', ] # pylint: disable=redefined-builtin; why license is a builtin anyway? |
