Skip to content

Commit

Permalink
Merge pull request #235 from openedx/zshkoor/django42-upgrade-support
Browse files Browse the repository at this point in the history
fix: Added support for Django 4.2
  • Loading branch information
zubairshakoorarbisoft authored Jul 26, 2023
2 parents 8ee2b81 + 046d90d commit 888a38a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .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: [quality, django32-drf312, django32-drflatest, django40-drf312, django40-drflatest]
toxenv: [quality, django32-drf314, django32-drflatest, django42-drf314, django42-drflatest]

steps:
- uses: actions/checkout@v2
Expand All @@ -36,7 +36,7 @@ jobs:
run: tox

- name: Run Coverage
if: matrix.python-version == '3.8' && matrix.toxenv=='django32-drflatest'
if: matrix.python-version == '3.8' && matrix.toxenv=='django42-drflatest'
uses: codecov/codecov-action@v1
with:
flags: unittests
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Change Log
Unreleased
~~~~~~~~~~

[4.3.0]- 2023-07-26
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Added support for Django 4.2

[4.2.1]- 2023-04-26
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Support ``get_child_blocks`` along with ``get_child_descriptors``.
Expand Down
2 changes: 1 addition & 1 deletion completion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Completion App
"""

__version__ = '4.2.1'
__version__ = '4.3.0'

default_app_config = 'completion.apps.CompletionAppConfig' # pylint: disable=invalid-name
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = drf{312,latest},py38-django{32,40}
envlist = drf{314,latest},py38-django{32,42}

[doc8]
max-line-length = 120
Expand All @@ -20,8 +20,8 @@ norecursedirs = .* docs requirements
[testenv]
deps =
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
drf312: djangorestframework<3.13.0
django42: Django>=4.2,<4.3
drf314: djangorestframework<3.15.0
drflatest: djangorestframework
-r{toxinidir}/requirements/test.txt
commands =
Expand Down

0 comments on commit 888a38a

Please sign in to comment.