From c01b593ba2400b76c691c50397a22f182f7e17239177a75a5b04b3e5ace1fb85 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Oct 2021 09:38:54 +0000 Subject: [PATCH] Accepting request 915808 from home:mnhauke:network:automation - 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. OBS-URL: https://build.opensuse.org/request/show/915808 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transitions?expand=0&rev=17 --- python-transitions.changes | 17 +++++++++++++++++ python-transitions.spec | 2 +- transitions-0.8.8.tar.gz | 3 --- transitions-0.8.9.tar.gz | 3 +++ 4 files changed, 21 insertions(+), 4 deletions(-) delete mode 100644 transitions-0.8.8.tar.gz create mode 100644 transitions-0.8.9.tar.gz diff --git a/python-transitions.changes b/python-transitions.changes index 60ec065..d04ba72 100644 --- a/python-transitions.changes +++ b/python-transitions.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Sep 2 15:58:41 UTC 2021 - Martin Hauke + +- 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 7 16:32:09 UTC 2021 - Martin Hauke diff --git a/python-transitions.spec b/python-transitions.spec index 98af812..13e3e68 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.8 +Version: 0.8.9 Release: 0 Summary: A lightweight, object-oriented Python state machine implementation License: MIT diff --git a/transitions-0.8.8.tar.gz b/transitions-0.8.8.tar.gz deleted file mode 100644 index 6683084..0000000 --- a/transitions-0.8.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e7a86b31a161a76133f189b3ae9dad2755a80ea4c1e0eee1805648d021fb677d -size 1148802 diff --git a/transitions-0.8.9.tar.gz b/transitions-0.8.9.tar.gz new file mode 100644 index 0000000..e1e1767 --- /dev/null +++ b/transitions-0.8.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc2ec6d6b6f986cd7e28e119eeb9ba1c9cc51ab4fbbdb7f2dedad01983fd2de0 +size 1150707