Opened 15 years ago

Closed 14 years ago

#8205 closed defect (fixed)

py-lint broken due to incorrect py-logilab version and missing dependency

Reported by: apm13@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: markd@…, opendarwin.20.aarre@…
Port:

Description

There are probably other packages in the ports tree which depend on the 0.14 version of py-logilab that is curently available, however the py-lint 0.10 which is in the tree requires py-logilab 0.15 (logilab common) and ASTNG 0.15 (see http://www.logilab.org/projects/pylint/0.10). As a result it is necessary that either pylint be downgraded to 0.9 (which requires 0.14 of logilab common, and ATSNG which is not available from ports), or that the logilab common package be upgraded. Thanks.

Change History (2)

comment:1 Changed 14 years ago by opendarwin.20.aarre@…

Cc: opendarwin.20.aarre@… added

I can reproduce this problem:

aarre@ganesha ~/src/py/sisu/childes/chat $ sudo port install py-lint Password: ---> Unpacking tgz archive for python24 2.4.3_1+darwin_8 ---> Installing python24 2.4.3_1+darwin_8 ---> Activating python24 2.4.3_1+darwin_8 ---> Cleaning python24 ---> Fetching py-logilab-common ---> Attempting to fetch common-0.14.1.tar.gz from ftp://ftp.logilab.fr/pub/common/ ---> Verifying checksum(s) for py-logilab-common ---> Extracting py-logilab-common ---> Configuring py-logilab-common ---> Building py-logilab-common with target build ---> Staging py-logilab-common into destroot ---> Packaging tgz archive for py-logilab-common 0.14.1_0 ---> Installing py-logilab-common 0.14.1_0 ---> Activating py-logilab-common 0.14.1_0 ---> Cleaning py-logilab-common ---> Fetching py-lint ---> Attempting to fetch pylint-0.10.0.tar.gz from ftp://ftp.logilab.org/pub/pylint/ ---> Verifying checksum(s) for py-lint ---> Extracting py-lint ---> Configuring py-lint ---> Building py-lint with target build ---> Staging py-lint into destroot ---> Packaging tgz archive for py-lint 0.10.0_0 ---> Installing py-lint 0.10.0_0 ---> Activating py-lint 0.10.0_0 ---> Cleaning py-lint aarre@ganesha ~/src/py/sisu/childes/chat $ which pylint /opt/local/bin/pylint aarre@ganesha ~/src/py/sisu/childes/chat $ pylint Count.py Traceback (most recent call last):

File "/opt/local/bin/pylint", line 3, in ?

from pylint import lint

File "/opt/local/lib/python2.4/site-packages/pylint/lint.py", line 33, in ?

from pylint.checkers import utils

File "/opt/local/lib/python2.4/site-packages/pylint/checkers/init.py", line 37, in ?

from logilab.astng.utils import ASTWalker

ImportError: No module named astng.utils aarre@ganesha ~/src/py/sisu/childes/chat $

comment:2 Changed 14 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

Committed py-logilab-common 0.15.0 and py-lint 0.11.0. Thanks for reporting this!

Note: See TracTickets for help on using tickets.