Confirm Python 3.11 support (#447)

This commit is contained in:
Hasan Ramezani 2022-11-07 12:06:17 +03:30 committed by GitHub
parent f71699a9d0
commit 36eaaaa2a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 3 deletions

View file

@ -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:

View file

@ -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

View file

@ -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",

View file

@ -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