Skip to content

Commit

Permalink
Merge pull request #91 from openedx/salman/add-django-4.2-support
Browse files Browse the repository at this point in the history
Add Django 4.2 support
  • Loading branch information
salman2013 authored Aug 3, 2023
2 parents 80f259e + 6b0e533 commit f3ce447
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion qualtricssurvey/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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',
],
Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f3ce447

Please sign in to comment.