Bug 1549006

Summary: Wrong dependency on python2-requests
Product: [Fedora] Fedora EPEL Reporter: Daniel B <dani-rh>
Component: python-dns-lexiconAssignee: Nick Bebout <nb>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: elyscape, nb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python2-requests-2.6.0-0.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-03 20:09:39 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:

Description Daniel B 2018-02-26 08:42:41 UTC
Description of problem:

When trying to install python2-dns-lexicon, a dependency error occures as it looks for python2-requests while el7 provides this package under the name python-requests:

[root@adm ~]# yum install python2-dns-lexicon
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package python2-dns-lexicon.noarch 0:2.1.19-1.el7 will be installed
--> Processing Dependency: python2-future for package: python2-dns-lexicon-2.1.19-1.el7.noarch
--> Processing Dependency: python2-requests for package: python2-dns-lexicon-2.1.19-1.el7.noarch
--> Processing Dependency: python2-setuptools for package: python2-dns-lexicon-2.1.19-1.el7.noarch
--> Processing Dependency: python2-tldextract for package: python2-dns-lexicon-2.1.19-1.el7.noarch
--> Running transaction check
[...]
---> Package python2-dns-lexicon.noarch 0:2.1.19-1.el7 will be installed
--> Processing Dependency: python2-requests for package: python2-dns-lexicon-2.1.19-1.el7.noarch
--> Finished Dependency Resolution
Error: Package: python2-dns-lexicon-2.1.19-1.el7.noarch (epel)
           Requires: python2-requests
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest



Version-Release number of selected component (if applicable):

2.1.19-1.el7


How reproducible:

yum install python2-dns-lexicon


Steps to Reproduce:
1. Try to install python2-dns-lexicon
2.
3.

Actual results:
Install fails


Expected results:
Dependency should resolve


Additional info:

Comment 1 Nick Bebout 2018-02-26 21:55:39 UTC
Maybe you need to yum clean all.  python2-requests is a package in epel which automatically requires python-requests.

[root@nbebout1 ~]# yum info python2-requests
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.sjc02.svwh.net
 * epel: mirror.sjc02.svwh.net
 * epel-testing: mirror.sjc02.svwh.net
 * extras: mirror.sjc02.svwh.net
 * remi-php71: mirror.bebout.net
 * remi-safe: mirror.bebout.net
 * updates: mirror.sjc02.svwh.net
Available Packages
Name        : python2-requests
Arch        : noarch
Version     : 2.6.0
Release     : 0.el7
Size        : 2.9 k
Repo        : epel-testing/x86_64
Summary     : Dummy package depending on python-requests
License     : Public Domain
Description : This package exists only to allow packagers to uniformly depend on
            : python2-requests instead of conditionalizing those dependencies based on the
            : version of EPEL or Fedora.  It contains no files.

Comment 2 Daniel B 2018-02-26 22:03:41 UTC
Indeed, the package does exist. But only in epel-testing, not in epel. So there's still a broken dependency unless we --enablerepo=epel-testing

Comment 3 Nick Bebout 2018-02-26 22:06:14 UTC
Good catch.  Can you give it karma at https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-348279fada Hopefully we can get it pushed soon.

Comment 4 Daniel B 2018-02-26 22:09:35 UTC
Done. Thanks. I guess we can close this one (unless it should stay open until python2-requests is pushed in epel ?)

Comment 5 Nick Bebout 2018-02-26 22:17:17 UTC
Do you have a FAS account? if you do, please login and give it karma again (Bodhi doesn't count anonymous karma).