summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-transitions_0.8.6.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-transitions: Upgrade 0.8.6 -> 0.8.7Leon Anavi2021-02-241-9/+0
| | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 0.8.7: - State configuration dictionaries passed to HierarchicalMachine can also use states as a keyword to define substates. If children and states are present, only children will be considered. - HierarchicalMachine with custom separator now adds is_state partials for nested states (e.g. is_C.s3.a()) to models. - Use model_attribute consistently in AsyncMachine - Testing now treats most warnings as errors - As a consequence, pygraphviz.Agraph in diagrams_pygraphviz are now copied by transitions since AGraph.copy as of version 1.6 does not close temporary files appropriately - HierarchicalMachine now checks whether state_cls, event_cls and transition_cls have been subclassed from nested base classes (e.g. NestedState) to prevent hard to debug inheritance errors Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-transitions: Upgrade 0.8.5 -> 0.8.6Leon Anavi2021-01-081-0/+9
Upgrade to release 0.8.6: - HierarchicalMachine.add_states will raise a ValueError when an Enum name contains the currently used NestedState.separator. - Bugfix: Reset NestedState._scope when enter/exit callbacks raise an exception - Bugfix: Let HierarchicalMachine._get_trigger which is bound to model.trigger raise a MachineError for invalid events and AttributeError for unknown events - Introduced HierarchicalMachine.has_trigger to determine whether an event is valid for an HSM - Feature: AsyncMachine features an event queue dictionary for individual models when queued='model' - Feature: Machine.remove_model will now also remove model events from the event queue when queued=True - Feature: Machine.get_transitions and its HSM counterpart now accept Enum and State for source and dest License-Update: Update year Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>