chore(deps): update dependency pytest-xdist to v3.8.0 #48
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.3.1→3.8.0Release Notes
pytest-dev/pytest-xdist (pytest-xdist)
v3.8.0Compare Source
===============================
Features
#​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.
v3.7.0Compare Source
===============================
Features
#​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>_: 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>_: 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>_: 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>_: Dropped support for EOL Python 3.8.Trivial Changes
#​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>_: Switched to using a SPDX license identifier introduced in PEP 639.v3.6.1Compare Source
===============================
Bug Fixes
#​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.v3.6.0Compare Source
===============================
This release was YANKED due to a regression fixed in 3.6.1.
Features
#​1027 <https://github.com/pytest-dev/pytest-xdist/pull/1027>_:pytest-xdistworkers now always execute the tests in the main thread.Previously some tests might end up executing in a separate thread other than
mainin 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 #620`__).Bug Fixes
#​1024 <https://github.com/pytest-dev/pytest-xdist/issues/1024>_: Added proper handling ofshouldstop(such as set by--max-fail) andshouldfailconditions in workers.Previously, a worker might have continued executing further tests before the controller could terminate the session.
#​1028 <https://github.com/pytest-dev/pytest-xdist/issues/1028>_: Fixed compatibility issue betweenlooponfailand editable installs.#​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.#​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
#​1053 <https://github.com/pytest-dev/pytest-xdist/issues/1053>_: Dropped support for Python 3.7.#​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
#​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
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.#​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.#​996 <https://github.com/pytest-dev/pytest-xdist/issues/996>_: Adjusted license file format and content to ensure security scanners will identity the license.v3.5.0Compare Source
===============================
Features
#​632 <https://github.com/pytest-dev/pytest-xdist/issues/632>_:--dist=loadscopenow sorts scopes by number of tests to assign largest scopes early -- in many cases this should improve overall test session running time, as there is less chance of a large scope being left to be processed near the end of the session, leaving other workers idle.v3.4.0Compare Source
===============================
Features
#​963 <https://github.com/pytest-dev/pytest-xdist/issues/963>_: Wait for workers to finish reporting when test run stops early.This makes sure that the results of in-progress tests are displayed.
Previously these reports were being discarded, losing information about the
test run.
#​965 <https://github.com/pytest-dev/pytest-xdist/issues/965>_: Added support for Python 3.12.Configuration
📅 Schedule: Branch creation - Between 10:00 AM and 10:59 AM, only on Saturday ( * 10 * * SAT ) in timezone America/Chicago, Automerge - At any time (no schedule defined).
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.