Description of problem: Our koji build http://koji.spacewalkproject.org/koji/taskinfo?taskID=187507 fails (see build.log) with: 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 Version-Release number of selected component (if applicable): pylint-1.4.3-1.fc22 How reproducible: always Actual results: pylint fails, because of missing pylint-six package Expected results: pylink should require pylint-six, if it needs it
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.