Skip to content

Commit

Permalink
feat: Added Support for Django 3.2 (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
M. Zulqarnain authored Jul 27, 2021
1 parent 486a5e1 commit 06381c6
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ env:
- TOX_ENV=docs
- TOX_ENV=quality
- TOX_ENV=django22
- TOX_ENV=django30
- TOX_ENV=django31
- TOX_ENV=django32

script:
- tox -e $TOX_ENV
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Change history for XBlock

These are notable changes in XBlock.

1.5.0 - 2021-07-27
------------------

* Added Django 3.0, 3.1 & 3.2 support

1.4.2 - 2021-05-24
------------------

Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-django{22,30,31}, quality, docs
envlist = py38-django{22,30,31,32}, quality, docs

[pytest]
DJANGO_SETTINGS_MODULE = xblock.test.settings
Expand All @@ -13,6 +13,7 @@ deps =
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<3.3
-r requirements/test.txt
changedir = {envsitepackagesdir}
commands =
Expand Down
2 changes: 1 addition & 1 deletion xblock/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.2
1.5.0
2 changes: 1 addition & 1 deletion xblock/test/django/test_field_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from unittest.mock import Mock
from django.test import TestCase
from django.utils import translation
from django.utils.translation import ugettext_lazy as _ # pylint: disable=import-error
from django.utils.translation import gettext_lazy as _ # pylint: disable=import-error

from xblock.core import XBlock
from xblock.fields import FailingEnforceTypeWarning, Scope, String, ScopeIds
Expand Down

0 comments on commit 06381c6

Please sign in to comment.