diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a7bd99..11efaf0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,28 +10,33 @@ jobs: fail-fast: false max-parallel: 5 matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12-dev'] - django-version: ['3.2', '4.2', 'main'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + django-version: ['3.2', '4.2', '5.0', '5.1', 'main'] exclude: - python-version: '3.11' django-version: '3.2' - - python-version: '3.12-dev' + - python-version: '3.12' + django-version: '3.2' + - python-version: '3.13' django-version: '3.2' - - python-version: '3.11' - django-version: '4.0' - - python-version: '3.12-dev' - django-version: '4.0' + - python-version: '3.13' + django-version: '4.2' + + - python-version: '3.8' + django-version: '5.0' + - python-version: '3.9' + django-version: '5.0' - - python-version: '3.12-dev' - django-version: '4.1' + - python-version: '3.8' + django-version: '5.1' + - python-version: '3.9' + django-version: '5.1' - python-version: '3.8' django-version: 'main' - python-version: '3.9' django-version: 'main' - - python-version: '3.10' - django-version: 'main' steps: - uses: actions/checkout@v3 diff --git a/README.rst b/README.rst index b70278d..0f6c195 100644 --- a/README.rst +++ b/README.rst @@ -33,7 +33,7 @@ language using Transifex_. Also have a look at the bundled example templates and views to see how you can integrate the application into your project. -Compatible with Django 3.2 and 4.2 on Python 3.8 to 3.11. +Compatible with Django 3.2, 4.2, 5.0 and 5.1 on Python 3.8 to 3.13. Documentation is available at `readthedocs.org`_. diff --git a/pyproject.toml b/pyproject.toml index 4aa149f..3114520 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,8 @@ classifiers = [ "Framework :: Django", "Framework :: Django :: 3.2", "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", @@ -27,6 +29,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Security", ] dependencies = [ diff --git a/tox.ini b/tox.ini index 5c78d7c..d5dcd2f 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,9 @@ minversion = 1.8 envlist = ; https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django py{38,39,310}-dj32 - py{311,312}-dj{42,main} + py{38,39,310,311,312}-dj42 + py{310,311,312}-dj50 + py{310,311,312,313}-dj{51,main} [gh-actions] python = @@ -13,11 +15,14 @@ python = 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313 [gh-actions:env] DJANGO = 3.2: dj32 4.2: dj42 + 5.0: dj50 + 5.1: dj51 main: djmain [testenv] @@ -30,6 +35,8 @@ deps = coverage dj32: Django>=3.2,<4.0 dj42: Django>=4.2,<4.3 + dj50: Django>=5.0,<5.1 + dj51: Django>=5.1,<5.2 djmain: https://github.com/django/django/archive/main.tar.gz geoip2 ignore_outcome =