15
0
Commit Graph

7 Commits

Author SHA256 Message Date
Tomáš Chvátal
adf242bbc9 Accepting request 828929 from home:mcalabkova:branches:devel:languages:python
- Use recent pytest

OBS-URL: https://build.opensuse.org/request/show/828929
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transitions?expand=0&rev=13
2020-08-24 16:32:25 +00:00
Tomáš Chvátal
3001d5a313 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
2020-06-28 11:03:20 +00:00
79b9a8a70e - remove pep8 unit tests, those are not useful to execute and
fail

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transitions?expand=0&rev=9
2020-06-09 07:44:56 +00:00
Tomáš Chvátal
6cf6c35613 Accepting request 791100 from home:mnhauke:network:automation
- Update to versino 0.8.1
  * Feature: Introduced experimental HierarchicalAsync(Graph)Machine
  * Feature #405: Support for nested Enums in HierarchicalMachine
  * Bugfix #400: Fix style initialization when initial state is an Enum
  * Bugfix #403: AsyncMachine.dispatch now returns a boolean asexpected
  * Bugfix #413: Improve diagram output for HierarchicalMachine
  * Increased coverage
  * Introduced xdist for parallel testing with pytest

OBS-URL: https://build.opensuse.org/request/show/791100
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transitions?expand=0&rev=7
2020-04-03 06:50:01 +00:00
Tomáš Chvátal
51fe992611 Accepting request 788238 from home:pgajdos:python
- version update to 0.8.0
  - Feature: `HierarchicalMachine` has been rewritten to support parallel states. Please have a look at the ReadMe.md to check what has changed.
    + The previous version can be found in `transitions.extensions.nesting_legacy` for now
  - Feature: Introduced `AsyncMachine` (see discussion #259); note that async HSMs are not yet supported
  - Feature #390: String callbacks can now point to properties and attributes (thanks @jsenecal)
  - Bugfix: Auto transitions are added multiple times when add_states is called more than once
  - Bugfix: Convert state._name from `Enum` into strings in `MarkupMachine` when necessary
  - Bugfix #392: Allow `Machine.add_ordered_transitions` to be called without the initial state (thanks @mkaranki and @facundofc)
  - `GraphMachine` now attempts to fall back to `graphviz` when importing `pygraphviz` fails
  - Not implemented/tested so far (contributions are welcome!):
    + Proper Graphviz support of parallel states
    + AsyncHierachicalMachine

OBS-URL: https://build.opensuse.org/request/show/788238
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transitions?expand=0&rev=5
2020-03-25 15:12:19 +00:00
Tomáš Chvátal
dbfe51520d Accepting request 762909 from home:mnhauke:network:automation
- Update to version 0.7.2
  * Fix transitions for enums with str behavior
  * Don't mask away KeyError when executing a transition
  * Add support for dynamic model state attribute

OBS-URL: https://build.opensuse.org/request/show/762909
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transitions?expand=0&rev=3
2020-01-13 08:39:52 +00:00
Tomáš Chvátal
8ea71ce5f1 Accepting request 734151 from home:mnhauke
Initial package for python-transitions

OBS-URL: https://build.opensuse.org/request/show/734151
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transitions?expand=0&rev=1
2019-10-01 08:22:02 +00:00