Skip to content

Commit

Permalink
Merge pull request #119 from openedx/salman/django-4.2-support
Browse files Browse the repository at this point in the history
Added support for Django 4.2
  • Loading branch information
salman2013 authored Jul 25, 2023
2 parents 94e43f0 + a935971 commit e80b6f5
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 imagemodal/models.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,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 @@ -7,7 +7,7 @@

from setuptools import setup

version = '3.0.0'
version = '3.1.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 @@ -123,10 +123,8 @@ def is_requirement(line):
'Topic :: Education',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Django',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.2',
],
test_suite='imagemodal.tests',
)
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 e80b6f5

Please sign in to comment.