[Bug 1883175] Re: missing support for python3.8 language features

2020-12-10 Thread Ted Kern
Prepared related SRUs to fix test failures in other packages caused by
this update:

https://bugs.launchpad.net/ubuntu/+source/budgie-extras/+bug/1907729
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1907727
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1907728

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1907728] Re: pycodestyle error E741 in source

2020-12-10 Thread Ted Kern
** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1907728

Title:
  pycodestyle error E741 in source

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1907728/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1907729] [NEW] pycodestyle error E741 in source

2020-12-10 Thread Ted Kern
Public bug reported:

[Impact]
pycodestyle error E741 appears when pycodestyle is updated to support Python 
3.8 as in focal (see 
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175). These 
style errors are preventing an SRU of flake8, pyflakes, and pycodestyle.

[Regression Potential]
Extremely limited, only a few local variables are changed, expanded out to non 
single character names.

Upstream QA:
Patch is backported from git commit af10962 
(https://github.com/UbuntuBudgie/budgie-extras/commit/af109622dccf03ae6fa286a982dfb2dc4eb59b5c)

** Affects: budgie-extras (Ubuntu)
 Importance: Undecided
 Status: New

** Patch added: "budgie-extras_1.0.2-0ubuntu2~arnatious1.debdiff"
   
https://bugs.launchpad.net/bugs/1907729/+attachment/5442583/+files/budgie-extras_1.0.2-0ubuntu2~arnatious1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1907729

Title:
  pycodestyle error E741 in source

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/budgie-extras/+bug/1907729/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1907728] [NEW] pycodestyle error E741 in source

2020-12-10 Thread Ted Kern
Public bug reported:

[Impact]
pycodestyle error E741 appears when pycodestyle is updated to support Python 
3.8 as in focal (see 
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175). These 
style errors are preventing an SRU of flake8, pyflakes, and pycodestyle.

[Regression Potential]
Extremely limited, only a few local variables are changed, expanded out to non 
single character names.

