celery-haystack icon indicating copy to clipboard operation
celery-haystack copied to clipboard

Support for celery 4.X

Open millerf opened this issue 7 years ago • 12 comments

Hi,

I would be interested to know if it could be compatible with celery 4? If there is not much work I am happy to provide a PR...

millerf avatar Apr 11 '17 09:04 millerf

i use this application with celery 4.0.2 and django 1.11 and all is fine

Sinkler avatar Apr 21 '17 11:04 Sinkler

Are you using python 3.6 as well?

millerf avatar Apr 21 '17 14:04 millerf

at the moment 3.5

Sinkler avatar Apr 21 '17 14:04 Sinkler

Ok, I don't remember what was my errors, but I had to reimplement it my own way...

millerf avatar Apr 21 '17 14:04 millerf

@millerf can you make a PR?

SalahAdDin avatar Jun 07 '17 09:06 SalahAdDin

@SalahAdDin ok

millerf avatar Jun 07 '17 09:06 millerf

@SalahAdDin I actually had to rewrite my own stuff from scratch... Can't PR it...

millerf avatar Jun 07 '17 09:06 millerf

@millerf, what? in which kind? maybe after to rewrite it you can update it.

SalahAdDin avatar Jun 07 '17 21:06 SalahAdDin

Guys, I've added a PR. In short, the logic in task mostly moved to special handler class and the task became @shared_task.

Please let me know what do you think

ddemid avatar Oct 03 '17 17:10 ddemid

Our fork now works with Celery 4 and 5: https://pypi.org/project/celery-haystack-ng/

Natureshadow avatar Feb 11 '21 22:02 Natureshadow

The PR still works for me, even on Celery 5. Sad to see this is still not merged and released.

svengt avatar Jul 21 '23 07:07 svengt

This library is unmaintained. Find the maintained fork above.

Natureshadow avatar Jul 21 '23 09:07 Natureshadow