Bug 1440546

Summary: Add missing requires python-urllib3
Product: [Fedora] Fedora Reporter: Oleg Gashev <oleg>
Component: python-etcdAssignee: Matthew Barnes <mbarnes>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: mbarnes, smilner
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-etcd-0.4.5-2 python-etcd-0.4.5-2.fc26 python-etcd-0.4.5-2.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-17 15:53:47 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:
Attachments:
Description Flags
Patch: added missing requires. none

Description Oleg Gashev 2017-04-09 20:56:20 UTC
Created attachment 1270305 [details]
Patch: added missing requires.

Description of problem:

In python2-python-etcd, python3-python-etcd rpm packages missing depends on python-urllib3, python3-urllib3 rpm.

Version-Release number of selected component (if applicable):
python2-python-etcd-0.4.3-5.fc25.noarch,
python3-python-etcd-0.4.3-5.fc25.noarch

How reproducible:
always

Steps to Reproduce:
1. Create vm from the Fedora-Cloud-Base-25-1.3.x86_64.qcow2 image for OpenStack.
2. Logon to vm and install python-etcd.
3. Exec
# rpm -qR python2-python-etcd
etcd
python(abi) = 2.7
python-dns
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

# cat test.py
#!/usr/bin/python

import etcd

client = etcd.Client(host='127.0.0.1', port=2379)

print client.read('/test', recursive=True)

# ./test.py 
Traceback (most recent call last):
  File "./test.py", line 3, in <module>
    import etcd
  File "/usr/lib/python2.7/site-packages/etcd/__init__.py", line 2, in <module>
    from .client import Client
  File "/usr/lib/python2.7/site-packages/etcd/client.py", line 17, in <module>
    import urllib3
ImportError: No module named urllib3

Actual results:
No dependencies between python-etcd and python-urllib3 packages.

Expected results:
When install the package python-etcd, python-urllib3 package will be installed.

Comment 1 Matthew Barnes 2017-04-12 16:56:10 UTC
Thanks for the patch, Oleg!

Applied to python-etcd-0.4.5-2

Comment 2 Fedora Update System 2017-04-12 17:03:38 UTC
python-etcd-0.4.5-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-482b333c18

Comment 3 Fedora Update System 2017-04-12 17:03:43 UTC
python-etcd-0.4.5-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2538a71660

Comment 4 Fedora Update System 2017-04-13 15:19:47 UTC
python-etcd-0.4.5-2.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-2538a71660

Comment 5 Fedora Update System 2017-04-13 17:21:27 UTC
python-etcd-0.4.5-2.fc26 has been pushed to the Fedora 26 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-482b333c18

Comment 6 Fedora Update System 2017-04-17 15:53:47 UTC
python-etcd-0.4.5-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2017-04-22 09:22:00 UTC
python-etcd-0.4.5-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.