Bug 1225394
| Summary: | pylint should Require: python-six | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomas Lestach <tlestach> | ||||
| Component: | pylint | Assignee: | Haïkel Guémar <karlthered> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 22 | CC: | bcl, bochecha, karlthered, mbridon, mrunge, tkasparek | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | pylint-1.4.3-2.fc22 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-05-28 12:02:20 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: | |||||||
| Attachments: |
|
||||||
|
Description
Tomas Lestach
2015-05-27 09:46:44 UTC
Created attachment 1030442 [details]
Fix dependency issues
Here's a patch that fixes this, as well as another dependency issue: pylint (python2) requires some python3 packages.
I'll note that it's not entirely trivial to reproduce the issue, as DNF requires python-six, so it's installed by default on pretty much every Fedora 22+ system.
However, it does cause trouble in buildroots, for things using pylint, as we do in Spacewalk.
The simplest way to reproduce the issue is as follows:
$ mock -r fedora-22-x86_64 --init
$ mock -r fedora-22-x86_64 --install pylint
$ mock -r fedora-22-x86_64 --shell
<mock-chroot>sh-4.3# pylint
Traceback (most recent call last):
File "/usr/bin/pylint", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3018, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 612, in _build_master
ws.require(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 918, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 805, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: six
Verified issue, I'm applying this patch as provenpackager as Mattias is currently ill. pylint-1.4.3-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/pylint-1.4.3-2.fc22 pylint-1.4.3-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |