Bug 1188369

Summary: python-kombu package RPM dependencies are incomplete
Product: [Fedora] Fedora EPEL Reporter: Stig Telfer <stelfer>
Component: python-kombuAssignee: Rahul Sundaram <metherid>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel7CC: andrew, metherid, pj.pandit
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: python-kombu-3.0.32-1.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-19 23:29:29 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 Stig Telfer 2015-02-02 17:17:38 UTC
The python-kombu package does not have sufficient version constraints to match the requirements of the python modules.  This can prevent the python-kombu package from being loaded.

I am working on python-kombu-2.5.16-1.el7

What I notice is, it does not have any version constraints for the python-amqp package requirement:

# rpm -q --requires python-kombu
python(abi) = 2.7
python-amqp
python-anyjson
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

# rpm -q --conflicts python-kombu
(nothing)

However, the packaged requires.txt has more specific constraints on amqp and anyjson:

# cat /usr/lib/python2.7/site-packages/kombu-2.5.16-py2.7.egg-info/requires.txt
anyjson>=0.3.3
amqp>=1.0.13,<1.1.0

This becomes a problem because EPEL-7 also packages python-amqp=1.4.5 and this causes problems when kombu loads.

I think the RPM spec file for kombu needs updating to add version ranges on the dependency for python-amqp.  From the output above it also needs version criteria for python-anyjson.

Comment 1 Fedora Update System 2016-01-05 14:54:49 UTC
python-kombu-3.0.32-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-703a8968f8

Comment 2 Fedora Update System 2016-01-06 00:28:38 UTC
python-kombu-3.0.32-1.fc23 has been pushed to the Fedora 23 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-2016-703a8968f8

Comment 3 Fedora Update System 2016-01-19 23:29:25 UTC
python-kombu-3.0.32-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.