Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update pytest-xdist requirement from <3.0.0,>=1.28.0 to >=1.28.0,<4.0.0 #808

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 26, 2022

Updates the requirements on pytest-xdist to permit the latest version.

Changelog

Sourced from pytest-xdist's changelog.

pytest-xdist 3.0.2 (2022-10-25)

Bug Fixes

  • [#813](https://github.com/pytest-dev/pytest-xdist/issues/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) <https://github.com/pytest-dev/pytest-xdist/issues/825>_: The --rsyncdir command line argument and rsyncdirs config variable are deprecated.

    The rsync feature will be removed in pytest-xdist 4.0.

  • [#826](https://github.com/pytest-dev/pytest-xdist/issues/826) <https://github.com/pytest-dev/pytest-xdist/issues/826>_: The --looponfail command line argument and looponfailroots config 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) <https://github.com/pytest-dev/pytest-xdist/issues/791>_: Document the pytest_xdist_auto_num_workers hook.

  • [#796](https://github.com/pytest-dev/pytest-xdist/issues/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) <https://github.com/pytest-dev/pytest-xdist/issues/829>_: Document the -n logical option.

Features

  • [#792](https://github.com/pytest-dev/pytest-xdist/issues/792) <https://github.com/pytest-dev/pytest-xdist/issues/792>_: The environment variable PYTEST_XDIST_AUTO_NUM_WORKERS can now be used to specify the default for -n auto and -n logical.

  • [#812](https://github.com/pytest-dev/pytest-xdist/issues/812) <https://github.com/pytest-dev/pytest-xdist/issues/812>_: Partially restore old initial batch distribution algorithm in LoadScheduling.

    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 LoadScheduling was changed to round-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 other cases.

    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

... (truncated)

Commits
  • eed37d4 Update CHANGELOG
  • 3e9284b Merge remote-tracking branch 'upstream/master' into release-3.0.0
  • ccdab72 Merge pull request #831 from pytest-dev/fix-setup
  • 0c981d3 fix and update packaging
  • 38dcf52 Release 3.0.1
  • f2633f1 Fetch all tags, as required by setuptools-scm
  • 1921931 Update CHANGELOG for 3.0
  • 0f58a14 Fix towncrier command for latest version
  • bd23c24 Fix changelog fragments
  • 794f28b Use modern syntax for towncrier
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 26, 2022
@dependabot dependabot bot requested review from ascillitoe, jklaise and mauicv October 26, 2022 00:01
@codecov
Copy link

codecov bot commented Oct 26, 2022

Codecov Report

Merging #808 (bb5769d) into master (1ba9ead) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #808   +/-   ##
=======================================
  Coverage   76.37%   76.37%           
=======================================
  Files          73       73           
  Lines        8477     8477           
=======================================
  Hits         6474     6474           
  Misses       2003     2003           
Flag Coverage Δ
macos-latest-3.10 76.24% <ø> (?)
ubuntu-latest-3.10 76.24% <ø> (-0.10%) ⬇️
ubuntu-latest-3.7 76.09% <ø> (ø)
ubuntu-latest-3.8 76.14% <ø> (-0.10%) ⬇️
ubuntu-latest-3.9 76.14% <ø> (ø)
windows-latest-3.9 73.90% <ø> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Updates the requirements on [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases)
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-xdist@v1.28.0...v3.0.2)

---
updated-dependencies:
- dependency-name: pytest-xdist
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-xdist-gte-1.28.0-and-lt-4.0.0 branch from bd0e6de to bb5769d Compare November 9, 2022 09:47
@ascillitoe ascillitoe merged commit 5f91bf5 into master Nov 14, 2022
@dependabot dependabot bot deleted the dependabot/pip/pytest-xdist-gte-1.28.0-and-lt-4.0.0 branch November 14, 2022 11:20
RobertSamoilescu pushed a commit to RobertSamoilescu/alibi that referenced this pull request Jan 4, 2023
….0 (SeldonIO#808)

Updates the requirements on [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases)
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-xdist@v1.28.0...v3.0.2)

---
updated-dependencies:
- dependency-name: pytest-xdist
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant