Bug 1549006 - Wrong dependency on python2-requests
Summary: Wrong dependency on python2-requests
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-dns-lexicon
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nick Bebout
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-26 08:42 UTC by Daniel B
Modified: 2018-05-03 20:09 UTC (History)
2 users (show)

Fixed In Version: python2-requests-2.6.0-0.el7
Clone Of:
Environment:
Last Closed: 2018-05-03 20:09:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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).


Note You need to log in before you can comment on or make changes to this bug.