Activity log for bug #2002855

Date Who What changed Old value New value Message
2023-01-13 20:47:48 Chris Johnston bug added bug
2023-01-13 20:48:09 Chris Johnston nominated for series Ubuntu Focal
2023-01-13 20:48:09 Chris Johnston bug task added pyflakes (Ubuntu Focal)
2023-01-13 20:53:20 Jeremy Bícha pyflakes (Ubuntu Focal): importance Undecided Low
2023-01-13 20:53:24 Jeremy Bícha pyflakes (Ubuntu): status New Fix Released
2023-01-13 20:53:27 Jeremy Bícha pyflakes (Ubuntu): importance Undecided Low
2023-01-13 20:53:30 Jeremy Bícha pyflakes (Ubuntu Focal): status New In Progress
2023-01-13 20:54:21 Jeremy Bícha pyflakes (Ubuntu Focal): assignee Chris Johnston (cjohnston)
2023-02-01 05:23:47 Chris Halse Rogers pyflakes (Ubuntu Focal): status In Progress Fix Committed
2023-02-01 05:23:49 Chris Halse Rogers bug added subscriber Ubuntu Stable Release Updates Team
2023-02-01 05:23:51 Chris Halse Rogers bug added subscriber SRU Verification
2023-02-01 05:23:55 Chris Halse Rogers tags verification-needed verification-needed-focal
2023-02-02 18:20:02 Chris Johnston description Create a simple test.py: def f(x): if (y := x.upper()) : print() Run `flake8 test.py` Result: "pyflakes" failed during execution due to "'FlakesChecker' object has no attribute 'NAMEDEXPR'" Run flake8 with greater verbosity to see more details test.py:2:10: E203 whitespace before ':' test.py:2:11: E231 missing whitespace after ':' test.py:2:24: E203 whitespace before ':' Support has been added upstream [1] to support PEP572 expressions, and it would be great to get this into the Ubuntu packages. Release: Focal ii flake8 3.7.9-2 all code checker using pycodestyle and pyflakes ii pyflakes 2.1.1-2ubuntu1 all passive checker of Python 2 programs ii pyflakes3 2.1.1-2 all passive checker of Python 3 programs ii python-pyflakes 2.1.1-2ubuntu1 all passive checker of Python 2 programs - Python modules ii python3-flake8 3.7.9-2 all code checker using pycodestyle and pyflakes - Python 3.x ii python3-pyflakes 2.1.1-2 all passive checker of Python 3 programs - Python modules [1] https://github.com/PyCQA/pyflakes/pull/457/files [ Impact ] Pyflakes is missing PEP572 support, which causes failed validation for valid code. Support has been added upstream [1] to support PEP572 expressions. [ Test Plan ] Create a simple test.py: def f(x): if (y := x.upper()) : print() Run `flake8 test.py` Result: "pyflakes" failed during execution due to "'FlakesChecker' object has no attribute 'NAMEDEXPR'" Run flake8 with greater verbosity to see more details test.py:2:10: E203 whitespace before ':' test.py:2:11: E231 missing whitespace after ':' test.py:2:24: E203 whitespace before ':' After applying this patch, the error should go away. [ Where problems could occur ] The risks related to this patch are minimal due to only adding support for new expressions. [1] https://github.com/PyCQA/pyflakes/pull/457/files
2023-02-02 18:36:23 Chris Johnston tags verification-needed verification-needed-focal verification-done verification-done-focal
2023-02-08 23:35:35 Launchpad Janitor pyflakes (Ubuntu Focal): status Fix Committed Fix Released
2023-02-08 23:35:39 Brian Murray removed subscriber Ubuntu Stable Release Updates Team