Bug 998936 - Missing dependancies python-billiard and python-amqplib
Summary: Missing dependancies python-billiard and python-amqplib
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-celery
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andrew Colin Kissa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-20 11:31 UTC by Tomas Edwardsson
Modified: 2013-08-21 10:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-21 10:38:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomas Edwardsson 2013-08-20 11:31:31 UTC
Description of problem:
There are couple of missing dependencies for the python-celery package.

python-billiard and python-amqplib

Version-Release number of selected component (if applicable):
python-celery-3.0.11-1.fc18.noarch

How reproducible:
Install python-celery, setup or configure connection to rabbitmq-server and try to run the test application referenced in http://docs.celeryproject.org/en/latest/getting-started/first-steps-with-celery.html#Applic

Steps to Reproduce:
1. yum install python-celery rabbitmq-server
2. rabbitmqctl add_user testcelery easypassword
3. rabbitmqctl add_vhost testcelery
4. rabbitmqctl set_permissions -p testcelery testcelery ".*" ".*" ".*"
5. Run the test application from http://docs.celeryproject.org/en/latest/getting-started/first-steps-with-celery.html#Applic


Actual results:

[root@tandoori ~]# celery -A testcelery worker --loglevel=info
Traceback (most recent call last):
  File "/bin/celery", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2815, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 690, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 588, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: billiard>=2.7.3.17


Now if I install python-billiard I get the following:

Traceback (most recent call last):
  File "/bin/celery", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2815, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 690, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 588, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: amqplib>=1.0.2


Resolving this requires installing both python-billiard and python-amqplib. I recommend adding the following to the spec file:

Requires: python-billiard
Requires: python-amqplib

Comment 1 Matthias Runge 2013-08-21 10:38:36 UTC
Thank you for the report.

OK, I agree, python-billiard should be included. python-amqp ist required by python-kombu, which is required by python-celery.
Kombu was fixed for fedora rawhide, which will become fedora 20.


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