Skip to content

Commit 2d9b259

Browse files
committed
chore: Adding note about support for python 3.12
1 parent fbd1484 commit 2d9b259

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

docs/actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ All actions and {ref}`guards` support multiple method signatures. They follow th
8787

8888
For each defined {ref}`state`, you can declare `enter` and `exit` callbacks.
8989

90-
### Declare state actions by naming convention
90+
### Bind state actions by naming convention
9191

9292
Callbacks by naming convention will be searched on the StateMachine and on the
9393
model, using the patterns:

docs/releases/2.1.2.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ refactoring on how we handle the callbacks registry and validations.
88
See [#401](https://github.com/fgmacedo/python-statemachine/issues/401) for the technical details.
99

1010

11+
## Python compatibility 2.1.2
12+
13+
StateMachine 2.1.2 supports Python 3.7, 3.8, 3.9, 3.10, 3.11 and 3.12.
14+
15+
On the next major release (3.0.0), we will drop support for Python 3.7.
16+
1117
## Bugfixes in 2.1.2
1218

1319
- Fixes [#406](https://github.com/fgmacedo/python-statemachine/issues/406) action callback being

poetry.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@ classifiers = [
2626
"Programming Language :: Python :: 3.9",
2727
"Programming Language :: Python :: 3.10",
2828
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
2930
"Topic :: Software Development :: Libraries"
3031
]
3132

3233
[tool.poetry.extras]
3334
diagrams = ["pydot"]
3435

3536
[tool.poetry.dependencies]
36-
python = ">=3.7, <3.12"
37+
python = ">=3.7, <3.13"
3738

3839
[tool.poetry.group.dev.dependencies]
3940
pytest = "^7.2.0"
@@ -66,7 +67,7 @@ addopts = "--ignore=docs/conf.py --ignore=docs/auto_examples/ --ignore=docs/_bui
6667
doctest_optionflags = "ELLIPSIS IGNORE_EXCEPTION_DETAIL NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL"
6768

6869
[tool.mypy]
69-
python_version = "3.11"
70+
python_version = "3.12"
7071
warn_return_any = true
7172
warn_unused_configs = true
7273
disable_error_code = "annotation-unchecked"

0 commit comments

Comments
 (0)