Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ANN] pylint 0.19 / astng 0.19.2

4 views
Skip to first unread message

Sylvain Thénault

unread,
Dec 18, 2009, 7:39:18 AM12/18/09
to pytho...@python.org
Hi,

I'm very pleased to announce the release of pylint 0.19 / astng 0.19.2 release!

More information / download on http://www.logilab.org/project/pylint/0.19.0.

This is a "community" release, including the work we've done during the pylint
bug day [1] and patches mostly from James Lingard and Vincent Ferotin.

Many thanks to James Lingard which provided two long waited features:

* check of function call arguments
* check string interpolation consistency


So, happy christmas, enjoy!

[1] http://www.logilab.org/blogentry/19260
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
CubicWeb, the semantic web framework: http://www.cubicweb.org

Jean-Michel Pichavant

unread,
Dec 18, 2009, 12:24:27 PM12/18/09
to Sylvain Thénault, pytho...@python.org
Sylvain Thénault wrote:
> Hi,
>
> I'm very pleased to announce the release of pylint 0.19 / astng 0.19.2 release!
>
> More information / download on http://www.logilab.org/project/pylint/0.19.0.
>
> This is a "community" release, including the work we've done during the pylint
> bug day [1] and patches mostly from James Lingard and Vincent Ferotin.
>
> Many thanks to James Lingard which provided two long waited features:
>
> * check of function call arguments
> * check string interpolation consistency
>
>
> So, happy christmas, enjoy!
>
> [1] http://www.logilab.org/blogentry/19260
>
I have troubles after updating pylint:

easy_install pylint -U --install-dir
/opt/tools/python/python2.3/site-packages

> pylint

File
"/opt/tools/python/python2.3/site-packages/logilab_astng-0.19.2-py2.5.egg/logilab/astng/infutils.py",
line 28, in <module>
from logilab.astng._nodes import Proxy_, List, Tuple, Function, If,
TryExcept
ImportError: No module named _nodes

There is no _nodes.py file within the egg. Has anyone experienced the
same issue ?

Jean-Michel

Jerry Hill

unread,
Dec 18, 2009, 12:32:33 PM12/18/09
to pytho...@python.org
On Fri, Dec 18, 2009 at 12:24 PM, Jean-Michel Pichavant >  File

> "/opt/tools/python/python2.3/site-packages/logilab_astng-0.19.2-py2.5.egg/logilab/astng/infutils.py",
> line 28, in <module>
>   from logilab.astng._nodes import Proxy_, List, Tuple, Function, If,
> TryExcept
> ImportError: No module named _nodes

You're installing the wrong version of logilab. That's the python 2.5
version, judging by the name of the egg. I'm not sure how
easy_install decides which version of python to install for, but it's
definitely picking the wrong one here.

--
Jerry

Jean-Michel Pichavant

unread,
Dec 18, 2009, 12:49:56 PM12/18/09
to Jerry Hill, pytho...@python.org
well, according this mail title, astng 0.19.2 is the correct one.

