Trio-parallel

Latest version: v1.3.0

Safety actively analyzes 701475 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.3.0

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)

1.2.4

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)

1.2.3

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)

1.2.2

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)

1.2.1

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)

1.2.0

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)

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.