Skip to content

Commit

Permalink
Add pytest-dev#243 to CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
zmedico committed Feb 22, 2024
1 parent 8f7f3a0 commit d72144c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
2.1.0 (UNRELEASED)
------------------

*`#243 <https://github.com/pytest-dev/execnet/pull/243>`__: Added ``main_thread_only``
execmodel which is derived from the thread execmodel and only executes ``remote_exec``
calls in the main thread.
Callers of ``remote_exec`` must use the returned channel to wait for a task to complete
before they call remote_exec again, otherwise the ``remote_exec`` call will fail with a
``concurrent remote_exec would cause deadlock`` error. The main_thread_only execmodel
provides solutions for `#96 <https://github.com/pytest-dev/execnet/issues/96>`__ and
`pytest-dev/pytest-xdist#620 <https://github.com/pytest-dev/pytest-xdist/issues/620>`__
(pending a new ``pytest-xdist`` release).

Also fixed ``init_popen_io`` to use ``closefd=False`` for shared stdin and stdout file
descriptors, preventing ``Bad file descriptor`` errors triggered by test_stdouterrin_setnull.

2.0.2 (2023-07-09)
------------------

Expand Down

0 comments on commit d72144c

Please sign in to comment.