Fix #372 -- Add support for Python 3.12

This commit is contained in:
Paolo Melchiorre 2023-11-30 10:34:53 +01:00
parent eba6e2c6d9
commit ffe979b63c
4 changed files with 11 additions and 1 deletions

View file

@ -13,7 +13,7 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.10']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.10']
steps:
- uses: actions/checkout@v4

View file

@ -3,6 +3,11 @@
Changelog
---------
v2.5.1 (2023-11-30)
^^^^^^^^^^^^^^^^^^^
- Add compatibility with Python 3.12
v2.5 (2023-10-20)
^^^^^^^^^^^^^^^^^

View file

@ -62,6 +62,7 @@ setup(
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Utilities',
],

View file

@ -8,6 +8,7 @@ envlist =
py{38,39}-dj{32,41,42}
py{310,py310}-dj{32,41,42,50,main}
py{311}-dj{41,42,50,main}
py{312}-dj{50,main}
[gh-actions]
python =
@ -15,6 +16,7 @@ python =
3.9: py39
3.10: py310
3.11: py311,flake8,readme
3.12: py312
pypy-3.10: pypy310
[testenv]
@ -29,6 +31,8 @@ deps =
dj42: django~=4.2.0
dj50: django~=5.0.0rc1
djmain: https://github.com/django/django/archive/main.tar.gz
py312: setuptools
py312: wheel
coverage
coverage_enable_subprocess
extras = testing