Skip to content

Commit

Permalink
Merge pull request #162 from ticosax/python3.11
Browse files Browse the repository at this point in the history
Add support for python3.11
  • Loading branch information
ticosax authored Mar 23, 2023
2 parents 981f242 + ba2c0bd commit 16ed34f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v3

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ by enabling a cached backend. See [Advanced Usage](#advanced-usage)
- `fsm_log_description` now accepts a default description parameter
- Document `fsm_log_description` decorator
- Add support for Django 4.1
- Add compatibility for python 3.11

### 3.0.0 (2022-01-14)

Expand Down
10 changes: 2 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
[tool.black]
line-length = 119
target-version = ["py310"]
target-version = ["py311"]
extend-exclude = "(^/django_fsm_log/migrations/.*$|^docs/.*$)"

[tool.isort]
profile = "black"
py_version = 310
line_length = 119
skip_glob = "django_fsm_log/migrations/*"

[tool.ruff]
line-length = 119
target-version = "py310"
target-version = "py311"
select = ["E", "F", "I", "B", "C4", "T20", "TID", "UP"]
exclude = ["django_fsm_log/migrations", ".tox", "build"]
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def readfile(filename):
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
envlist =
py{37,38,39}-dj-2.2
py{37,38,39,310}-dj-3.2
py{38,39,310}-dj-4.0
py{38,39,310}-dj-4.1
py{310}-dj-master
py{38,39,310,311}-dj-4.0
py{38,39,310,311}-dj-4.1
py{310,311}-dj-master

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311

[testenv]
usedevelop = true
Expand Down

0 comments on commit 16ed34f

Please sign in to comment.