Update dependency pytest-xdist to v3.8.0 #155

Closed
renovate wants to merge 1 commit from renovate/pytest-xdist-3.x into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
pytest-xdist (changelog) ==3.5.0 → ==3.8.0 age confidence

Release Notes

pytest-dev/pytest-xdist (pytest-xdist)

v3.8.0

Compare Source

===============================

Features

  • #&#8203;1083 <https://github.com/pytest-dev/pytest-xdist/issues/1083>_: Add --no-loadscope-reorder and --loadscope-reorder option to control whether to automatically reorder tests in loadscope for tests where relative ordering matters. This only applies when using loadscope.

    For example, [test_file_1, test_file_2, ..., test_file_n] are given as input test files, if --no-loadscope-reorder is used, for either worker, the test_file_a will be executed before test_file_b only if a < b.

    The default behavior is to reorder the tests to maximize the number of tests that can be executed in parallel.

v3.7.0

Compare Source

===============================

Features

  • #&#8203;1142 <https://github.com/pytest-dev/pytest-xdist/issues/1142>_: Added support for Python 3.13.

  • #&#8203;1144 <https://github.com/pytest-dev/pytest-xdist/issues/1144>_: The internal steal command is now atomic - it unschedules either all requested tests or none.

    This is a prerequisite for group/scope support in the worksteal scheduler, so test groups won't be broken up incorrectly.

  • #&#8203;1170 <https://github.com/pytest-dev/pytest-xdist/issues/1170>_: Add the --px arg to create proxy gateways.

    Proxy gateways are passed to additional gateways using the via keyword.
    They can serve as a way to run multiple workers on remote machines.

  • #&#8203;1200 <https://github.com/pytest-dev/pytest-xdist/issues/1200>_: Now multiple xdist_group markers 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_group marks applied (for example via parametrization or via fixtures), they are merged to make a new group.

Removals

  • #&#8203;1162 <https://github.com/pytest-dev/pytest-xdist/issues/1162>_: Dropped support for EOL Python 3.8.

Trivial Changes

  • #&#8203;1092 <https://github.com/pytest-dev/pytest-xdist/issues/1092>_: Update an error message to better indicate where users should go for more information.

  • #&#8203;1190 <https://github.com/pytest-dev/pytest-xdist/issues/1190>_: Switched to using a SPDX license identifier introduced in PEP 639.

v3.6.1

Compare Source

===============================

Bug Fixes

  • #&#8203;1071 <https://github.com/pytest-dev/pytest-xdist/issues/1071>_: Add backward compatibility for deadlock issue with the execnet new main_thread_only "execmodel" triggered when pytest-cov accesses rinfo.

v3.6.0

Compare Source

===============================

This release was YANKED due to a regression fixed in 3.6.1.

Features

  • #&#8203;1027 <https://github.com/pytest-dev/pytest-xdist/pull/1027>_:pytest-xdist workers now always execute the tests in the main thread.
    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 #​620`__).

Bug Fixes

  • #&#8203;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.
    Previously, a worker might have continued executing further tests before the controller could terminate the session.

  • #&#8203;1028 <https://github.com/pytest-dev/pytest-xdist/issues/1028>_: Fixed compatibility issue between looponfail and editable installs.

  • #&#8203;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.

  • #&#8203;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.

Removals

  • #&#8203;1053 <https://github.com/pytest-dev/pytest-xdist/issues/1053>_: Dropped support for Python 3.7.

  • #&#8203;1057 <https://github.com/pytest-dev/pytest-xdist/issues/1057>_: pytest>=7.0.0 is now required.

    execnet>=2.1.0 is now required.

Trivial Changes

  • #&#8203;1020 <https://github.com/pytest-dev/pytest-xdist/issues/1020>_: pytest-xdist's setup.py file is removed.

    If you relied on this file, e.g. to install pytest using setup.py install,
    please see Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>_ for alternatives.

  • #&#8203;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.

  • #&#8203;996 <https://github.com/pytest-dev/pytest-xdist/issues/996>_: Adjusted license file format and content to ensure security scanners will identity the license.


Configuration

📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) in timezone America/New_York, Automerge - Only on Sunday and Saturday ( * * * * 0,6 ) in timezone America/New_York.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) ([changelog](https://pytest-xdist.readthedocs.io/en/latest/changelog.html)) | `==3.5.0` → `==3.8.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-xdist/3.8.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-xdist/3.5.0/3.8.0?slim=true) | --- ### Release Notes <details> <summary>pytest-dev/pytest-xdist (pytest-xdist)</summary> ### [`v3.8.0`](https://github.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-380-2025-06-30) [Compare Source](https://github.com/pytest-dev/pytest-xdist/compare/v3.7.0...v3.8.0) \=============================== ## Features - `#&#8203;1083 <https://github.com/pytest-dev/pytest-xdist/issues/1083>`\_: Add `--no-loadscope-reorder` and `--loadscope-reorder` option to control whether to automatically reorder tests in loadscope for tests where relative ordering matters. This only applies when using `loadscope`. For example, \[test\_file\_1, test\_file\_2, ..., test\_file\_n] are given as input test files, if `--no-loadscope-reorder` is used, for either worker, the `test_file_a` will be executed before `test_file_b` only if `a < b`. The default behavior is to reorder the tests to maximize the number of tests that can be executed in parallel. ### [`v3.7.0`](https://github.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-370-2025-05-26) [Compare Source](https://github.com/pytest-dev/pytest-xdist/compare/v3.6.1...v3.7.0) \=============================== ## Features - `#&#8203;1142 <https://github.com/pytest-dev/pytest-xdist/issues/1142>`\_: Added support for Python 3.13. - `#&#8203;1144 <https://github.com/pytest-dev/pytest-xdist/issues/1144>`\_: The internal `steal` command is now atomic - it unschedules either all requested tests or none. This is a prerequisite for group/scope support in the `worksteal` scheduler, so test groups won't be broken up incorrectly. - `#&#8203;1170 <https://github.com/pytest-dev/pytest-xdist/issues/1170>`\_: Add the `--px` arg to create proxy gateways. Proxy gateways are passed to additional gateways using the `via` keyword. They can serve as a way to run multiple workers on remote machines. - `#&#8203;1200 <https://github.com/pytest-dev/pytest-xdist/issues/1200>`\_: Now multiple `xdist_group` markers 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_group` marks applied (for example via parametrization or via fixtures), they are merged to make a new group. ## Removals - `#&#8203;1162 <https://github.com/pytest-dev/pytest-xdist/issues/1162>`\_: Dropped support for EOL Python 3.8. ## Trivial Changes - `#&#8203;1092 <https://github.com/pytest-dev/pytest-xdist/issues/1092>`\_: Update an error message to better indicate where users should go for more information. - `#&#8203;1190 <https://github.com/pytest-dev/pytest-xdist/issues/1190>`\_: Switched to using a SPDX license identifier introduced in PEP 639. ### [`v3.6.1`](https://github.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-361-2024-04-28) [Compare Source](https://github.com/pytest-dev/pytest-xdist/compare/v3.6.0...v3.6.1) \=============================== ## Bug Fixes - `#&#8203;1071 <https://github.com/pytest-dev/pytest-xdist/issues/1071>`\_: Add backward compatibility for deadlock issue with the `execnet` new `main_thread_only` "execmodel" triggered when pytest-cov accesses rinfo. ### [`v3.6.0`](https://github.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-360-2024-04-19) [Compare Source](https://github.com/pytest-dev/pytest-xdist/compare/v3.5.0...v3.6.0) \=============================== This release was YANKED due to a regression fixed in 3.6.1. ## Features - `#&#8203;1027 <https://github.com/pytest-dev/pytest-xdist/pull/1027>`\_:`pytest-xdist` workers now always execute the tests in the main thread. 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 `[#&#8203;620](https://github.com/pytest-dev/pytest-xdist/issues/620) [#&#8203;620](https://github.com/pytest-dev/pytest-xdist/issues/620)\`\_\_). ## Bug Fixes - `#&#8203;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. Previously, a worker might have continued executing further tests before the controller could terminate the session. - `#&#8203;1028 <https://github.com/pytest-dev/pytest-xdist/issues/1028>`\_: Fixed compatibility issue between `looponfail` and editable installs. - `#&#8203;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. - `#&#8203;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`. ## Removals - `#&#8203;1053 <https://github.com/pytest-dev/pytest-xdist/issues/1053>`\_: Dropped support for Python 3.7. - `#&#8203;1057 <https://github.com/pytest-dev/pytest-xdist/issues/1057>`\_: pytest>=7.0.0 is now required. execnet>=2.1.0 is now required. ## Trivial Changes - `#&#8203;1020 <https://github.com/pytest-dev/pytest-xdist/issues/1020>`\_: pytest-xdist's `setup.py` file is removed. If you relied on this file, e.g. to install pytest using `setup.py install`, please see `Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>`\_ for alternatives. - `#&#8203;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. - `#&#8203;996 <https://github.com/pytest-dev/pytest-xdist/issues/996>`\_: Adjusted license file format and content to ensure security scanners will identity the license. </details> --- ### Configuration 📅 **Schedule**: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) in timezone America/New_York, Automerge - Only on Sunday and Saturday ( * * * * 0,6 ) in timezone America/New_York. 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My40LjIiLCJ1cGRhdGVkSW5WZXIiOiI0My40LjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
chrisw-b closed this pull request 2026-02-08 10:58:36 -05:00
Author
Collaborator

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (==3.8.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

### Renovate Ignore Notification Because you closed this PR without merging, Renovate will ignore this update (`==3.8.0`). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the `ignoreDeps` array of your Renovate config. If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chrisw-b/bkwrm-container!155
No description provided.