open-craft / xblock-poll

An XBlock for Polling users and displaying the result
GNU Affero General Public License v3.0
17 stars 65 forks source link

Ensure continuous support of Django 3.2 and celery v5.0+ #96

Closed gabor-boros closed 2 years ago

gabor-boros commented 2 years ago

Description

This PR ensures that xblock-poll supports

Also

Supporting information

Celery did remove the celery.decorators module, or at least tasks is not part of that anymore. Therefore, mimicking the previous behaviour, we have to import the current Celery app and use that task. OpenCraft currently upgrading Celery on the edX platform as well, so we wouldn't need to bump xblock-poll twice in the platform:

Dependencies

Testing instructions

Deadline

ASAP

Reviewers

@arbrandes

pomegranited commented 2 years ago

:+1: