-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
1,066 additions
and
618 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# StateMachine 2.1.2 | ||
|
||
*October 6, 2023* | ||
|
||
This release improves the setup performance of the library by a 10x factor, with a major | ||
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 | ||
called twice when mixing decorator syntax combined with the naming convention. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "python-statemachine" | ||
version = "2.1.1" | ||
version = "2.1.2" | ||
description = "Python Finite State Machines made easy." | ||
authors = ["Fernando Macedo <[email protected]>"] | ||
maintainers = [ | ||
|
@@ -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" | ||
|
@@ -46,6 +47,8 @@ mypy = "^0.991" | |
black = "^22.12.0" | ||
pdbpp = "^0.10.3" | ||
pytest-mock = "^3.10.0" | ||
pytest-profiling = "^1.7.0" | ||
pytest-benchmark = "^4.0.0" | ||
|
||
[tool.poetry.group.docs.dependencies] | ||
Sphinx = "4.5.0" | ||
|
@@ -60,13 +63,14 @@ requires = ["poetry-core"] | |
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--ignore=docs/conf.py --ignore=docs/auto_examples/ --ignore=docs/_build/ --ignore=tests/examples/ --cov --cov-config .coveragerc --doctest-glob='*.md' --doctest-modules --doctest-continue-on-failure" | ||
addopts = "--ignore=docs/conf.py --ignore=docs/auto_examples/ --ignore=docs/_build/ --ignore=tests/examples/ --cov --cov-config .coveragerc --doctest-glob='*.md' --doctest-modules --doctest-continue-on-failure --benchmark-autosave" | ||
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" | ||
|
||
[[tool.mypy.overrides]] | ||
module = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
|
||
__author__ = """Fernando Macedo""" | ||
__email__ = "[email protected]" | ||
__version__ = "2.1.1" | ||
__version__ = "2.1.2" | ||
|
||
__all__ = ["StateMachine", "State"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.