Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Linkchecker depends on python-requests (in director/aggregator.py and url.py for example) but there is no explicit Requires on it in the spec file. Version-Release number of selected component (if applicable): linkchecker.x86_64 0:9.0-1.fc20 How reproducible: Always Steps to Reproduce: 1. Ensure that python-requests is not installed. 2. yum install linkchecker 3. linkchecker http://fedoraproject.org Actual results: Traceback (most recent call last): File "/usr/bin/linkchecker", line 34, in <module> from linkcheck.cmdline import print_version, print_usage, aggregate_url, \ File "/usr/lib64/python2.7/site-packages/linkcheck/cmdline.py", line 23, in <module> from . import checker, fileutil, strformat, plugins File "/usr/lib64/python2.7/site-packages/linkcheck/checker/__init__.py", line 24, in <module> from .. import strformat, url as urlutil, log, LOG_CHECK File "/usr/lib64/python2.7/site-packages/linkcheck/url.py", line 25, in <module> import requests ImportError: No module named requests Expected results: A successful run of linkchecker. Additional info: To add to the issue, linkchecker requires a newer version of python-requests than what is available in Fedora 20. If you use the python-requests that's in Fedora 20, you'll run into https://github.com/wummel/linkchecker/issues/478 I'm going to file a bug against python-requests and I'll update this one with that bug number.
I have opened Bug #1084505 to request that python-requests be updated to the latest upstream.
I've added the relevant requires in the SPEC after building 9.1 ;-) This bug should be solved from 9.2 at least. Thanks!
linkchecker-9.1-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/linkchecker-9.1-1.fc20