[Bug 1883175] Please test proposed package
Chris Halse Rogers
1883175 at bugs.launchpad.net
Wed Aug 5 02:27:09 UTC 2020
Hello Ted, or anyone else affected,
Accepted python-flake8 into focal-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/python-
flake8/3.8.3-1~20.04.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: pycodestyle (Ubuntu)
Status: In Progress => Fix Released
** Changed in: pyflakes (Ubuntu)
Status: In Progress => Fix Released
** Changed in: python-flake8 (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1883175
Title:
missing support for python3.8 language features
Status in pycodestyle package in Ubuntu:
Fix Released
Status in pyflakes package in Ubuntu:
Fix Released
Status in python-flake8 package in Ubuntu:
Fix Released
Status in pycodestyle source package in Focal:
Fix Committed
Status in pyflakes source package in Focal:
Fix Committed
Status in python-flake8 source package in Focal:
Fix Committed
Bug description:
[Impact]
Python 3.8 language features include some syntax that python3-flake8
3.7.9-2 registers as an error.
flake8 3.8.x is now available, released after Focal. The minor version
of flake8 matches the supported python version, so a release from the
3.8.x series should be ported to Focal.
This version bump requires dependency pycodestyle >= 2.6.0, which is
where the bugfix occurs. The dependency pyflakes must also be updated.
[Test Case]
Create a file test.py
Use python3 language features, e.g.
```
while (a := float(input())) < 10 :
print(f'{a=} is too much!')
print(f'{a=} works fine')
```
Run `python3 -m 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:1:9: E203 whitespace before ':'
test.py:1:10: E231 missing whitespace after ':'
`echo $?` shows a return value of 1
With the 3.8.3-1 version of the package proposed for Groovy
(https://launchpad.net/ubuntu/+source/python-flake8/3.8.3-1) `test.py`
produces no output and returns 0
[Regression Potential]
Potential is minimal as this is a minor version bump, which upstream
defines as only offering additional, optional checks and not breaking
backward compatibility. No reported breakages between 3.7.9 and 3.8.3
are shown in upstream issue tracker.
Any regressions would appear as unexpected errors emitted when running
the linter on previously error-less, valid python code.
Upstream QA:
https://flake8.pycqa.org/en/latest/internal/releases.html#process
outlines the required tests a release must pass, all of which
completed in https://gitlab.com/pycqa/flake8/-/pipelines/154124695
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions
More information about the Ubuntu-sponsors
mailing list