requirements: add min version 'celery>=5.3'
When running 'manage.py migrete' with Python version 3.11 the following Traceback could be seen:
$ ./manage.py migrate [242/884]
Traceback (most recent call last):
File "/home/anders/src/squad/venv-foo/lib/python3.11/site-packages/vine/five.py", line 361, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/anders/src/squad/./manage.py", line 3, in
When dropping the hardcoded version lock '>=5.3' it looks like it passed ok.
I'll review your patch today, as celery tagging was done by this commit: https://github.com/Linaro/squad/commit/47fd9f90fa6ae64d4563c4eb941b6ab2bce1488d
Bummer!
Changing celery to that also changed django-celery-results, which is used when fetching android test jobs (+2M tests) and got this error while fetching
File "/home/chaws/.local/lib/python3.10/site-packages/django_celery_results/backends/database.py", line 123, in <listcomp>
results = [r.as_tuple() for r in header_result]
AttributeError: 'str' object has no attribute 'as_tuple'
I'll continue investigating
This has been fixed in django-celery-results: https://github.com/celery/django-celery-results/commit/d5c4456e018ccd2b219aa5ff607424dbae7b926f
Updating django-celery-results require a database migration
django.db.utils.ProgrammingError: column django_celery_results_taskresult.periodic_task_name does not exist
LINE 1: ...d", "django_celery_results_taskresult"."task_id", "django_ce...
I'll put this PR in the back burner as higher priority things popped up.