File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
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
+
1
18
2.0.2 (2023-07-09)
2
19
------------------
3
20
You can’t perform that action at this time.
0 commit comments