mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
Confirm Django 5.1 support and drop Django 3.2 support. (#677)
This commit is contained in:
parent
a53a6facfe
commit
0634357119
6 changed files with 10 additions and 9 deletions
|
|
@ -26,4 +26,4 @@ repos:
|
|||
rev: 1.20.0
|
||||
hooks:
|
||||
- id: django-upgrade
|
||||
args: [--target-version, "3.2"]
|
||||
args: [--target-version, "4.2"]
|
||||
|
|
|
|||
|
|
@ -3,8 +3,10 @@
|
|||
## Next Release
|
||||
|
||||
#### Improvements
|
||||
|
||||
- feat: Added `LogEntry.remote_port` field. ([#671](https://github.com/jazzband/django-auditlog/pull/671))
|
||||
- Drop Python 3.8 support. ([#678](https://github.com/jazzband/django-auditlog/pull/678))
|
||||
- Confirm Django 5.1 support and drop Django 3.2 support. ([#677](https://github.com/jazzband/django-auditlog/pull/677))
|
||||
|
||||
#### Fixes
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Docs requirements
|
||||
django>=3.2,<3.3
|
||||
django>=4.2,<4.3
|
||||
sphinx
|
||||
sphinx_rtd_theme
|
||||
psycopg2-binary
|
||||
|
|
|
|||
|
|
@ -12,9 +12,9 @@ The repository can be found at https://github.com/jazzband/django-auditlog/.
|
|||
**Requirements**
|
||||
|
||||
- Python 3.9 or higher
|
||||
- Django 3.2, 4.2 and 5.0
|
||||
- Django 4.2, 5.0 and 5.1
|
||||
|
||||
Auditlog is currently tested with Python 3.9+ and Django 3.2, 4.2 and 5.0. The latest test report can be found
|
||||
Auditlog is currently tested with Python 3.9+ and Django 4.2, 5.0 and 5.1. The latest test report can be found
|
||||
at https://github.com/jazzband/django-auditlog/actions.
|
||||
|
||||
Adding Auditlog to your Django application
|
||||
|
|
|
|||
4
setup.py
4
setup.py
|
|
@ -28,7 +28,7 @@ setup(
|
|||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
python_requires=">=3.9",
|
||||
install_requires=["Django>=3.2", "python-dateutil>=2.7.0"],
|
||||
install_requires=["Django>=4.2", "python-dateutil>=2.7.0"],
|
||||
zip_safe=False,
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
|
|
@ -37,9 +37,9 @@ setup(
|
|||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Framework :: Django",
|
||||
"Framework :: Django :: 3.2",
|
||||
"Framework :: Django :: 4.2",
|
||||
"Framework :: Django :: 5.0",
|
||||
"Framework :: Django :: 5.1",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
],
|
||||
)
|
||||
|
|
|
|||
5
tox.ini
5
tox.ini
|
|
@ -1,8 +1,7 @@
|
|||
[tox]
|
||||
envlist =
|
||||
{py39,py310}-django32
|
||||
{py39,py310,py311}-django42
|
||||
{py310,py311,py312}-django{50,main}
|
||||
{py310,py311,py312}-django{50,51,main}
|
||||
py39-docs
|
||||
py39-lint
|
||||
|
||||
|
|
@ -13,9 +12,9 @@ commands =
|
|||
coverage run --source auditlog runtests.py
|
||||
coverage xml
|
||||
deps =
|
||||
django32: Django>=3.2,<3.3
|
||||
django42: Django>=4.2,<4.3
|
||||
django50: Django>=5.0,<5.1
|
||||
django51: Django>=5.1,<5.2
|
||||
djangomain: https://github.com/django/django/archive/main.tar.gz
|
||||
# Test requirements
|
||||
coverage
|
||||
|
|
|
|||
Loading…
Reference in a new issue