[FFe] upgrade to pyflakes 0.8.1

Bug #1300366 reported by Barry Warsaw
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyflakes (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

pyflakes in Ubuntu is 0.7.3-2 but in Debian it is 0.8.1-1. We should sync the sid to trusty, as it fixes a number of problems, most importantly, it honors text encodings in the -*- coding -*- line for Python 3 source files. This will fix an FTBFS for gdebi.

It will also fix compatibility with Python 3.4, the default Python 3 version in trusty. This is a leaf package with minimal reverse-depends so the risk of upgrade is low (but there are no known incompatibilities). It builds and installs just fine, and is lintian clean.

From upstream:

0.8.1 (2014-03-30):
  - Detect the declared encoding in Python 3.
  - Do not report redefinition of import in a local scope, if the
    global name is used elsewhere in the module.
  - Catch undefined variable in loop generator when it is also used as
    loop variable.
  - Report undefined name for `(a, b) = (1, 2)` but not for the general
    unpacking `(a, b) = func()`.
  - Correctly detect when an imported module is used in default arguments
    of a method, when the method and the module use the same name.
  - Distribute a universal wheel file.

0.8.0 (2014-03-22):
  - Adapt for the AST in Python 3.4.
  - Fix caret position on SyntaxError.
  - Fix crash on Python 2.x with some doctest SyntaxError.
  - Add tox.ini.
  - The `PYFLAKES_NODOCTEST` environment variable has been replaced with the
    `PYFLAKES_DOCTEST` environment variable (with the opposite meaning).
    Doctest checking is now disabled by default; set the environment variable
    to enable it.
  - Correctly parse incremental `__all__ += [...]`.
  - Catch return with arguments inside a generator (Python <= 3.2).
  - Do not complain about `_` in doctests.
  - Drop deprecated methods `pushFunctionScope` and `pushClassScope`.

Revision history for this message
Scott Kitterman (kitterman) wrote :

Ack. Approved.

Changed in pyflakes (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Barry Warsaw (barry) wrote :

This bug was fixed in the package pyflakes - 0.8.1-1

---------------
pyflakes (0.8.1-1) unstable; urgency=medium

  * Team upload.
  * New upstream release.

 -- Barry Warsaw <email address hidden> Mon, 31 Mar 2014 13:58:49 -0400

pyflakes (0.8-1) unstable; urgency=medium

  * Team upload.
  * New upstream release.
  * d/patches/patch 0.7.3-17-gecd6eca.patch: Removed, applied upstream.
  * d/control: Bump Standards-Version with no other changes needed.

 -- Barry Warsaw <email address hidden> Fri, 28 Mar 2014 11:27:36 -0400

Changed in pyflakes (Ubuntu):
status: Triaged → 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.