On Mon, Oct 25, 2010 at 12:18 PM, Emile Anclin <[email protected]>wrote:
> On Monday 25 October 2010 11:53:35 Arve Knudsen wrote: > > Hi > > > > I just tried pylint from mercurial, in order to see if it fixes a > > problem of mine. It dies with a rather cryptic error though: F: 1: > > <type 'exceptions.TypeError'>: astng_from_file() got an unexpected > > keyword argument 'source'. First of all, it looks like pylint doesn't > > understand it is an error in its own code, and instead prints a lint > > message? Secondly, as far as I can tell, the reason that the call to > > astng_from_file fails is that pylint is really depending on a newer > > version of astng? I guess that the distribution metadata should be > > updated to depend on an updated astng? > > Thanks, the dependence is wrong; (I will fix it). > In general, the last pylint version depends on the last astng version; > > now we have : > > $ pylint --version > No config file found, using default configuration > pylint 0.21.3, > astng 0.20.3, common 0.52.1 I don't think astng 0.20.3 is correct, since that's the version I'd installed with pip. To make pylint from Mercurial work, I had to install astng from Mercurial as well. The latter has version 0.20.3, but is different from the released 0.20.3. Arve
_______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
