Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 480932

Summary: dev-python/celery-3.0.21 should depend on >=dev-python/kombu-2.5.12[${PYTHON_USEDEP}] >=dev-python/billiard-2.7.3.31[${PYTHON_USEDEP}]
Product: Gentoo Linux Reporter: Alex Orange <crazycasta>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jlec
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for celery-3.0.21 ebuild file.

Description Alex Orange 2013-08-13 23:09:07 UTC
The dependancies for kombu and billiard are wrong for celery 3.0.21 (and as a result it crashes when you to try to run it). It should be (the ones that need fixing)

>=dev-python/kombu-2.5.12[${PYTHON_USEDEP}]
>=dev-python/billiard-2.7.3.31[${PYTHON_USEDEP}]

Reproducible: Always

Steps to Reproduce:
1. emerge -av celery
2. Run some celery script
3.
Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/celery-python2.7", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: kombu>=2.5.12,<3.0


Expected Results:  
No error and the worker queue starts.

See attached patch. This does not entirely fix the problem however because there is no ebuild for kombu>=2.5.12, so until that's fixed celery-3.0.21 cannot be installed.
Comment 1 Alex Orange 2013-08-13 23:10:54 UTC
Created attachment 355920 [details, diff]
Patch for celery-3.0.21 ebuild file.
Comment 2 Alex Orange 2013-08-13 23:13:03 UTC
P.S. I got these requirements from the setup.cfg file from the celery-3.0.21.tar.gz dist file.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2013-08-15 11:56:33 UTC
*kombu-2.5.12 (15 Aug 2013)

  15 Aug 2013; Ian Delaney <idella4@gentoo.org> +kombu-2.5.12.ebuild:
  bump, needed for celery-3.0.21, corrections & updates to deps

kombu is in, try again.
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2013-08-15 12:35:03 UTC
to wranglers of here bugs, AFAIK iksaif has moved on months ago, but since I'm not certain I'll just raise it as a prompt.
Comment 5 Alex Orange 2014-04-12 23:52:56 UTC
Unless I'm missing something this patch has NOT been applied to the ebuild file in question. The main point of this bug is that the requirements in the ebuild are wrong, this has not been fixed. I appreciate the new kombu ebuilds, but that isn't the subject of this bug.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2015-08-20 12:14:41 UTC
seems to be correctly set in recent ebuilds. If still problems exist, please reopen