-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
django_q 1.0 fails in ./manage.py check on python 3.4 django 2.0.8 #315
Comments
django_q 1.0 supports Python 3.6+ FWIW, the IUS repo has python3.6 packages available. |
That would be why, the current documentation lists Python 3.4 but it is for 0.9.2. Sorry for taking up your time. [Also for the IUS python3.6, I know it is there, my sysadmin's know it is there, but I can't get them to update it. So python 3.4 for me!] |
I'm aware of the issues with Python 3.4 and I've been trying to find a solution, but because the way 3.4 deals with imports (that was fixed in 3.5) it would mostly likely require me to restructure the whole app the prevent this circular import. Maybe it could work by moving import from top to bottom and I'll give it another try. |
Hum, Can you change the import at the top of cluster.py: Bad: Good: and then all tasks become django_q.tasks, there are a couple that have tasks.async_chain. Those go to django_q.tasks.async_chain. There could be a better way of doing this, but seemed the most minimal change. |
Installed via pip into a virtual environment. Version 0.9.2 runs fine. Version 1.0.0 breaks Django's manage.py badly enough that you can't get to makemigrations or migrate or any commands. Full error below.
Python is 3.4 (Redhat, sadly)
Django 2.0.8
Let me know if you need anymore information. Removing from installed apps problem goes away, adding django-q back and it fails.
The text was updated successfully, but these errors were encountered: