Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75716 - pycodestyle 2.9.1-1 reports no attribute 'missing_whitespace_after_import_keyword

Attached to Project: Community Packages
Opened by Mark Blakeney (bulletmark) - Sunday, 28 August 2022, 11:03 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Tuesday, 30 August 2022, 04:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Daniel M. Capella (polyzen)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Updated today and got python-pycodestyle 2.8.0-5 -> 2.9.1-1. Since then, every time I run flake8 on any project I get the following error:

flake8 mpr.py setup.py
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/flake8/plugins/manager.py", line 161, in load_plugin
self._load()
File "/usr/lib/python3.10/site-packages/flake8/plugins/manager.py", line 138, in _load
self._plugin = self.entry_point.load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 173, in load
return functools.reduce(getattr, attrs, module)
AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_after_import_keyword'. Did you mean: 'missing_whitespace_after_keyword'?
This task depends upon

Closed by  Chih-Hsuan Yen (yan12125)
Tuesday, 30 August 2022, 04:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  flake8 1:5.0.0-1
Comment by Mark Wagie (yochananmarqos) - Sunday, 28 August 2022, 14:00 GMT
I believe it's due to not having a more recent version of flake8 to match.
Comment by Chih-Hsuan Yen (yan12125) - Tuesday, 30 August 2022, 04:33 GMT
The issue is gone after flake8 is upgraded to 5.0.0

Loading...