ImperialCollegeLondon / FINESSE

A graphical user interface for controlling and monitoring an interferometer device
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Bump python-statemachine from 2.1.2 to 2.3.2 #619

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 5 months ago

Bumps python-statemachine from 2.1.2 to 2.3.2.

Release notes

Sourced from python-statemachine's releases.

v2.3.1

StateMachine 2.3.1

June 7, 2024

What's new in 2.3.1

This release has a high expected feature, we're adding asynchronous support, and enhancing overall functionality. In fact, the approach we took was to go all the way down changing the internals of the library to be fully async, keeping only the current external API as a thin sync/async adapter.

Python compatibility 2.3.1

StateMachine 2.3.1 supports Python 3.7, 3.8, 3.9, 3.10, 3.11 and 3.12.

We've fixed a bug on the package declaration that was preventing users from Python 3.7 to install the latest version.

Asynchronous Support in 2.3.1

This release introduces native coroutine support using asyncio, enabling seamless integration with asynchronous code.

Now you can send and await for events, and also write async Actions, Conditions and Validators.

>>> class AsyncStateMachine(StateMachine):
...     initial = State('Initial', initial=True)
...     final = State('Final', final=True)
...
...     advance = initial.to(final)

>>> async def run_sm():
... sm = AsyncStateMachine()
... await sm.advance()
... print(sm.current_state)

>>> asyncio.run(run_sm())
Final

v2.2.0

StateMachine 2.2.0

May 6, 2024

What's new in 2.2.0

In this release, we conducted a general cleanup and refactoring across various modules to enhance code readability and maintainability. We improved exception handling and reduced code redundancy.

... (truncated)

Commits
  • e48bde7 Merge branch 'release/2.3.2'
  • 59edeee chore: 2.3.2 release
  • f43cfc1 chore: Add internal engine abstraction (strategy pattern) for sync vs hybrid ...
  • 6187213 chore: Improved enum support; Allow binding eventes to objects (#454)
  • d446d99 fix: Regression that broke sync callbacks interacting with Django ORM. Closes...
  • 2669b92 Fix regression that did not trigger events in nested calls within an already ...
  • af78785 chore: Adding test to cover scenario in #449 (#450)
  • 0070f48 chore: Observers rebranded to listeners (#448)
  • ee0be69 tests: Adding Django test project (#447)
  • ee3885a Improve callback registry (#442)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 4 months ago

Superseded by #622.