Bug 1409670

Summary: python-winrm needs to add dependency on python2-requests
Product: [Fedora] Fedora EPEL Reporter: Tom Albrecht <thomas.c.albrecht>
Component: python-winrmAssignee: James Hogarth <james.hogarth>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel7CC: andrea, james.hogarth, thomas.c.albrecht
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-21 00:02:10 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 Tom Albrecht 2017-01-02 23:41:53 UTC
Description of problem:

In RHEL6, installing python-winrm installs python2-requests_ntlm as a dependency, but doesn't include python2-requests.

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

python-requests       noarch  2.6.0-1.el7_1   @base     343 k
python2-requests_ntlm noarch  0.3.0-1.el7     @epel     13 k
python2-winrm         noarch  0.2.1-3.el7     @epel     152 k

How reproducible:

Always

Steps to Reproduce:
1. "yum install python-winrm" from epel
2. Run python
3. "import winrm"

Actual results:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/winrm/__init__.py", line 6, in <module>
    from winrm.protocol import Protocol
  File "/usr/lib/python2.7/site-packages/winrm/protocol.py", line 11, in <module>
    from winrm.transport import Transport
  File "/usr/lib/python2.7/site-packages/winrm/transport.py", line 19, in <module>
    import requests
ImportError: No module named requests


Expected results:

Success.

Additional info:

Adding the "python2-requests" package fixes the problem.

Comment 1 Fedora Update System 2017-02-04 03:12:45 UTC
python-winrm-0.2.2-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-c402159c31

Comment 2 Fedora Update System 2017-02-04 03:12:54 UTC
python-winrm-0.2.2-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4fcd15e8d4

Comment 3 Fedora Update System 2017-02-04 03:12:58 UTC
python-winrm-0.2.2-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-da3bc3326b

Comment 4 Fedora Update System 2017-02-05 00:47:54 UTC
python-winrm-0.2.2-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-da3bc3326b

Comment 5 Fedora Update System 2017-02-05 02:21:18 UTC
python-winrm-0.2.2-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4fcd15e8d4

Comment 6 Fedora Update System 2017-02-05 05:50:23 UTC
python-winrm-0.2.2-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-c402159c31

Comment 7 Fedora Update System 2017-02-16 23:20:10 UTC
python-winrm-0.2.2-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2017-02-17 16:21:04 UTC
python-winrm-0.2.2-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2017-02-20 22:20:45 UTC
python-winrm-0.2.2-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.