|
| 1 | +pytest-xdist 3.6.0 (2024-04-19) |
| 2 | +=============================== |
| 3 | + |
| 4 | +Features |
| 5 | +-------- |
| 6 | + |
| 7 | +- `#1027 <https://github.com/pytest-dev/pytest-xdist/pull/1027>`_:``pytest-xdist`` workers now always execute the tests in the main thread. |
| 8 | + Previously some tests might end up executing in a separate thread other than ``main`` in the workers, due to some internal `execnet`` details. This can cause problems specially with async frameworks where the event loop is running in the ``main`` thread (for example `#620 <https://github.com/pytest-dev/pytest-xdist/issues/620>`__). |
| 9 | + |
| 10 | +Bug Fixes |
| 11 | +--------- |
| 12 | + |
| 13 | +- `#1024 <https://github.com/pytest-dev/pytest-xdist/issues/1024>`_: Added proper handling of ``shouldstop`` (such as set by ``--max-fail``) and ``shouldfail`` conditions in workers. |
| 14 | + Previously, a worker might have continued executing further tests before the controller could terminate the session. |
| 15 | + |
| 16 | +- `#1028 <https://github.com/pytest-dev/pytest-xdist/issues/1028>`_: Fixed compatibility issue between `looponfail` and editable installs. |
| 17 | + |
| 18 | +- `#620 <https://github.com/pytest-dev/pytest-xdist/issues/620>`_: Use the new ``main_thread_only`` ``execnet`` "execmodel" so that code which expects to only run in the main thread will now work as expected. |
| 19 | + |
| 20 | +- `#937 <https://github.com/pytest-dev/pytest-xdist/issues/937>`_: Fixed a bug where plugin would raise an incompatibility error with ``--pdb`` despite using ``-n0``. |
| 21 | + |
| 22 | + |
| 23 | +Removals |
| 24 | +-------- |
| 25 | + |
| 26 | +- `#1053 <https://github.com/pytest-dev/pytest-xdist/issues/1053>`_: Dropped support for Python 3.7. |
| 27 | + |
| 28 | +- `#1057 <https://github.com/pytest-dev/pytest-xdist/issues/1057>`_: pytest>=7.0.0 is now required. |
| 29 | + |
| 30 | + execnet>=2.1.0 is now required. |
| 31 | + |
| 32 | + |
| 33 | +Trivial Changes |
| 34 | +--------------- |
| 35 | + |
| 36 | +- `#1020 <https://github.com/pytest-dev/pytest-xdist/issues/1020>`_: pytest-xdist's ``setup.py`` file is removed. |
| 37 | + |
| 38 | + If you relied on this file, e.g. to install pytest using ``setup.py install``, |
| 39 | + please see `Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>`_ for alternatives. |
| 40 | + |
| 41 | +- `#1057 <https://github.com/pytest-dev/pytest-xdist/issues/1057>`_: The internals of pytest-xdist are now fully typed. The typing is not exposed yet. |
| 42 | + |
| 43 | +- `#996 <https://github.com/pytest-dev/pytest-xdist/issues/996>`_: Adjusted license file format and content to ensure security scanners will identity the license. |
| 44 | + |
1 | 45 | pytest-xdist 3.5.0 (2023-11-21)
|
2 | 46 | ===============================
|
3 | 47 |
|
|
0 commit comments