pytest-xdist 3.8.0 (2025-06-30)
Features
-
[#1083](https://github.com/pytest-dev/pytest-xdist/issues/1083) <https://github.com/pytest-dev/pytest-xdist/issues/1083>_: Add--no-loadscope-reorderand--loadscope-reorderoption to control whether to automatically reorder tests in loadscope for tests where relative ordering matters. This only applies when usingloadscope.For example, [test_file_1, test_file_2, ..., test_file_n] are given as input test files, if
--no-loadscope-reorderis used, for either worker, thetest_file_awill be executed beforetest_file_bonly ifa < b.The default behavior is to reorder the tests to maximize the number of tests that can be executed in parallel.
pytest-xdist 3.7.0 (2025-05-26)
Features
-
[#1142](https://github.com/pytest-dev/pytest-xdist/issues/1142) <https://github.com/pytest-dev/pytest-xdist/issues/1142>_: Added support for Python 3.13. -
[#1144](https://github.com/pytest-dev/pytest-xdist/issues/1144) <https://github.com/pytest-dev/pytest-xdist/issues/1144>_: The internalstealcommand is now atomic - it unschedules either all requested tests or none.This is a prerequisite for group/scope support in the
workstealscheduler, so test groups won't be broken up incorrectly. -
[#1170](https://github.com/pytest-dev/pytest-xdist/issues/1170) <https://github.com/pytest-dev/pytest-xdist/issues/1170>_: Add the--pxarg to create proxy gateways.Proxy gateways are passed to additional gateways using the
viakeyword. They can serve as a way to run multiple workers on remote machines. -
[#1200](https://github.com/pytest-dev/pytest-xdist/issues/1200) <https://github.com/pytest-dev/pytest-xdist/issues/1200>_: Now multiplexdist_groupmarkers are considered when assigning tests to groups (order does not matter).Previously, only the last marker would assign a test to a group, but now if a test has multiple
xdist_groupmarks applied (for example via parametrization or via fixtures), they are merged to make a new group.
Removals
[#1162](https://github.com/pytest-dev/pytest-xdist/issues/1162) <https://github.com/pytest-dev/pytest-xdist/issues/1162>_: Dropped support for EOL Python 3.8.
Trivial Changes
-
[#1092](https://github.com/pytest-dev/pytest-xdist/issues/1092) <https://github.com/pytest-dev/pytest-xdist/issues/1092>_: Update an error message to better indicate where users should go for more information. -
[#1190](https://github.com/pytest-dev/pytest-xdist/issues/1190) <https://github.com/pytest-dev/pytest-xdist/issues/1190>_: Switched to using a SPDX license identifier introduced in PEP 639.