I should have mentioned /opt/tools/python/python2.3/ is a network drive
where we install 3rd party modules. It is still named python2.3 but this
is in fact totally irrelevant (we're the kind of lazy guys).
Python 2.5 is the one installed on my system so easy_install guess is right.

Or maybe you suggested that pylint is no more compatible with python2.5 ?

JM

Sylvain Thénault

unread,
Dec 18, 2009, 12:55:47 PM12/18/09
to Jean-Michel Pichavant, pytho...@python.org
On 18 décembre 18:24, Jean-Michel Pichavant wrote:
> Sylvain Thénault wrote:
> >Hi,
> >
> >I'm very pleased to announce the release of pylint 0.19 / astng 0.19.2 release!
> >
> >More information / download on http://www.logilab.org/project/pylint/0.19.0.
> >
> >This is a "community" release, including the work we've done during the pylint
> >bug day [1] and patches mostly from James Lingard and Vincent Ferotin.
> >
> >Many thanks to James Lingard which provided two long waited features:
> >
> >* check of function call arguments
> >* check string interpolation consistency
> >
> >
> >So, happy christmas, enjoy!
> >
> >[1] http://www.logilab.org/blogentry/19260
> I have troubles after updating pylint:
>
> easy_install pylint -U --install-dir
> /opt/tools/python/python2.3/site-packages
>
> > pylint
>
> File "/opt/tools/python/python2.3/site-packages/logilab_astng-0.19.2-py2.5.egg/logilab/astng/infutils.py",
> line 28, in <module>
> from logilab.astng._nodes import Proxy_, List, Tuple, Function,
> If, TryExcept
> ImportError: No module named _nodes
>
> There is no _nodes.py file within the egg. Has anyone experienced
> the same issue ?

yep someone else on the list have the same pb. I think I've identified it:

python setup.py register sdist upload

*doesn't* regenerate MANIFEST if one is found... So packages uploaded to pypi
had some missing files. Should be fixed now, sorry for this pb.

David Robinow

unread,
Dec 18, 2009, 1:04:05 PM12/18/09
to pytho...@python.org
On Fri, Dec 18, 2009 at 12:49 PM, Jean-Michel Pichavant
<jeanm...@sequans.com> wrote:
> Jerry Hill wrote:
>>
>> On Fri, Dec 18, 2009 at 12:24 PM, Jean-Michel Pichavant >  File

>>> "/opt/tools/python/python2.3/site-packages/logilab_astng-0.19.2-py2.5.egg/logilab/astng/infutils.py",
>>> line 28, in <module>
>>>  from logilab.astng._nodes import Proxy_, List, Tuple, Function, If,
>>> TryExcept
>>> ImportError: No module named _nodes
>>>

It works for me (but I'm running cygwin)
You should have a file
/opt/tools/python/python2.3/site-packages/logilab_astng-0.19.2-py2.5.egg/logilab/astng/_nodes.py

Does it exist? If not, reinstall logilab_astng-0.19.2

Jean-Michel Pichavant

unread,
Dec 21, 2009, 6:03:58 AM12/21/09
to Sylvain Thénault, pytho...@python.org
Sylvain Thénault wrote:
> On 18 décembre 18:24, Jean-Michel Pichavant wrote:
>
>> Sylvain Thénault wrote:
>>
>>> Hi,
>>>
>>> I'm very pleased to announce the release of pylint 0.19 / astng 0.19.2 release!
>>>
>>> More information / download on http://www.logilab.org/project/pylint/0.19.0.
>>>
>>> This is a "community" release, including the work we've done during the pylint
>>> bug day [1] and patches mostly from James Lingard and Vincent Ferotin.
>>>
>>> Many thanks to James Lingard which provided two long waited features:
>>>
>>> * check of function call arguments
>>> * check string interpolation consistency
>>>
>>>
>>> So, happy christmas, enjoy!
>>>
>>> [1] http://www.logilab.org/blogentry/19260
>>>
>> I have troubles after updating pylint:
>>
>> easy_install pylint -U --install-dir
>> /opt/tools/python/python2.3/site-packages
>>
>>
>>> pylint
>>>
>> File "/opt/tools/python/python2.3/site-packages/logilab_astng-0.19.2-py2.5.egg/logilab/astng/infutils.py",
>> line 28, in <module>
>> from logilab.astng._nodes import Proxy_, List, Tuple, Function,
>> If, TryExcept
>> ImportError: No module named _nodes
>>
>> There is no _nodes.py file within the egg. Has anyone experienced
>> the same issue ?
>>
>
> yep someone else on the list have the same pb. I think I've identified it:
>
> python setup.py register sdist upload
>
> *doesn't* regenerate MANIFEST if one is found... So packages uploaded to pypi
> had some missing files. Should be fixed now, sorry for this pb.
>
Works fine by now.
Thanks for providing such great tool.

JM

0 new messages