Skip to content

Commit

Permalink
chore: Adding note about support for python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
fgmacedo committed Oct 6, 2023
1 parent fbd1484 commit 2d9b259
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ All actions and {ref}`guards` support multiple method signatures. They follow th

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

### Declare state actions by naming convention
### Bind state actions by naming convention

Callbacks by naming convention will be searched on the StateMachine and on the
model, using the patterns:
Expand Down
6 changes: 6 additions & 0 deletions docs/releases/2.1.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ refactoring on how we handle the callbacks registry and validations.
See [#401](https://github.com/fgmacedo/python-statemachine/issues/401) for the technical details.


## Python compatibility 2.1.2

StateMachine 2.1.2 supports Python 3.7, 3.8, 3.9, 3.10, 3.11 and 3.12.

On the next major release (3.0.0), we will drop support for Python 3.7.

## Bugfixes in 2.1.2

- Fixes [#406](https://github.com/fgmacedo/python-statemachine/issues/406) action callback being
Expand Down
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries"
]

[tool.poetry.extras]
diagrams = ["pydot"]

[tool.poetry.dependencies]
python = ">=3.7, <3.12"
python = ">=3.7, <3.13"

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

[tool.mypy]
python_version = "3.11"
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disable_error_code = "annotation-unchecked"
Expand Down

0 comments on commit 2d9b259

Please sign in to comment.