Bug 1582075
Summary: | flake8 incompatible with pyflakes 2.0.0 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Callaghan <dcallagh> |
Component: | python-flake8 | Assignee: | Matthias Runge <mrunge> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | avagin, me, mhroncok, mrunge, rbarlow, sbonazzo, sgallagh, ville.skytta |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-flake8-3.5.0-4.fc29 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-06-11 22:17:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1565020 |
Description
Dan Callaghan
2018-05-24 07:00:35 UTC
Since flake8 requires pyflakes >= 1.5.0, < 1.7.0, see https://github.com/PyCQA/flake8/blob/master/setup.cfg this should me moved to pyflakes and the request would be to downgrade pyflakes. Unfortunately, the recent pyflakes upgrade broke flake8. Hmm, I also found this: https://gitlab.com/pycqa/flake8/issues/422 According to that, it's working fine with pyflakes 2.0.0 (In reply to Matthias Runge from comment #3) > Hmm, I also found this: https://gitlab.com/pycqa/flake8/issues/422 > According to that, it's working fine with pyflakes 2.0.0 Scratch that comment. The open issue still stands. Let's see if upstream will issue a new release fixing the issue. Otherwise proposed patch should fix within Fedora. Moving to flake8 for consuming the proposed patch or rebase on the new release once available. Pushed to gitlab too: https://gitlab.com/pycqa/flake8/merge_requests/237 flake8 FTBFS now. I also upgraded pycodestyle to 2.4.0 (sorry about that, I was unaware of how fragile flake8 is), so hopefully new version will be out soon. This block flake8-import-order and rpmlint. But we can hopefully change rpmlint spec not to BR flake8 stuff. New pyflakes compatibility: https://gitlab.com/pycqa/flake8/merge_requests/239/diffs And new pycodestyle compatibility is in https://gitlab.com/pycqa/flake8/merge_requests/230/diffs Oh, sorry https://gitlab.com/pycqa/flake8/merge_requests/237 interferes with https://gitlab.com/pycqa/flake8/merge_requests/239 - I commented that in the PR. *** Bug 1586290 has been marked as a duplicate of this bug. *** FYI: 3.7.0rc1 is expected in 3 days (2018-06-11, [1]). I'd like to start building stuff in a side tag soon after that. This is blocking us. Maybe we should apply [2] and [3] to make this build? The code numbers could possibly change but I think it's better than nothing. [1] https://www.python.org/dev/peps/pep-0537/ [2] https://gitlab.com/pycqa/flake8/merge_requests/230 [3] https://gitlab.com/pycqa/flake8/merge_requests/239 $ dnf repoquery --disablerepo='*' --enablerepo='rawhide-source' --whatrequires python3-flake8 ansible-review-0:0.13.4-4.fc29.src collectd-ceilometer-plugin-0:1.0.1-5.fc28.src commissaire-client-0:0.0.6-4.fc28.src esptool-0:2.3.1-1.fc29.src pki-console-0:10.6.1-2.fc29.src pki-core-0:10.6.1-2.fc29.src pyee-0:5.0.0-3.fc29.src python-autobahn-0:18.5.1-1.fc29.src python-catkin_pkg-0:0.4.3-2.fc29.src python-catkin_tools-0:0.4.4-1.fc27.src python-django-formtools-0:2.1-5.fc28.src python-docker-py-1:1.10.6-8.fc29.src python-docx-0:0.8.5-12.fc28.src python-f5-icontrol-rest-0:1.3.6-3.fc29.src python-flake8-import-order-0:0.17.1-1.fc29.src python-fmn-sse-0:0.2.1-5.fc28.src python-fpylll-0:0.4.1dev-1.fc29.src python-hacking-0:1.1.0-1.fc29.src python-lesscpy-0:0.10.1-13.fc28.src python-nodeenv-0:0.13.6-11.fc28.src python-osrf-pycommon-0:0.1.4-1.fc29.src python-parsedatetime-0:2.4-6.fc28.src python-pep8-naming-0:0.4.1-5.fc28.src python-responses-0:0.9.0-1.fc29.src python-tackerclient-0:0.7.0-5.fc28.src python-terminaltables-0:3.1.0-7.fc29.src python-testify-0:0.11.0-10.fc29.src python-twitter-0:3.3-3.fc29.src python-utils-0:2.3.0-1.fc29.src python-webcolors-0:1.7-5.fc28.src transtats-cli-0:0.1.2-1.fc29.src Prepping patch. Witch that patch applied, python-flake8 builds fine now in rawhide as well as with Python 3.7. *** Bug 1591961 has been marked as a duplicate of this bug. *** |