diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4132040..3537006 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: matrix: os: [ubuntu-20.04] python-version: ['3.8'] - toxenv: ['django22','quality','docs'] + toxenv: ['django22','django30','quality','docs'] steps: - uses: actions/checkout@v1 diff --git a/celery_utils/__init__.py b/celery_utils/__init__.py index b62d1ba..52eeb67 100644 --- a/celery_utils/__init__.py +++ b/celery_utils/__init__.py @@ -2,6 +2,6 @@ Code to support working with celery. """ -__version__ = '0.5.6' +__version__ = '0.5.7' default_app_config = 'celery_utils.apps.CeleryUtilsConfig' # pylint: disable=invalid-name diff --git a/celery_utils/models.py b/celery_utils/models.py index d225b32..5055d7d 100644 --- a/celery_utils/models.py +++ b/celery_utils/models.py @@ -6,7 +6,6 @@ import logging from django.db import models -from django.utils.encoding import python_2_unicode_compatible from celery import current_app from jsonfield import JSONField @@ -17,7 +16,6 @@ log = logging.getLogger(__name__) -@python_2_unicode_compatible class FailedTask(TimeStampedModel): """ Representation of tasks that have failed. diff --git a/requirements/base.in b/requirements/base.in index bb114ca..19b34d4 100644 --- a/requirements/base.in +++ b/requirements/base.in @@ -4,6 +4,6 @@ future celery -Django >= 1.11 , <2.3 +Django >= 1.11 django-model-utils jsonfield2