Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317373 - dev-python/pylint-0.20 requires >=dev-python/astng-0.20
Summary: dev-python/pylint-0.20 requires >=dev-python/astng-0.20
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 20:21 UTC by Kamil Kisiel
Modified: 2010-05-03 19:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Kisiel 2010-04-26 20:21:22 UTC
Currently the DEPEND line has

However, with 0.19 it fails to run with the following messages:

Problem importing module: classes.py
Problem importing module: classes.pyc
Problem importing module: base.pyo
Problem importing module: base.pyc
Problem importing module: classes.pyo
Problem importing module: imports.py
Problem importing module: imports.pyo
Problem importing module: base.py
Problem importing module: exceptions.pyc
Problem importing module: exceptions.pyo
Problem importing module: variables.pyc
Problem importing module: variables.py
Problem importing module: imports.pyc
Problem importing module: variables.pyo
Problem importing module: exceptions.py

In the Python console if you type

import pylint.checker.classes

it gives a backtrace to some unresolved imports from logilab.astng. (Sorry, I've lost the exact output...)

Upgrading astng to 0.20 resolves the problem.

Reproducible: Always
Comment 1 Kamil Kisiel 2010-04-26 20:21:52 UTC
Sorry, meant to say that the DEPEND line for pylint-0.20 has >=dev-python/astng-0.19.3
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-03 19:20:09 UTC
(In reply to comment #0)
> import pylint.checker.classes
> 
> it gives a backtrace to some unresolved imports from logilab.astng. (Sorry,
> I've lost the exact output...)

It's actually pylint.checkers.classes, not pylint.checker.classes.

$ python2.6 -c 'import pylint.checkers.classes'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.6/site-packages/pylint/checkers/classes.py", line 21, in <module>
    from logilab.astng import YES, Instance, are_exclusive
ImportError: cannot import name are_exclusive
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-03 19:24:40 UTC
Fixed.