Update test containers to F38 for both pip and rpms.
Signed-off-by: Michal Konečný mkonecny@redhat.com
I fixed most of the errors regarding the update to F38, one error remains but it makes plenty of tests to fail.
The error is:
ValueError: task_id must not be empty. Got None instead.
It seems that the older version of celery wasn't so restricting.
Here is the list of things I tried to fix this error:
Connection refused
delay()
run()
CELERY_TASK_ALWAYS_EAGER=True
I'm not a celery expert, so I'm not sure what the exact issue here is, but I'm stuck on this for too long, so maybe somebody here will know what needs to be done.
And here is the full stacktrace I'm getting:
.tox/py38/lib/python3.8/site-packages/celery/local.py:182: in __call__ return self._get_current_object()(*a, **kw) .tox/py38/lib/python3.8/site-packages/celery/app/task.py:411: in __call__ return self.run(*args, **kwargs) pagure/lib/tasks_utils.py:31: in decorated_function self.update_state(state="RUNNING") .tox/py38/lib/python3.8/site-packages/celery/app/task.py:999: in update_state self.backend.store_result( .tox/py38/lib/python3.8/site-packages/celery/backends/base.py:526: in store_result self._store_result(task_id, result, state, traceback, .tox/py38/lib/python3.8/site-packages/celery/backends/base.py:973: in _store_result current_meta = self._get_task_meta_for(task_id) .tox/py38/lib/python3.8/site-packages/celery/backends/base.py:995: in _get_task_meta_for meta = self.get(self.get_key_for_task(task_id))
Could you rebase this on current master?
master
Thanks @zlopez for your work and contribution, I'm closing this PR in favor of https://pagure.io/pagure/pull-request/5405, where your code is used as starting point to work on further changes towards F38 compatibility.
Pull-Request has been closed by wombelix
Update test containers to F38 for both pip and rpms.
Signed-off-by: Michal Konečný mkonecny@redhat.com