Skip to content

Commit 16ed34f

Browse files
authored
Merge pull request #162 from ticosax/python3.11
Add support for python3.11
2 parents 981f242 + ba2c0bd commit 16ed34f

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

.github/workflows/test_suite.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
- "3.8"
1515
- "3.9"
1616
- "3.10"
17+
- "3.11"
1718
steps:
1819
- uses: actions/checkout@v3
1920

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ by enabling a cached backend. See [Advanced Usage](#advanced-usage)
1919
- `fsm_log_description` now accepts a default description parameter
2020
- Document `fsm_log_description` decorator
2121
- Add support for Django 4.1
22+
- Add compatibility for python 3.11
2223

2324
### 3.0.0 (2022-01-14)
2425

pyproject.toml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
[tool.black]
22
line-length = 119
3-
target-version = ["py310"]
3+
target-version = ["py311"]
44
extend-exclude = "(^/django_fsm_log/migrations/.*$|^docs/.*$)"
55

6-
[tool.isort]
7-
profile = "black"
8-
py_version = 310
9-
line_length = 119
10-
skip_glob = "django_fsm_log/migrations/*"
11-
126
[tool.ruff]
137
line-length = 119
14-
target-version = "py310"
8+
target-version = "py311"
159
select = ["E", "F", "I", "B", "C4", "T20", "TID", "UP"]
1610
exclude = ["django_fsm_log/migrations", ".tox", "build"]

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def readfile(filename):
4949
"Programming Language :: Python :: 3.8",
5050
"Programming Language :: Python :: 3.9",
5151
"Programming Language :: Python :: 3.10",
52+
"Programming Language :: Python :: 3.11",
5253
"Topic :: Software Development :: Libraries :: Python Modules",
5354
],
5455
)

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
envlist =
33
py{37,38,39}-dj-2.2
44
py{37,38,39,310}-dj-3.2
5-
py{38,39,310}-dj-4.0
6-
py{38,39,310}-dj-4.1
7-
py{310}-dj-master
5+
py{38,39,310,311}-dj-4.0
6+
py{38,39,310,311}-dj-4.1
7+
py{310,311}-dj-master
88

99
[gh-actions]
1010
python =
1111
3.7: py37
1212
3.8: py38
1313
3.9: py39
1414
3.10: py310
15+
3.11: py311
1516

1617
[testenv]
1718
usedevelop = true

0 commit comments

Comments
 (0)