From 3001d5a3136a340981493332227629db2d6fb86000094ddcbbae3651f32828ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 28 Jun 2020 11:03:20 +0000 Subject: [PATCH] Accepting request 817500 from home:mnhauke:network:automation - Update to version 0.8.2 * Improved testing without any optional graphviz package * _check_event_result failed when model was in parallel state * Only allow explicit dest=None in Machine.add_transition (not just falsy) for internal transitions * Fix state creation of nested enums * HierarchicalGraphMachine did not find/apply styling for parallel states * Bugfix: Model.trigger now considers the machine's and current state's ignore_invalid_triggers attribute and can be called with non-existing events * Child states may not have been exited when the executed transition had been defined on a parent * Introduced transitions.extensions.asyncio.AsyncTimeout as a state decorator to avoid threads used in transitions.extensions.state.Timeout * Use sets instead of lists to cache already covered transitions in nested state machines * Improve handling of unresolved attributes for easier inheritance * Refactored AsyncMachine to enable trio/anyio override OBS-URL: https://build.opensuse.org/request/show/817500 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transitions?expand=0&rev=11 --- python-transitions.changes | 24 ++++++++++++++++++++++++ python-transitions.spec | 2 +- transitions-0.8.1.tar.gz | 3 --- transitions-0.8.2.tar.gz | 3 +++ 4 files changed, 28 insertions(+), 4 deletions(-) delete mode 100644 transitions-0.8.1.tar.gz create mode 100644 transitions-0.8.2.tar.gz diff --git a/python-transitions.changes b/python-transitions.changes index 1be710a..f488a54 100644 --- a/python-transitions.changes +++ b/python-transitions.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Sun Jun 28 09:27:04 UTC 2020 - Martin Hauke + +- Update to version 0.8.2 + * Improved testing without any optional graphviz package + * _check_event_result failed when model was in parallel state + * Only allow explicit dest=None in Machine.add_transition (not + just falsy) for internal transitions + * Fix state creation of nested enums + * HierarchicalGraphMachine did not find/apply styling for + parallel states + * Bugfix: Model.trigger now considers the machine's and current + state's ignore_invalid_triggers attribute and can be called + with non-existing events + * Child states may not have been exited when the executed + transition had been defined on a parent + * Introduced transitions.extensions.asyncio.AsyncTimeout as a + state decorator to avoid threads used + in transitions.extensions.state.Timeout + * Use sets instead of lists to cache already covered transitions + in nested state machines + * Improve handling of unresolved attributes for easier inheritance + * Refactored AsyncMachine to enable trio/anyio override + ------------------------------------------------------------------- Tue Jun 9 07:44:24 UTC 2020 - Dirk Mueller diff --git a/python-transitions.spec b/python-transitions.spec index c2a664e..6fe6343 100644 --- a/python-transitions.spec +++ b/python-transitions.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-transitions -Version: 0.8.1 +Version: 0.8.2 Release: 0 Summary: A lightweight, object-oriented Python state machine implementation License: MIT diff --git a/transitions-0.8.1.tar.gz b/transitions-0.8.1.tar.gz deleted file mode 100644 index d24230b..0000000 --- a/transitions-0.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b8cf2078ed189ffbb0f29421798d7a63ff0d7823682a0d69c01bd8240363cac -size 1135124 diff --git a/transitions-0.8.2.tar.gz b/transitions-0.8.2.tar.gz new file mode 100644 index 0000000..96bb50c --- /dev/null +++ b/transitions-0.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ff7a3bfa4ac64b62993bb19dc2bb6a0ccbdf4e70b2cbae8350de6c916d77748 +size 1127825