Bug 1471054
| Summary: | MIssing dependencies | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Bart Vanbrabant <bart> |
| Component: | python-winrm | Assignee: | Orion Poplawski <orion> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | athmanem, james.hogarth, orion |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python2-winrm-0.3.0-1.el7.noarch | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-01-08 19:27:55 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: | |||
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
}
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. If there is anybody to step up on maintaining this package in EPEL, I'll happily add one as a co-maintainer. This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component. Igor - please add me (orion) as co-maintainer. Thanks. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. I can't reproduce this with python2-winrm-0.3.0-1.el7.noarch |
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: