Pylint: Pylint fails with Python 3.6

Created on 27 Dec 2016  路  5Comments  路  Source: PyCQA/pylint

Steps to reproduce

  1. Launch pylint with Python 3.6

Current behavior

AttributeError: 'TreeRebuilder3k' object has no attribute 'visit_joinedstr'

Details: https://travis-ci.org/nvdv/vprof/jobs/186750275
No problems with other versions of Python: https://travis-ci.org/nvdv/vprof

Expected behavior

No error.

pylint --version output

pylint 1.6.4
astroid 1.4.9
Python 3.6.0 (default, Dec 24 2016, 00:01:50)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)]

Most helpful comment

I got this working with

pip install git+https://github.com/PyCQA/astroid.git

I will however warn that I have little idea of other possible bad side effects of doing this. Hopefully none. :)

All 5 comments

We don't support 3.6 yet. You can try with the version from master branch, for both pylint and astroid.

Is this issue a duplicate of #1113? There was a bugfix PyCQA/astroid#365 mentioned in that thread, but it is unclear whether that one ever made it into a release.

Yes, this is a duplicate of #1113. It wasn't yet released, but it will be released with pylint 2.0. When exactly, I can't tell, but should be relatively soon. In the meantime, support for 3.6 can only be obtained from the master branch.

Confirmed working using master branch of astroid and pylint.

I got this working with

pip install git+https://github.com/PyCQA/astroid.git

I will however warn that I have little idea of other possible bad side effects of doing this. Hopefully none. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adamtheturtle picture adamtheturtle  路  3Comments

lancelote picture lancelote  路  3Comments

ethanchewy picture ethanchewy  路  3Comments

thanatos picture thanatos  路  3Comments

PCManticore picture PCManticore  路  3Comments