Skip to content

Commit 464a0ed

Browse files
committed
Add #243 to CHANGELOG
1 parent 8f7f3a0 commit 464a0ed

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CHANGELOG.rst

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

0 commit comments

Comments
 (0)