From 516fcc1ca6d3b8995d1a6e01002c71a662a2aad8 Mon Sep 17 00:00:00 2001 From: zangrc Date: Tue, 12 Oct 2021 13:31:43 +0800 Subject: python3-transitions: upgrade 0.8.9 -> 0.8.10 Release 0.8.10 is a minor release and contains two bug fixes for the HSM extension and changes how the 'self' literal string is handled. - 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). Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin (cherry picked from commit 46132922023490e5ed2063467eeeeffb284d4d4d) Signed-off-by: Armin Kuster --- .../recipes-devtools/python/python3-transitions_0.8.10.bb | 9 +++++++++ meta-python/recipes-devtools/python/python3-transitions_0.8.9.bb | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-transitions_0.8.10.bb delete mode 100644 meta-python/recipes-devtools/python/python3-transitions_0.8.9.bb diff --git a/meta-python/recipes-devtools/python/python3-transitions_0.8.10.bb b/meta-python/recipes-devtools/python/python3-transitions_0.8.10.bb new file mode 100644 index 0000000000..46292987b1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-transitions_0.8.10.bb @@ -0,0 +1,9 @@ +SUMMARY = "A lightweight, object-oriented Python state machine implementation with many extensions." +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=baac7be1f4c17620df74188e23da6d47" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "b0385975a842e885c1a55c719d2f90164471665794d39d51f9eb3f11e1d9c8ac" + +RDEPENDS:${PN} += "python3-six python3-logging" diff --git a/meta-python/recipes-devtools/python/python3-transitions_0.8.9.bb b/meta-python/recipes-devtools/python/python3-transitions_0.8.9.bb deleted file mode 100644 index 178dfad3f3..0000000000 --- a/meta-python/recipes-devtools/python/python3-transitions_0.8.9.bb +++ /dev/null @@ -1,9 +0,0 @@ -SUMMARY = "A lightweight, object-oriented Python state machine implementation with many extensions." -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=baac7be1f4c17620df74188e23da6d47" - -inherit pypi setuptools3 - -SRC_URI[sha256sum] = "fc2ec6d6b6f986cd7e28e119eeb9ba1c9cc51ab4fbbdb7f2dedad01983fd2de0" - -RDEPENDS:${PN} += "python3-six python3-logging" -- cgit 1.2.3-korg