diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c22d87..7c20b1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.10" - - uses: pre-commit/action@v2.0.2 + - uses: pre-commit/action@v3.0.1 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -29,7 +29,7 @@ jobs: strategy: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.10"] - django-version: ["3.2", "4.2", "5.0", "5.1"] + django-version: ["3.2", "4.2", "5.0", "5.1", "5.2"] experimental: [false] include: - python-version: "3.12" @@ -49,6 +49,11 @@ jobs: django-version: 5.1 - python-version: 3.9 django-version: 5.1 + # Unsupported Python versions for Django 5.2 + - python-version: 3.8 + django-version: 5.2 + - python-version: 3.9 + django-version: 5.2 steps: - uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 399b913..8227f67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ Changelog *Add a sentence for each interesting change in this section.* +- Add support for Django 5.2 + ------- ## v3.5.0 - 2024/09/02 diff --git a/setup.py b/setup.py index ffd7a4c..0b6ba6e 100644 --- a/setup.py +++ b/setup.py @@ -48,6 +48,7 @@ def get_version(version): "rules.templatetags", "rules.contrib", ], + install_requires=["Django>=3.2"], include_package_data=True, classifiers=[ "Development Status :: 5 - Production/Stable", diff --git a/tox.ini b/tox.ini index eca3fd6..61f75dd 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = py{38,39,310,311,312,py3}-dj{32,42} - py{310,311,312,py3}-dj{50,51} + py{310,311,312,py3}-dj{50,51,52} py312-packaging [gh-actions] @@ -19,6 +19,7 @@ DJANGO = 4.2: dj42 5.0: dj50 5.1: dj51 + 5.2: dj52 main: djmain packaging: packaging @@ -31,6 +32,7 @@ deps = dj42: Django~=4.2.0 dj50: Django~=5.0.0 dj51: Django~=5.1.0 + dj52: Django~=5.2.0 commands = py{38,39,310,311,312}: coverage run tests/manage.py test testsuite {posargs: -v 2} py{38,39,310,311,312}: coverage report -m