Avoid unnecessary rinfo calls after creating gateways (#909)
Hopefully this fixes #907, as seems this is the only change in #901 which is somehow related. --------- Co-authored-by: Ronny Pfannschmidt <opensource@ronnypfannschmidt.de>
This commit is contained in:
5
changelog/907.bugfix.rst
Normal file
5
changelog/907.bugfix.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Avoid remote calls during startup as ``execnet`` by default does not ensure remote affinity with the
|
||||
main thread and might accidentally schedule the pytest worker into a non-main thread, which breaks numerous frameworks,
|
||||
for example ``asyncio``, ``anyio``, ``PyQt/PySide``, etc.
|
||||
|
||||
A more safe correction will require thread affinity in ``execnet`` (`pytest-dev/execnet#96 <https://github.com/pytest-dev/execnet/issues/96>`__).
|
||||
Reference in New Issue
Block a user