This repository was archived by the owner on Jul 10, 2025. It is now read-only.
chore(deps): update dependency pytest-xdist to v3 #116
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:
==2.5.0->==3.3.1Release Notes
pytest-dev/pytest-xdist
v3.3.1Compare Source
===============================
Bug Fixes
#​907 <https://github.com/pytest-dev/pytest-xdist/issues/907>_: Avoid remote calls during startup asexecnetby default does not ensure remote affinity with themain thread and might accidentally schedule the pytest worker into a non-main thread, which breaks numerous frameworks,
for example
asyncio,anyio,PyQt/PySide, etc.A more safe correction will require thread affinity in
execnet(pytest-dev/execnet#​96 <https://github.com/pytest-dev/execnet/issues/96>__).v3.3.0Compare Source
===============================
Features
#​555 <https://github.com/pytest-dev/pytest-xdist/issues/555>_: Improved progress output when collecting nodes to be less verbose.v3.2.1Compare Source
===============================
Bug Fixes
#​884 <https://github.com/pytest-dev/pytest-xdist/issues/884>_: Fixed hang inworkstealscheduler.v3.2.0Compare Source
===============================
Improved Documentation
#​863 <https://github.com/pytest-dev/pytest-xdist/issues/863>_: Document limitations for debugging due to standard I/O of workers not being forwarded. Also, mention remote debugging as a possible workaround.Features
#​855 <https://github.com/pytest-dev/pytest-xdist/issues/855>_: Users can now configureloadscheduling precision using--maxschedchunkcommandline option.
#​858 <https://github.com/pytest-dev/pytest-xdist/issues/858>: Newworkstealscheduler, based on the idea ofwork stealing <https://en.wikipedia.org/wiki/Work_stealing>. It's similar toloadscheduler, but it should handle tests with significantly differing duration better, and, at the same time, it should provide similar or better reuse of fixtures.Trivial Changes
#​870 <https://github.com/pytest-dev/pytest-xdist/issues/870>_: Make the tests pass even when$PYTEST_XDIST_AUTO_NUM_WORKERSis set.v3.1.0Compare Source
===============================
Features
#​789 <https://github.com/pytest-dev/pytest-xdist/issues/789>_: Users can now set a default distribution mode in their configuration file:.. code-block:: ini
#​842 <https://github.com/pytest-dev/pytest-xdist/issues/842>_: Python 3.11 is now officially supported.Removals
#​842 <https://github.com/pytest-dev/pytest-xdist/issues/842>_: Python 3.6 is no longer supported.v3.0.2Compare Source
===============================
Bug Fixes
#​813 <https://github.com/pytest-dev/pytest-xdist/issues/813>_: Cancel shutdown when a crashed worker is restarted.Deprecations
#​825 <https://github.com/pytest-dev/pytest-xdist/issues/825>_: The--rsyncdircommand line argument andrsyncdirsconfig variable are deprecated.The rsync feature will be removed in pytest-xdist 4.0.
#​826 <https://github.com/pytest-dev/pytest-xdist/issues/826>_: The--looponfailcommand line argument andlooponfailrootsconfig variable are deprecated.The loop-on-fail feature will be removed in pytest-xdist 4.0.
Improved Documentation
#​791 <https://github.com/pytest-dev/pytest-xdist/issues/791>_: Document thepytest_xdist_auto_num_workershook.#​796 <https://github.com/pytest-dev/pytest-xdist/issues/796>_: Added known limitations section to documentation.#​829 <https://github.com/pytest-dev/pytest-xdist/issues/829>_: Document the-n logicaloption.Features
#​792 <https://github.com/pytest-dev/pytest-xdist/issues/792>_: The environment variablePYTEST_XDIST_AUTO_NUM_WORKERScan now be used tospecify the default for
-n autoand-n logical.#​812 <https://github.com/pytest-dev/pytest-xdist/issues/812>_: Partially restore old initial batch distribution algorithm inLoadScheduling.pytest orders tests for optimal sequential execution - i. e. avoiding
unnecessary setup and teardown of fixtures. So executing tests in consecutive
chunks is important for optimal performance.
In v1.14, initial test distribution in
LoadSchedulingwas changed toround-robin, optimized for the corner case, when the number of tests is less
than
2 * number of nodes. At the same time, it became worse for all othercases.
For example: if some tests use some "heavy" fixture, and these tests fit into
the initial batch, with round-robin distribution the fixture will be created
min(n_tests, n_workers)times, no matter how many other tests there are.With the old algorithm (before v1.14), if there are enough tests not using
the fixture, the fixture was created only once.
So restore the old behavior for typical cases where the number of tests is
much greater than the number of workers (or, strictly speaking, when there
are at least 2 tests for every node).
Removals
#​468 <https://github.com/pytest-dev/pytest-xdist/issues/468>_: The--boxedcommand-line option has been removed. If you still need this functionality, installpytest-forked <https://pypi.org/project/pytest-forked>__ separately.Trivial Changes
#​468 <https://github.com/pytest-dev/pytest-xdist/issues/468>_: Thepydependency has been dropped.#​822 <https://github.com/pytest-dev/pytest-xdist/issues/822>_: Replace internal usage ofpy.logwith a custom solution (but with the same interface).#​823 <https://github.com/pytest-dev/pytest-xdist/issues/823>_: Remove usage ofpy._pydiras an rsync candidate.#​824 <https://github.com/pytest-dev/pytest-xdist/issues/824>_: Replace internal usages ofpy.path.localbypathlib.Path.Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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 has been generated by Mend Renovate. View repository job log here.