Skip to content

Commit 50ce562

Browse files
committed
Add support for python3.11
1 parent 981f242 commit 50ce562

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
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 python3.11
2223

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

pyproject.toml

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

66
[tool.isort]
77
profile = "black"
8-
py_version = 310
8+
py_version = 311
99
line_length = 119
1010
skip_glob = "django_fsm_log/migrations/*"
1111

1212
[tool.ruff]
1313
line-length = 119
14-
target-version = "py310"
14+
target-version = "py311"
1515
select = ["E", "F", "I", "B", "C4", "T20", "TID", "UP"]
1616
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)