django-background-tasks: Tasks don't run in Python3
Specifically I’m running a simple email task in python 3.4 and the task doesn’t run. When I run the process_tasks
management command it is just silent. This is even with --log-level=DEBUG
.
The same tasks work fine with Python 2.7.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 18 (9 by maintainers)
settings.py
wasn’t changed except for the addition ofbackground_task
in theINSTALLED_APPS
list.I’ve reproduced this using the latest from PyPI (
django-background-tasks==1.0.5
).I reduced the task to:
This works in python 2 when running the
process_tasks
command. In python 3 it is silent. Num attempts isn’t increased.I’ll create a django project from scratch in python 3 to see if I can reproduce in the simplest state.