| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: python313-transitions | Distribution: openSUSE Tumbleweed |
| Version: 0.9.2 | Vendor: openSUSE |
| Release: 3.1 | Build date: Wed Jun 4 08:08:02 2025 |
| Group: Unspecified | Build host: reproducible |
| Size: 945752 | Source RPM: python-transitions-0.9.2-3.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://github.com/pytransitions/transitions | |
| Summary: A lightweight, object-oriented Python state machine implementation | |
The transitions package makes it convenient and relatively easy to define and implement FSMs (finite state machines) in python.
MIT
* Wed Jun 04 2025 Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
* Mon Apr 14 2025 Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
- Enable sle15_python_module_pythons (align with pygraphviz)
* Thu Apr 03 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.9.2
* Bug #610: Decorate models appropriately when `HierarchicalMachine`
is passed to `add_state` (thanks @e0lithic)
* Bug #647: Let `may_<trigger>` check all parallel states in processing
order (thanks @spearsear)
* Bug: `HSM.is_state` works with parallel states now
* Experimental features:
+ Add `model_override` to Machine constructor to determine the mode of
operation. With `model_override=Fale` (default), `transitions` will
not override already defined methods on a model just as it did before.
For workflows relying on typing, `model_override=True` will override
methods already defined on the model and only those (!). This allows
to control which convenience methods shall be assigned to the model
and keeps the statically 'assumed' model in sync with its runtime
counterpart. Since defining each and every method manually is rather
tiresome, `transitions.experimental.utils.generate_base_model`
features a way to convert a machine configuration into a `BaseClass`
with all convenience functions and callbacks.
+ Add `transitions.experimental.utils.{add_transitions, event,
with_model_definitions, transition}` to define trigger methods in a
class model for more convenient type checking. `add_transitions`
can be used as a function decorator and is stackable. `event` returns
a placeholder object for attribute assigment. `add_transitions` and
`event` have the same signature and support transition definition like
machine constructors. The function `transition` can used for better
typing and returns a dictionary that can be passed to the utility
functions but also to a machine constructor. `add_transitions` and
`event` require a machine decorated with `with_model_definitions`.
Decorating a machine `with_model_definitions` implies `model_override=True`.
* Feature: Add `may_trigger` to models to check whether transitions can
be conducted by trigger name.
* Feature: Add Mermaid diagram backend that returns a mermaid diagram as
a string. `use_pygraphviz` is deprecated in favour for `graph_engine`
which may be `pygraphviz` (default), `graphviz` or `mermaid`.
- Refresh remove-py2-crumbs.patch
* Thu May 30 2024 Markéta Machová <mmachova@suse.com>
- update to 0.9.1
* several bugfixes
* typing improvements
* introduces `on_final` callbacks on machines (as well as
`NestedState`) and `final` flags for states
* see the full list in Changelog.md
- Add remove-py2-crumbs.patch to get rid of most py2 remnants
- Add iteritems.patch to clean the rest of six
* Fri Jan 12 2024 Dirk Müller <dmueller@suse.com>
- update to 0.9.0:
* removed legacy implementation of `HierarchicalMachine` from
the package
* Bug #551: Fix active state styling in `GraphMachine` (thanks
@betaboon)
* Bug #554: Fix issues related to scopes and queueing in
`HierachicalMachine` (thanks @jankrejci)
* Bug #568: Reflexive transitions (dest: '=') had not been
resolved correctly when source was a wildcard (thanks @jnu)
* Bug #568: HSM did not detect reflexive transitions if src was
a parent state (thanks @lostcontrol)
* Bug #569: Fix implicit fallback to `graphviz` when
`pygraphviz` was not installed (thanks @FridjofAmundsen)
* Bug #580: Fix `on_timeout` callback resolution when timeout
had been initialized with `timeout=0` (thanks @Rysbai)
* Bug #582: Last label in `GraphSupport` was not correctly
aligned when `show_attributes=True` (thanks @spagh-eddie)
* Feature: Add pyi stub files for better type hinting. Since
many functions and constructors allow rather arbitrary
arguments time will tell whether typing should be strict (and
cause more mypy issues) or more relaxed (and thus less
precise).
* Feature: Reviewed and improved method documentation
* Feature #549: Add `may` transition check to transitions
(thanks @artofhuman)
* Feature #552: Refactored error handling to be able to handle
`MachineError` in `on_exception` callbacks (thanks @kpihus)
* Feature: Add `mypy` to test workflow
* PR #461: Add `Retry` state to supported state stereotypes
(thanks @rgov)
* Internal: `Machine._identify_callback` has been converted to
instance method from class method
* Internal: `LockedMachine._get_qualified_state_name` has been
converted to instance method from static method
* Internal: Removed `_super` workaround related to dill (see
https://github.com/pytransitions/transitions/issues/236)
* ## 0.8.11 (February 2022)
* Release 0.8.11 is the last 0.8 release and contains fixes for
Python 3.10 compatibility issues
* Bug #559: Rewrote an async test and replaced `setDaemon` with
`daemon` property assignment for thread handling (thanks
@debalance)
- drop transitions-fixpy310.patch (upstream)
* Tue Jan 11 2022 Ben Greiner <code@bnavigator.de>
- Add support for Python 3.10
* transitions-fixpy310.patch -- gh#pytransitions/transitions#559
- Make sure the graphviz tests don't error out without an installed
font
- Clean obsolete python36 conditionals
* Sun Oct 24 2021 Ben Greiner <code@bnavigator.de>
- Update to version 0.8.10
* Feature #545: The literal 'self' (default model parameter of
Machine) has been replaced by the class variable
Machine.self_literal = 'self'. Machine now performs an identity
check (instead of a value check) with mod is self.self_literal
to determine whether it should act as a model. While 'self'
should still work when passed to the model parameter, we
encourage using Machine.self_literal from now on. This was done
to enable easier override of Machine.__eq__ in subclasses
(thanks @VKSolovev).
* Bug #547: Introduce HierarchicalMachine.prefix_path to resolve
global state names since the HSM stack is not reliable when
queued=True (thanks @jankrejci).
* Bug #548: HSM source states were exited even though they are
parents of the destination state (thanks @wes-public-apps).
- Don't test optional extra graphviz on python36: pygraphviz
dropped Python 3.6 support
* Thu Sep 02 2021 Martin Hauke <mardnh@gmx.de>
- Update to version 0.8.9
Bugfix
* NestedEvent now wraps the machine's scope into partials passed
to HierarchicalMachine._process. This prevents queued
transitions from losing their scope.
Feature
* (A)Graph.draw function (object returned by
GraphMachine.get_graph()) can be passed a file/stream object
as first parameter or None. The later will result in draw
returning a binary string. (thanks @Blindfreddy).
* Use id(model) instead of model for machine-bound caches in
LockedMachine, AsyncMachine and GraphMachine. This might
influence pickling.
* Wed Apr 07 2021 Martin Hauke <mardnh@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.
* Mon Aug 24 2020 Marketa Calabkova <mcalabkova@suse.com>
- Use recent pytest
/usr/lib/python3.13/site-packages/transitions /usr/lib/python3.13/site-packages/transitions-0.9.2.dist-info /usr/lib/python3.13/site-packages/transitions-0.9.2.dist-info/INSTALLER /usr/lib/python3.13/site-packages/transitions-0.9.2.dist-info/METADATA /usr/lib/python3.13/site-packages/transitions-0.9.2.dist-info/RECORD /usr/lib/python3.13/site-packages/transitions-0.9.2.dist-info/REQUESTED /usr/lib/python3.13/site-packages/transitions-0.9.2.dist-info/WHEEL /usr/lib/python3.13/site-packages/transitions-0.9.2.dist-info/licenses /usr/lib/python3.13/site-packages/transitions-0.9.2.dist-info/licenses/LICENSE /usr/lib/python3.13/site-packages/transitions-0.9.2.dist-info/top_level.txt /usr/lib/python3.13/site-packages/transitions/__init__.py /usr/lib/python3.13/site-packages/transitions/__init__.pyi /usr/lib/python3.13/site-packages/transitions/__pycache__ /usr/lib/python3.13/site-packages/transitions/__pycache__/__init__.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/__pycache__/__init__.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/__pycache__/core.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/__pycache__/core.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/__pycache__/version.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/__pycache__/version.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/core.py /usr/lib/python3.13/site-packages/transitions/core.pyi /usr/lib/python3.13/site-packages/transitions/experimental /usr/lib/python3.13/site-packages/transitions/experimental/__init__.py /usr/lib/python3.13/site-packages/transitions/experimental/__pycache__ /usr/lib/python3.13/site-packages/transitions/experimental/__pycache__/__init__.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/experimental/__pycache__/__init__.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/experimental/__pycache__/utils.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/experimental/__pycache__/utils.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/experimental/utils.py /usr/lib/python3.13/site-packages/transitions/experimental/utils.pyi /usr/lib/python3.13/site-packages/transitions/extensions /usr/lib/python3.13/site-packages/transitions/extensions/__init__.py /usr/lib/python3.13/site-packages/transitions/extensions/__init__.pyi /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__ /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/__init__.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/__init__.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/asyncio.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/asyncio.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/diagrams.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/diagrams.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/diagrams_base.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/diagrams_base.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/diagrams_graphviz.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/diagrams_graphviz.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/diagrams_mermaid.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/diagrams_mermaid.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/diagrams_pygraphviz.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/diagrams_pygraphviz.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/factory.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/factory.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/locking.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/locking.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/markup.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/markup.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/nesting.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/nesting.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/states.cpython-313.opt-1.pyc /usr/lib/python3.13/site-packages/transitions/extensions/__pycache__/states.cpython-313.pyc /usr/lib/python3.13/site-packages/transitions/extensions/asyncio.py /usr/lib/python3.13/site-packages/transitions/extensions/asyncio.pyi /usr/lib/python3.13/site-packages/transitions/extensions/diagrams.py /usr/lib/python3.13/site-packages/transitions/extensions/diagrams.pyi /usr/lib/python3.13/site-packages/transitions/extensions/diagrams_base.py /usr/lib/python3.13/site-packages/transitions/extensions/diagrams_base.pyi /usr/lib/python3.13/site-packages/transitions/extensions/diagrams_graphviz.py /usr/lib/python3.13/site-packages/transitions/extensions/diagrams_graphviz.pyi /usr/lib/python3.13/site-packages/transitions/extensions/diagrams_mermaid.py /usr/lib/python3.13/site-packages/transitions/extensions/diagrams_mermaid.pyi /usr/lib/python3.13/site-packages/transitions/extensions/diagrams_pygraphviz.py /usr/lib/python3.13/site-packages/transitions/extensions/diagrams_pygraphviz.pyi /usr/lib/python3.13/site-packages/transitions/extensions/factory.py /usr/lib/python3.13/site-packages/transitions/extensions/factory.pyi /usr/lib/python3.13/site-packages/transitions/extensions/locking.py /usr/lib/python3.13/site-packages/transitions/extensions/locking.pyi /usr/lib/python3.13/site-packages/transitions/extensions/markup.py /usr/lib/python3.13/site-packages/transitions/extensions/markup.pyi /usr/lib/python3.13/site-packages/transitions/extensions/nesting.py /usr/lib/python3.13/site-packages/transitions/extensions/nesting.pyi /usr/lib/python3.13/site-packages/transitions/extensions/states.py /usr/lib/python3.13/site-packages/transitions/extensions/states.pyi /usr/lib/python3.13/site-packages/transitions/py.typed /usr/lib/python3.13/site-packages/transitions/version.py /usr/lib/python3.13/site-packages/transitions/version.pyi /usr/share/doc/packages/python313-transitions /usr/share/doc/packages/python313-transitions/Changelog.md /usr/share/doc/packages/python313-transitions/README.md /usr/share/licenses/python313-transitions /usr/share/licenses/python313-transitions/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Oct 25 22:22:47 2025