Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-transitions for openSUSE:Factory checked in at 2021-04-08 21:32:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-transitions (Old) and /work/SRC/openSUSE:Factory/.python-transitions.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-transitions" Thu Apr 8 21:32:17 2021 rev:8 rq:883677 version:0.8.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-transitions/python-transitions.changes 2020-08-25 09:39:40.840237248 +0200 +++ /work/SRC/openSUSE:Factory/.python-transitions.new.2401/python-transitions.changes 2021-04-08 21:32:24.827823473 +0200 @@ -1,0 +2,71 @@ +Wed Apr 7 16:32:09 UTC 2021 - Martin Hauke <mar...@gmx.de> + +- Update to version 0.8.8 + Bugfix + * AsyncMachine does not remove models when remove_models is + called. + Feature + * Introduce try/except for finalize callbacks in Machine and + HierachicalMachine. Thus, errors occurring in finalize + callbacks will be suppressed and only the original error will + be raised. + * Show references in graphs and markup. Introduce + MarkupMachine.format_references to tweak reference formatting. + * Introduce Machine.on_exception to handle raised exceptions in + callbacks. + * Machine.get_triggers now supports State and Enum as arguments. + * NestedState and HierachicalMachine.add_states now accept + (lists of) states and enums as initial parameter. +- Update to version 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. + * 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 +- Update to version 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. + * Let HierarchicalMachine._get_trigger which is bound to + model.trigger raise a MachineError for invalid events and + AttributeError for unknown events. + Features + * Introduced HierarchicalMachine.has_trigger to determine + whether an event is valid for an HSM. + * AsyncMachine features an event queue dictionary for individual + models when queued='model'. + * Machine.remove_model will now also remove model events from + the event queue when queued=True. + * Machine.get_transitions and its HSM counterpart now accept + Enum and State for source and dest. +- Update to version 0.8.5 + * AsyncMachine.switch_model_context is expected to be async now + for easier integration of async code during model switch. + * Bugfix #478: Initializing a machine with GraphSupport threw an + exception when initial was set to a nested or parallel state. +- Update to version 0.8.4 + * Bugfix #477: Model callbacks were not added to a + LockedHierarchicalMachine when the machine itself served as + a model. + * Bugfix #475: Clear collection of tasks to prevent memory leak + when initializing many models. + * Feature #474: Added static AsyncMachine.protected_tasks list + which can be used to prevent transitions to cancel certain + tasks. + * Feature: Constructor of HierarchicalMachine now accepts + substates ('A_1_c') and parallel states (['A', 'B']) as + initial parameter. +- Update to version 0.8.3 + * Minor release and contains several bugfixes mostly related + to HierarchicalStateMachine. + +------------------------------------------------------------------- Old: ---- transitions-0.8.2.tar.gz New: ---- transitions-0.8.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-transitions.spec ++++++ --- /var/tmp/diff_new_pack.Zg2iG3/_old 2021-04-08 21:32:25.487824198 +0200 +++ /var/tmp/diff_new_pack.Zg2iG3/_new 2021-04-08 21:32:25.491824202 +0200 @@ -1,8 +1,8 @@ # # spec file for package python-transitions # -# Copyright (c) 2020 SUSE LLC -# Copyright (c) 2019, Martin Hauke <mar...@gmx.de> +# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2019-2021, Martin Hauke <mar...@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-transitions -Version: 0.8.2 +Version: 0.8.8 Release: 0 Summary: A lightweight, object-oriented Python state machine implementation License: MIT ++++++ transitions-0.8.2.tar.gz -> transitions-0.8.8.tar.gz ++++++ ++++ 7324 lines of diff (skipped)