Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Added support for Django 4.2 #235

Merged
merged 10 commits into from
Jul 26, 2023
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You missed adding env for django42.

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