-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python3 support #2
Comments
Thanks for trying this on Python 3, hadn't tried that myself yet. If it hangs, the worker thread likely doesn't ever receive the tasks, or the results aren't sent back to the caller. It could mean the memcached isn't shared between the threads. Or it could mean the configuration doesn't load properly and it's using processes instead of threads? Does it work using the AMQP transport? |
I've referenced a commit that just includes the necessary changes for python3 compatibility. I also experience the hang (like described by @kmmbvnr) but I'm using the memory backend. The execution hangs on Any suggestions on why that might happen? |
I get the following error from celery. But it seems that the last version of threadpool was released 2009 and is not python3 compatible. |
I've created a python3 version of threadpool on https://github.com/torotil/threadpool and a python3 compatible version of celerytest on https://github.com/torotil/celerytest . |
I tried to run the tests on python 3
I used python3 port of python memcached - https://github.com/eguven/python3-memcached
And fixed config construction at https://github.com/RentMethod/celerytest/blob/master/celerytest/__init__.py#L6
(summing for dictionaries no longer works under python3)
But even after that nosetests script just hands and do nothing.
The text was updated successfully, but these errors were encountered: