pocketlint 0.5.12 needs the correct version of pyflakes

Bug #762280 reported by Curtis Hovey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pocket-lint (Ubuntu)
Fix Released
Undecided
Michael Terry

Bug Description

Uses of Pocket lint 0.5.12 see an exception when checking python and doctest
files, unless they incidentally have pyflakes installed.

See bug #762146 Python checking fails when pyflakes is not installed

Pocket lint 0.5.12 uses a modified version of pyflakes 0.4.0 to capture
the output, but the imports in that version are looking for the system
install. Pocket lint 0.5.13 restores the hack used in version 0.5.10
to use the version in pocket lint.

I uninstalled pyflakes from my systems and tested pocket-lint on pocket-lint's
and launchpad's tree. It reported the correct errors.

An alternate solution is to not update to 0.5.13, but change the packaging
to require pyflakes.

Related branches

Revision history for this message
Curtis Hovey (sinzui) wrote :
Revision history for this message
Curtis Hovey (sinzui) wrote :

Build log from Lp's build of pocketlint 0.5.13

Revision history for this message
Curtis Hovey (sinzui) wrote :

Install log of pocketlint 0.5.13

Revision history for this message
Michael Terry (mterry) wrote :

Curtis, for just a bug fix release, you don't need a full FFe. I've just now uploaded 0.5.13, it just needs to be accepted.

Changed in pocket-lint (Ubuntu):
assignee: nobody → Michael Terry (mterry)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pocket-lint - 0.5.13-0ubuntu1

---------------
pocket-lint (0.5.13-0ubuntu1) natty; urgency=low

  * New upstream bug fix release
    - Fixes crash when pyflakes is not installed (LP: #762280)
 -- Michael Terry <email address hidden> Sat, 16 Apr 2011 15:32:48 -0400

Changed in pocket-lint (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.