Skip to content

Commit

Permalink
Add Python 3.13 support (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
hramezani authored Jan 29, 2025
1 parent a27c045 commit 3e540bf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"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",
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -29,6 +31,7 @@ passenv=
TEST_DB_PORT

basepython =
py313: python3.13
py312: python3.12
py311: python3.11
py310: python3.10
Expand All @@ -50,3 +53,4 @@ python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313

0 comments on commit 3e540bf

Please sign in to comment.