From 387b0cec22ebb6028a98bf5a53dd99b11de30723 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Fri, 29 Dec 2023 18:46:54 +0330 Subject: [PATCH] Confrim Django 5.0 and drop django 4.1 (#598) --- CHANGELOG.md | 2 ++ docs/source/installation.rst | 4 ++-- setup.py | 2 +- tox.ini | 6 +++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b6b7150..dfffcc71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ #### Improvements - feat: If any receiver returns False, no logging will be made. This can be useful if logging should be conditionally enabled / disabled ([#590](https://github.com/jazzband/django-auditlog/pull/590)) +- Django: Confirm Django 5.0 support ([#598](https://github.com/jazzband/django-auditlog/pull/598)) +- Django: Drop Django 4.1 support ([#598](https://github.com/jazzband/django-auditlog/pull/598)) ## 3.0.0-beta.3 (2023-11-13) diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 0df17b78..6a3a86d5 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -12,9 +12,9 @@ The repository can be found at https://github.com/jazzband/django-auditlog/. **Requirements** - Python 3.8 or higher -- Django 3.2, 4.1 and 4.2 +- Django 3.2, 4.2 and 5.0 -Auditlog is currently tested with Python 3.8+ and Django 3.2, 4.1 and 4.2. The latest test report can be found +Auditlog is currently tested with Python 3.8+ and Django 3.2, 4.2 and 5.0. The latest test report can be found at https://github.com/jazzband/django-auditlog/actions. Adding Auditlog to your Django application diff --git a/setup.py b/setup.py index 5eda9ebc..901ab666 100644 --- a/setup.py +++ b/setup.py @@ -39,8 +39,8 @@ "Programming Language :: Python :: 3.12", "Framework :: Django", "Framework :: Django :: 3.2", - "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", "License :: OSI Approved :: MIT License", ], ) diff --git a/tox.ini b/tox.ini index 8d40de89..dc97ca34 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] envlist = {py38,py39,py310}-django32 - {py38,py39,py310,py311}-django{41,42} - {py310,py311,py312}-djangomain + {py38,py39,py310,py311}-django42 + {py310,py311,py312}-django{50,main} py38-docs py38-lint @@ -14,8 +14,8 @@ commands = coverage xml deps = django32: Django>=3.2,<3.3 - django41: Django>=4.1,<4.2 django42: Django>=4.2,<4.3 + django50: Django>=5.0,<5.1 djangomain: https://github.com/django/django/archive/main.tar.gz # Test requirements coverage