Add Python 3.13 support (#697)

This commit is contained in:
Hasan Ramezani 2025-01-29 11:34:47 +03:30 committed by GitHub
parent a27c045280
commit 3e540bff6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 2 deletions

View file

@ -9,7 +9,7 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
services:
postgres:

View file

@ -4,6 +4,7 @@
#### Improvements
- Add Python 3.13 support. ([#671](https://github.com/jazzband/django-auditlog/pull/671))
- feat: Added `LogEntry.remote_port` field. ([#671](https://github.com/jazzband/django-auditlog/pull/671))
- feat: Added `truncate` option to `auditlogflush` management command. ([#681](https://github.com/jazzband/django-auditlog/pull/681))
- feat: Added `AUDITLOG_CHANGE_DISPLAY_TRUNCATE_LENGTH` settings to keep or truncate strings of `changes_display_dict` property at variable length. ([#684](https://github.com/jazzband/django-auditlog/pull/684))

View file

@ -36,6 +36,7 @@ setup(
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",

View file

@ -1,7 +1,9 @@
[tox]
envlist =
{py39,py310,py311}-django42
{py310,py311,py312}-django{50,51,main}
{py310,py311,py312}-django50
{py310,py311,py312,py313}-django51
{py312,py313}-djangomain
py39-docs
py39-lint
@ -29,6 +31,7 @@ passenv=
TEST_DB_PORT
basepython =
py313: python3.13
py312: python3.12
py311: python3.11
py310: python3.10
@ -50,3 +53,4 @@ python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313