FS#49482 - [python-celery] broken by update to python-amqp 2.0.0-1

Attached to Project: Community Packages
Opened by Till Theato (ttill) - Friday, 27 May 2016, 09:41 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 03 June 2016, 02:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After updating to python-amqp 2.0.0-1 celery cannot be used anymore.
Traceback extract:

File "/home/till/devel/evocount/evocount_core/evocount_tasks/celery.py", line 9, in <module>
from celery import Celery
File "/usr/lib/python3.5/site-packages/celery/five.py", line 306, in __getattr__
module = __import__(self._object_origins[name], None, None, [name])
File "/usr/lib/python3.5/site-packages/celery/app/__init__.py", line 22, in <module>
from .base import Celery, AppPickler
File "/usr/lib/python3.5/site-packages/celery/app/base.py", line 19, in <module>
from amqp import promise
ImportError: cannot import name 'promise'

In celery master they already moved away from using amqp.promise:
https://github.com/celery/celery/commit/22eba29948f8657be440295c342434e464d6c0a0

Additional info:
* package version: 3.1.23-1


Steps to reproduce:
* Import from Celery
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 03 June 2016, 02:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-amqp 2.0.1-1
Comment by Till Theato (ttill) - Sunday, 29 May 2016, 05:23 GMT Comment by Till Theato (ttill) - Thursday, 02 June 2016, 14:14 GMT

Loading...