Bug 2014589
| Summary: | F36FailsToInstall: python3-flake8 has broken dependency on python3-pyflakes | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| 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: | berrange, me, mrunge, python-sig, sgallagh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | pyflakes-2.4.0-1.fc36 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-20 13:40:54 UTC | Type: | --- |
| 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: | 2011622 | ||
| Bug Blocks: | 1992487, 2015343 | ||
|
Description
Miro Hrončok
2021-10-15 15:24:41 UTC
An update of pyflakes should fix this. This is an interesting failure scenario
The dep "python3.10dist(pyflakes) < 2.5 with python3.10dist(pyflakes) >= 2.4" appears to be automatically added to the generated RPM based on the setup.cfg metadata
install_requires =
...snip...
pyflakes>=2.4.0,<2.5.0
The root.log shows the build for flake8 ran with pyflakes 2.3.0 installed
https://kojipkgs.fedoraproject.org/packages/python-flake8/4.0.1/1.fc36/data/logs/noarch/root.log
and nothing in the build.log complains about the old version
https://kojipkgs.fedoraproject.org/packages/python-flake8/4.0.1/1.fc36/data/logs/noarch/root.log
It is pretty unfortunate that nothing in the build process validated the version requirements that are eventually added to the RPM.
Tip: Using %pyproject_buildrequires -r would. |