Bug 1471054 - MIssing dependencies
MIssing dependencies
Status: NEW
Product: Fedora EPEL
Classification: Fedora
Component: python-winrm (Show other bugs)
epel7
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: James Hogarth
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-14 06:19 EDT by Bart Vanbrabant
Modified: 2017-09-14 16:21 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bart Vanbrabant 2017-07-14 06:19:05 EDT
Description of problem:
winrm depends on python-requests. However in its requirements it specifies that this version needs to be >= 2.9.1 The rpm available in for requests is 2.6.0

Python scripts function but if the use entrypoints pkg_resources will check these dependencies and fail:

Traceback (most recent call last):
  File "/usr/bin/twin", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests>=2.9.1

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

How reproducible:
create a script that uses entrypoints and depends on winrm

Steps to Reproduce:
1. execute the script

Actual results:
Traceback (most recent call last):
  File "/usr/bin/twin", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests>=2.9.1

Expected results:
$? == 0

Additional info:
Comment 1 Orion Poplawski 2017-09-14 16:21:06 EDT
Likewise for kerberos:

[kerberos]
requests-kerberos>=0.10.0

But the version in epel is 0.7.0.2.  Trying to use it with ansible will result in an error like:

hostname.domain.com | UNREACHABLE! => {
    "changed": false,
    "msg": "kerberos: __init__() got an unexpected keyword argument 'hostname_override'",
    "unreachable": true
}

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