Upstream QA:
Patch is backported from git commit 
e691d80(https://git.launchpad.net/ubuntu-release-upgrader/commit/?id=e691d80ee0b95b778e7f226b2c9f5a3ebfc544de)

** Affects: ubuntu-release-upgrader (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: patch

** Attachment added: 
"ubuntu-release-upgrader_20.04.18ubuntu1~arnatious1.debdiff"
   
https://bugs.launchpad.net/bugs/1907728/+attachment/5442582/+files/ubuntu-release-upgrader_20.04.18ubuntu1~arnatious1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1907728

Title:
  pycodestyle error E741 in source

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1907728/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1907727] [NEW] pycodestyle error E741 in source

2020-12-10 Thread Ted Kern
Public bug reported:

[Impact]
pycodestyle error E741 appears when pycodestyle is updated to support Python 
3.8 as in focal (see 
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175). These 
style errors are preventing an SRU of flake8, pyflakes, and pycodestyle.

[Regression Potential]
Extremely limited, only a few local variables are changed, expanded out to non 
single character names.

Upstream QA:
Patch is backported from bzr revision 2892 
(https://bazaar.launchpad.net/~ubuntu-core-dev/update-manager/main/revision/2892)

** Affects: python-flake8 (Ubuntu)
 Importance: Undecided
 Status: New

** Affects: update-manager (Ubuntu)
 Importance: Undecided
 Status: New

** Patch added: "update-manager_20.04.9ubuntu1~arnatious1.debdiff"
   
https://bugs.launchpad.net/bugs/1907727/+attachment/5442581/+files/update-manager_20.04.9ubuntu1~arnatious1.debdiff

** Also affects: python-flake8 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1907727

Title:
  pycodestyle error E741 in source

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1907727/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-10-05 Thread Ted Kern
New patches posted with correctly formatted changelog.

Failures:
budgie-extras/1.0.2-0ubuntu1 (arm64, amd64, armhf, i386, ppc64el, s390x)
update-manager/1:20.04.10.1 (arm64, amd64, armhf, ppc64el, s390x)
ubuntu-release-upgrader/1:20.04.23 (arm64, amd64, armhf, ppc64el, s390x)

Are all related to code style errors caught by the updated linter. These
are not regressions.

Failures:
python-b2sdk/1.0.2-1 (armhf)
update-manager/1:20.04.10.1 (armhf)
mu-editor/1.0.2+dfsg-4build1 (amd64)

python-b2sdk failure is due to a segfault after its test suite has completed, 
not related to this update
update-manager is again the same style error as above
mu-editor appears to be a timeout, likely a transient failure

Failures:
elpy/1.32.0-2 (amd64)

Are transient (timeout in profiling), a manual re-run succeeded
https://autopkgtest.ubuntu.com/packages/e/elpy/focal/amd64

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-10-05 Thread Ted Kern
** Patch added: "pyflakes_2.2.0-1~20.04.2.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175/+attachment/5417991/+files/pyflakes_2.2.0-1~20.04.2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-10-05 Thread Ted Kern
** Patch added: "python-flake8-3.8.3~20.04.2.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175/+attachment/5417990/+files/python-flake8-3.8.3~20.04.2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-10-05 Thread Ted Kern
** Patch added: "pycodestyle_2.6.0-1~20.04.2.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175/+attachment/5417989/+files/pycodestyle_2.6.0-1~20.04.2.debdiff

** Patch removed: "python-flake8_3.8.3-1~20.04.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175/+attachment/5389081/+files/python-flake8_3.8.3-1~20.04.1.debdiff

** Patch removed: "pyflakes_2.2.0-1~20.04.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175/+attachment/5389080/+files/pyflakes_2.2.0-1~20.04.1.debdiff

** Patch removed: "pycodestyle_2.6.0-1~20.04.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175/+attachment/5389079/+files/pycodestyle_2.6.0-1~20.04.1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-09-01 Thread Ted Kern
** Changed in: python-flake8 (Ubuntu)
   Status: Fix Released => In Progress

** Changed in: pyflakes (Ubuntu)
   Status: Fix Released => In Progress

** Changed in: pycodestyle (Ubuntu)
   Status: Fix Released => In Progress

** Changed in: pycodestyle (Ubuntu)
 Assignee: (unassigned) => Ted Kern (arnatious)

** Changed in: pyflakes (Ubuntu)
 Assignee: (unassigned) => Ted Kern (arnatious)

** Changed in: python-flake8 (Ubuntu)
 Assignee: (unassigned) => Ted Kern (arnatious)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-07-08 Thread Ted Kern
** Description changed:

+ [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
- 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.
+ 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.
+ 
+ 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-07-02 Thread Ted Kern
** Patch removed: "python-flake8_3.8.3-1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175/+attachment/5388974/+files/python-flake8_3.8.3-1.debdiff

** Patch added: "python-flake8_3.8.3-1~20.04.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175/+attachment/5389081/+files/python-flake8_3.8.3-1~20.04.1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-07-02 Thread Ted Kern
** Patch added: "pycodestyle_2.6.0-1~20.04.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175/+attachment/5389079/+files/pycodestyle_2.6.0-1~20.04.1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-07-02 Thread Ted Kern
** Patch added: "pyflakes_2.2.0-1~20.04.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175/+attachment/5389080/+files/pyflakes_2.2.0-1~20.04.1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-07-02 Thread Ted Kern
** Also affects: pyflakes (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-07-02 Thread Ted Kern
** Patch added: "python-flake8_3.8.3-1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175/+attachment/5388974/+files/python-flake8_3.8.3-1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-06-30 Thread Ted Kern
** Description changed:

  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
  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.
  
  [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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-06-30 Thread Ted Kern
** Also affects: pycodestyle (Ubuntu)
   Importance: Undecided
   Status: New

** Description changed:

  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 on PyPi, released after Focal. The minor
- version matches the supported python version, so a release from the
- 3.8.x series should be ported to Focal.
+ flake8 3.8.x is now available, released after Focal. The minor version
+ 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.
  
  [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=} 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.
  
  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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] Re: missing support for python3.8 language features

2020-06-30 Thread Ted Kern
** Description changed:

  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 on PyPi, released after Focal. The minor
  version matches the supported python version, so a release from the
  3.8.x series should be ported to Focal.
+ 
+ [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.
+ 
+ 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycodestyle/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1883175] [NEW] missing support for python3.8 language features

2020-06-11 Thread Ted Kern
Public bug reported:

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 on PyPi, released after Focal. The minor
version matches the supported python version, so a release from the
3.8.x series should be ported to Focal.

** Affects: python-flake8 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883175

Title:
  missing support for python3.8 language features

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1883175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs