diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1eae44a..d9a12fe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false max-parallel: 5 matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] services: postgres: diff --git a/CHANGELOG.md b/CHANGELOG.md index f31dc4c..0418bd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - feat: Display the field name as it would be displayed in Django Admin or use `mapping_field` if available [#428](https://github.com/jazzband/django-auditlog/pull/428) - feat: New context manager `disable_auditlog` to turn off logging and a new setting `AUDITLOG_DISABLE_ON_RAW_SAVE` to disable it during raw-save operations like loaddata. [#446](https://github.com/jazzband/django-auditlog/pull/446) +- Python: Confirm Python 3.11 support ([#447](https://github.com/jazzband/django-auditlog/pull/447)) #### Fixes diff --git a/setup.py b/setup.py index 9135b24..e5e45ca 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,7 @@ setup( "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Framework :: Django", "Framework :: Django :: 3.2", "Framework :: Django :: 4.0", diff --git a/tox.ini b/tox.ini index e7fc098..34ce2b4 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,8 @@ [tox] envlist = {py37,py38,py39,py310}-django32 - {py38,py39,py310}-django{40,41,main} + {py38,py39,py310}-django40 + {py38,py39,py310,py311}-django{41,main} py37-docs py38-lint @@ -20,7 +21,7 @@ deps = coverage codecov freezegun - psycopg2-binary==2.8.6 + psycopg2-binary passenv= TEST_DB_HOST TEST_DB_USER @@ -29,6 +30,7 @@ passenv= TEST_DB_PORT basepython = + py311: python3.11 py310: python3.10 py39: python3.9 py38: python3.8 @@ -50,3 +52,4 @@ python = 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311