Skip to content

Commit d72144c

Browse files
committed
Add pytest-dev#243 to CHANGELOG
1 parent 8f7f3a0 commit d72144c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

CHANGELOG.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
2.1.0 (UNRELEASED)
2+
------------------
3+
4+
*`#243 <https://github.com/pytest-dev/execnet/pull/243>`__: Added ``main_thread_only``
5+
execmodel which is derived from the thread execmodel and only executes ``remote_exec``
6+
calls in the main thread.
7+
8+
Callers of ``remote_exec`` must use the returned channel to wait for a task to complete
9+
before they call remote_exec again, otherwise the ``remote_exec`` call will fail with a
10+
``concurrent remote_exec would cause deadlock`` error. The main_thread_only execmodel
11+
provides solutions for `#96 <https://github.com/pytest-dev/execnet/issues/96>`__ and
12+
`pytest-dev/pytest-xdist#620 <https://github.com/pytest-dev/pytest-xdist/issues/620>`__
13+
(pending a new ``pytest-xdist`` release).
14+
15+
Also fixed ``init_popen_io`` to use ``closefd=False`` for shared stdin and stdout file
16+
descriptors, preventing ``Bad file descriptor`` errors triggered by test_stdouterrin_setnull.
17+
118
2.0.2 (2023-07-09)
219
------------------
320

0 commit comments

Comments
 (0)