File tree 4 files changed +28
-5
lines changed
4 files changed +28
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,33 @@ Release history
5
5
6
6
.. towncrier release notes start
7
7
8
+ trio-asyncio 0.14.1 (2024-04-18)
9
+ --------------------------------
10
+
11
+ Bugfixes
12
+ ~~~~~~~~
13
+
14
+ - ``TrioExecutor.submit() ``, which implements calls to
15
+ :meth: `asyncio.loop.run_in_executor ` in a trio-asyncio program,
16
+ no longer acquires a token from its `~trio.CapacityLimiter ` before
17
+ calling :func: `trio.to_thread.run_sync `.
18
+ The previous behaviour caused each worker thread to consume two tokens
19
+ rather than one, since :func: `trio.to_thread.run_sync ` also acquires a token.
20
+ When many tasks called :meth: `~asyncio.loop.run_in_executor ` in parallel,
21
+ this could cause a deadlock: because everyone is holding a first token, no one
22
+ can make progress by getting a second one.
23
+ (`#143 <https://github.com/python-trio/trio-asyncio/issues/143 >`__)
24
+
25
+
26
+ Miscellaneous
27
+ ~~~~~~~~~~~~~
28
+
29
+ - Updated test suite to cope with Trio 0.25.0 and later defaulting
30
+ ``strict_exception_groups `` to ``True ``. Trio 0.25.0 is now required
31
+ to run the tests, although trio-asyncio itself still supports older
32
+ versions. (`#146 <https://github.com/python-trio/trio-asyncio/issues/146 >`__)
33
+
34
+
8
35
trio-asyncio 0.14.0 (2024-02-07)
9
36
--------------------------------
10
37
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# This file is imported from __init__.py and exec'd from setup.py
2
2
3
- __version__ = "0.14.0+dev "
3
+ __version__ = "0.14.1 "
You can’t perform that action at this time.
0 commit comments