Bug 1188369 - python-kombu package RPM dependencies are incomplete
Summary: python-kombu package RPM dependencies are incomplete
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-kombu
Version: epel7
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rahul Sundaram
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-02 17:17 UTC by Stig Telfer
Modified: 2016-01-19 23:29 UTC (History)
3 users (show)

Fixed In Version: python-kombu-3.0.32-1.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-19 23:29:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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