diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e2d1c5..9e6c687 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, django30, django31, django32, quality, csslint, eslint] + toxenv: [django32, django42, quality, csslint, eslint] steps: - uses: actions/checkout@v2 diff --git a/qualtricssurvey/models.py b/qualtricssurvey/models.py index 5548dc3..095c8dd 100644 --- a/qualtricssurvey/models.py +++ b/qualtricssurvey/models.py @@ -2,7 +2,7 @@ Handle data access logic for the XBlock """ -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from xblock.fields import Scope from xblock.fields import String diff --git a/setup.py b/setup.py index 8de8e2b..a2224f2 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ from setuptools import find_packages, setup -version = '1.2.2' +version = '1.3.0' description = __doc__.strip().split('\n')[0] this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.rst')) as file_in: @@ -120,10 +120,8 @@ def is_requirement(line): 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.8', 'Framework :: Django', - 'Framework :: Django :: 2.2', - 'Framework :: Django :: 3.0', - 'Framework :: Django :: 3.1', 'Framework :: Django :: 3.2', + 'Framework :: Django :: 4.2', 'Topic :: Education', 'Topic :: Internet :: WWW/HTTP', ], diff --git a/tox.ini b/tox.ini index cfcc280..24877fc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,10 @@ [tox] -envlist = csslint,eslint,py38-django{22,30,31,32},quality +envlist = csslint,eslint,py38-django{32,42},quality [testenv] deps = - django22: Django>=2.2,<2.3 - django30: Django>=3.0,<3.1 - django31: Django>=3.1,<3.2 django32: Django>=3.2,<4.0 + django42: Django>=4.2,<4.3 -rrequirements/test.txt commands = coverage run manage.py test