[Python-modules-team] Bug#904888: python3-django-q fails to install (Python 3.7 compatibility)
Matthias Klose
doko at debian.org
Sun Jul 29 09:52:25 BST 2018
Package: src:django-q
Version: 0.9.4-1
Severity: serious
Tags: sid buster
python3-django-q fails to install. Proposed patch at
https://github.com/Koed00/django-q/pull/306
Thanks to Michael Hudson for the pointer.
Setting up python3-django-q (0.9.4-1) ...
File "/usr/lib/python3/dist-packages/django_q/__init__.py", line 15
from .tasks import async, schedule, result, result_group, fetch,
fetch_group, count_group, delete_group, queue_size
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/django_q/admin.py", line 5
from django_q.tasks import async
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/django_q/cluster.py", line 539
s.task = tasks.async(s.func, *args, **kwargs)
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/django_q/tasks.py", line 20
def async(func, *args, **kwargs):
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/django_q/tests/test_cached.py", line 8
from django_q.tasks import async, result, fetch, count_group, result_group,
fetch_group, delete_group, delete_cached, \
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/django_q/tests/test_cluster.py", line 16
from django_q.tasks import fetch, fetch_group, async, result, result_group,
count_group, delete_group, queue_size
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/django_q/tests/test_monitor.py", line 3
from django_q.tasks import async
^
SyntaxError: invalid syntax
dpkg: error processing package python3-django-q (--configure):
installed python3-django-q package post-installation script subprocess returned
error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
More information about the Python-modules-team
mailing list