Closed MatthijsBurgh closed 5 months ago
This seems to be fixed in 6.1 and 7.0, https://github.com/PyCQA/flake8/commit/9786562feb573d30c73f18e1a0a6685c8584e9b5. Is this going to be released on Ubuntu 24.04?
Closing this as a fix has been made, see https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/2012523
please next time read the issue template and the things it links to. it explicitly calls out this case where operating system packagers do dumb things and force incompatible versions. it also invites you to search and find the several duplicates with your exact error message
how did you install flake8?
unmodified output of
flake8 --bug-report
describe the problem
Flake8 fails to import
missing_whitespace_around_operator
frompycodestyle
. This function has been merged withmissing_whitespace
in https://github.com/PyCQA/pycodestyle/commit/f04e2a1f5d37f8668519f123b97bf38165994b72 (See also https://github.com/PyCQA/pycodestyle/issues/1191)This only happens on Ubuntu 24.04, not on Ubuntu 22.04. As on 22.04
pycodestyle
is still on2.8.0-2
.what I expected to happen
To generate a bug report.
sample code
Any flake8 call
commands ran