Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480932 - 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}]
Summary: dev-python/celery-3.0.21 should depend on >=dev-python/kombu-2.5.12[${PYTHON_...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-08-13 23:09 UTC by Alex Orange
Modified: 2015-08-20 12:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for celery-3.0.21 ebuild file. (celery-3.0.21.ebuild.patch,687 bytes, patch)
2013-08-13 23:10 UTC, Alex Orange
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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