Red Hat Bugzilla – Bug 845465
Review Request: python-django-celery - Django Celery Integration
Last modified: 2012-08-06 01:44:31 EDT
Spec URL: http://www.matthias-runge.de/fedora/python-django-celery.spec
SRPM URL: http://www.matthias-runge.de/fedora/python-django-celery-3.0.4-1.fc17.src.rpm
Description: django-celery provides Celery integration for Django; Using the Django ORM and
cache backend for storing results, autodiscovery of task modules for
applications listed in INSTALLED_APPS, and more.
Celery is a task queue/job queue based on distributed message passing. It is
focused on real-time operation, but supports scheduling as well.
The execution units, called tasks, are executed concurrently on a single or more
worker servers. Tasks can execute asynchronously (in the background) or
synchronously (wait until ready).
Fedora Account System Username: mrunge
please note, this is a review required for package rename.
[mrunge@mrungexp SPECS]$ rpmlint ./python-django-celery.spec ../SRPMS/python-django-celery-3.0.4-1.fc17.src.rpm ../RPMS/noarch/python-django-celery-3.0.4-1.fc17.noarch.rpm
python-django-celery.src: W: spelling-error %description -l en_US backend -> backed, back end, back-end
python-django-celery.src: W: spelling-error %description -l en_US autodiscovery -> auto discovery, auto-discovery, discovery
python-django-celery.noarch: W: spelling-error %description -l en_US backend -> backed, back end, back-end
python-django-celery.noarch: W: spelling-error %description -l en_US autodiscovery -> auto discovery, auto-discovery, discovery
python-django-celery.noarch: W: no-manual-page-for-binary djcelerymon
2 packages and 1 specfiles checked; 0 errors, 5 warnings.
I'll take it for a review.
- Your changelog mentions updating to version 3.0.5, but the actual version is 3.0.4, please fix this.
- The package includes some tests, have you tried running them? It seems that after some playing with them, they may be runnable via nosetests, although I'm not sure it's doable without django_nose (which we don't have in Fedora).
I'm honestly sorry!
I had put those files on my webspace and ran rpmlint later. I just have forgotten to replace those files the corrected versions. It's done now.
I must say, didn't try the checks yet, good news is, we already have django-nose:
Sadly, running those tests is not that easy as I thought.
Ok, here is how to run the tests:
1) install all the requirements (django, django-nose, celery, mock)
2) patch the tests/settings.py to leave out the coverage stuff (starting line 37)
3) run python setup.py test
That does the trick for me.
yepp, here too, without patching.
You need latest billiard, celery and kombu from rawhide. Sadly, the builders don't have it (yet).
Oh, sure, you also install nose-cover3 so you don't need to patch the tests.
I tried a scratch build and it seems that koji already has the newest versions, but you're missing BR: python-mock . Would you mind adding it and putting the spec + srpm one last time in here, so that I can check before finally approving?
OK, that's it. 
I would have sworn to have python-mock included also, but you're right, it was missing!
Great. I don't have any other objections. This package is APPROVED.
Thank you very much!
New Package SCM Request
Package Name: python-django-celery
Short Description: Django Celery Integration
Git done (by process-git-requests).
package imported and built. thanks.