Sourced from pytest-xdist's changelog.
\n\n\npytest-xdist 3.6.1 (2024-04-28)
\nBug Fixes
\n\n
\n- \n
[#1071](https://github.com/pytest-dev/pytest-xdist/issues/1071) <https://github.com/pytest-dev/pytest-xdist/issues/1071>_: Add backward compatibility for deadlock issue with theexecnetnewmain_thread_only"execmodel" triggered when pytest-cov accesses rinfo.pytest-xdist 3.6.0 (2024-04-19)
\nThis release was YANKED due to a regression fixed in 3.6.1.
\nFeatures
\n\n
\n- \n
[#1027](https://github.com/pytest-dev/pytest-xdist/issues/1027) <https://github.com/pytest-dev/pytest-xdist/pull/1027>_:pytest-xdistworkers now always execute the tests in the main thread.\nPreviously some tests might end up executing in a separate thread other thanmainin the workers, due to some internalexecnet`` details. This can cause problems specially with async frameworks where the event loop is running in the ``main`` thread (for example#620 pytest-dev/pytest-xdist#620`__).Bug Fixes
\n\n
\n- \n
\n\n
[#1024](https://github.com/pytest-dev/pytest-xdist/issues/1024) <https://github.com/pytest-dev/pytest-xdist/issues/1024>_: Added proper handling ofshouldstop(such as set by--max-fail) andshouldfailconditions in workers.\nPreviously, a worker might have continued executing further tests before the controller could terminate the session.- \n
\n\n
[#1028](https://github.com/pytest-dev/pytest-xdist/issues/1028) <https://github.com/pytest-dev/pytest-xdist/issues/1028>_: Fixed compatibility issue betweenlooponfailand editable installs.- \n
\n\n
[#620](https://github.com/pytest-dev/pytest-xdist/issues/620) <https://github.com/pytest-dev/pytest-xdist/issues/620>_: Use the newmain_thread_onlyexecnet"execmodel" so that code which expects to only run in the main thread will now work as expected.- \n
\n\n
[#937](https://github.com/pytest-dev/pytest-xdist/issues/937) <https://github.com/pytest-dev/pytest-xdist/issues/937>_: Fixed a bug where plugin would raise an incompatibility error with--pdbdespite using-n0.Removals
\n\n
\n- \n
\n\n
[#1053](https://github.com/pytest-dev/pytest-xdist/issues/1053) <https://github.com/pytest-dev/pytest-xdist/issues/1053>_: Dropped support for Python 3.7.- \n
\n\n
[#1057](https://github.com/pytest-dev/pytest-xdist/issues/1057) <https://github.com/pytest-dev/pytest-xdist/issues/1057>_: pytest>=7.0.0 is now required.execnet>=2.1.0 is now required.
\nTrivial Changes
\n\n
\n\n- \n
\n\n
[#1020](https://github.com/pytest-dev/pytest-xdist/issues/1020) <https://github.com/pytest-dev/pytest-xdist/issues/1020>_: pytest-xdist'ssetup.pyfile is removed.If you relied on this file, e.g. to install pytest using
\nsetup.py install,\nplease seeWhy you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>_ for alternatives.
... (truncated)
\n4dd2978 Release 3.6.1b397288 Merge pull request #1072 from zmedico/gateway-cache-rinfo12b3cce Cache execnet gateway rinfo during WorkerController setupc93a106 build(deps): bump hynek/build-and-inspect-python-package (#1066)52e2022 [pre-commit.ci] pre-commit autoupdate (#1073)699f939 Merge pull request #1070 from pytest-dev/release-3.6.080bc0b8 Release 3.6.020e3ac7 Use execnet main_thread_only execmodel (#1027)0a4238f Merge pull request #1067 from pytest-dev/pre-commit-ci-update-config0686279 [pre-commit.ci] pre-commit autoupdate