Skip to content

Releases: richardsheridan/trio-parallel

Feature Release

25 Dec 18:31
9aea44c
Compare
Choose a tag to compare

Features

  • Advertise support for Python-3.13, although no code changes were made to support it. (#434)
  • Add kill_on_cancel kwarg to run_sync. The alias cancellable will remain indefinitely. (#437)
  • Add cache_scope(), an async context manager that can override the behavior of trio_parallel.run_sync() in a subtree of your Trio tasks with an implicit WorkerContext. (#455)

Deprecations and Removals

  • Stop advertising support for Python-3.8, although no code changes were made to break it. (#434)
  • Removed deprecated atexit_shutdown_grace_period. Use configure_default_context to configure the default context shutdown grace period. (#435)

Bugfix release

21 Dec 16:05
Compare
Choose a tag to compare

Bugfixes

  • Ensure worker processes are eagerly reaped after a rare race condition edge case. (#436)
  • Fix a usage of a removed internal trio function in the test suite. (#444)

Bugfix release

19 Oct 20:43
c0fc806
Compare
Choose a tag to compare

Bugfixes

  • Fix a regression induced by trio-0.27.0 that causes worker contexts to crash on exit if they happen to wait for jobs to finish. (#432)

Bugfix release

24 Apr 22:37
Compare
Choose a tag to compare

Bugfixes

  • Fixed a rare race condition during cleanup that could trigger unraisable error tracebacks. (#398)
  • Made several internal changes that may make compatibility with future Trio versions more stable (#412)

Bugfix release

05 Nov 01:15
113bf90
Compare
Choose a tag to compare

Bugfixes

  • Resolved a deprecation warning on python 3.12. (#380)

Deprecations and Removals

  • Although python 3.7 has not been specifically broken, it is no longer tested in CI. (#389)

Feature release

30 Oct 02:10
Compare
Choose a tag to compare

Features

  • The behavior of the default context is now fully configurable, superseding atexit_shutdown_grace_period (#328)

Bugfixes

  • Use tblib lazily to pass tracebacks on user exceptions. Previously, tracebacks would only be passed on the built-in python exceptions. (#332)

Feature release

18 Sep 21:15
Compare
Choose a tag to compare

Features

  • Add type hints for run_sync (#322)
  • Use tblib to enable pickling of tracebacks between processes. Mainly, this preserves context of exceptions including chained exceptions. (#323)

Bugfixes

  • Prevent Ctrl+C from inducing various leaks and inconsistent states. (#239)
  • Cleaned up names/qualnames of objects in the trio_parallel namespace. (#291)

Deprecations and Removals

  • Removed python 3.6 support (#236)

Major Release

04 Dec 15:31
Compare
Choose a tag to compare

Bugfixes

  • Fixed a hang on failed worker subprocess spawns that mostly occurred upon accidental multiprocessing recursive spawn. #167
  • Fixed a hang on Windows when trying to use WorkerContext.run_sync in sequential and concurrent Trio runs. #171

Improved Documentation

  • Revamped documentation with tested examples. #168

Prerelease Postrelease

14 Nov 19:25
Compare
Choose a tag to compare
Pre-release

Updates trove classifiers and loosens CFFI requirement.

Feature Prerelease

12 Nov 23:07
Compare
Choose a tag to compare
Feature Prerelease Pre-release
Pre-release

With this release I consider the project "feature complete" although, as a beta release still, I would be open to PRs for new features with a strong motivation.

  • Added an API to view statistics about a WorkerContext, specifically counting idle_workers and running_workers. #155