Skip to content

Releases: richardsheridan/trio-parallel

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

Feature Prerelease

08 Oct 10:47
8bce917
Compare
Choose a tag to compare
Feature Prerelease Pre-release
Pre-release
  • Opportunistically use cloudpickle to serialize jobs and results. (#115)
  • Timeout arguments of open_worker_context, idle_timeout and grace_period,
    now work like trio timeouts, accepting any non-negative float value. (#116)
  • Worker process startup is now faster, by importing trio lazily (#117)
  • open_worker_context now returns a context object that can be used to run
    functions explicitly in a certain context (WorkerContext.run_sync) rather
    than implicitly altering the behavior of trio_parallel.run_sync. (#127)

Feature Prerelease

05 Sep 15:17
18fc7bc
Compare
Choose a tag to compare
Feature Prerelease Pre-release
Pre-release
  • Added configuration options for the grace periods permitted to worker caches upon shutdown. This includes a new keyword argument for cache_scope and the new top level function default_shutdown_grace_period. #108
  • cache_scope gained a new argument, init, and retire is no longer called before the first job in the worker. #110