Skip to content

Commit

Permalink
Fix #372 -- Add support for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloxnet committed Nov 30, 2023
1 parent eba6e2c commit ffe979b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Changelog
---------

v2.5.1 (2023-11-30)
^^^^^^^^^^^^^^^^^^^

- Add compatibility with Python 3.12

v2.5 (2023-10-20)
^^^^^^^^^^^^^^^^^

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def read(*parts):
'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',
],
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ 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 =
3.8: py38
3.9: py39
3.10: py310
3.11: py311,flake8,readme
3.12: py312
pypy-3.10: pypy310

[testenv]
Expand All @@ -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
Expand Down

0 comments on commit ffe979b

Please sign in to comment.