From 8837aa03cf470669746b43d8849d108c4b0ed760 Mon Sep 17 00:00:00 2001 From: RKI | Metadata Exchange <121876825+RKIMetadataExchange@users.noreply.github.com> Date: Wed, 8 May 2024 11:19:31 +0200 Subject: [PATCH] Update dependency dev/pytest-xdist to v3.6.1 (#171) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [dev/pytest-xdist](https://togithub.com/pytest-dev/pytest-xdist) ([changelog](https://pytest-xdist.readthedocs.io/en/latest/changelog.html)) | project.optional-dependencies | minor | `==3.5.0` -> `==3.6.1` | --- ### Release Notes
pytest-dev/pytest-xdist (dev/pytest-xdist) ### [`v3.6.1`](https://togithub.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-361-2024-04-28) [Compare Source](https://togithub.com/pytest-dev/pytest-xdist/compare/v3.6.0...v3.6.1) \=============================== ## Bug Fixes - `#​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://togithub.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-360-2024-04-19) [Compare Source](https://togithub.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 - `#​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](https://togithub.com/pytest-dev/pytest-xdist/issues/620) [#​620](https://togithub.com/pytest-dev/pytest-xdist/issues/620)\`\__). ## Bug Fixes - `#​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. - `#​1028 `\_: Fixed compatibility issue between `looponfail` and editable installs. - `#​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. - `#​937 `\_: Fixed a bug where plugin would raise an incompatibility error with `--pdb` despite using `-n0`. ## Removals - `#​1053 `\_: Dropped support for Python 3.7. - `#​1057 `\_: pytest>=7.0.0 is now required. execnet>=2.1.0 is now required. ## Trivial Changes - `#​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 `\_ for alternatives. - `#​1057 `\_: The internals of pytest-xdist are now fully typed. The typing is not exposed yet. - `#​996 `\_: Adjusted license file format and content to ensure security scanners will identity the license.
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --- pdm.lock | 14 +++++++------- pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pdm.lock b/pdm.lock index e653d508..27725f03 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "dev"] strategy = ["cross_platform", "inherit_metadata"] lock_version = "4.4.1" -content_hash = "sha256:ea7ac7dda4b61331b32cb4547bba8fd3c58a720ab30926b39fa5d8972f2de5dc" +content_hash = "sha256:90dc56b4f6c9e819971f3a7bd7685ebb6acdca888543fa679eb7f67c59dfc5cf" [[package]] name = "alabaster" @@ -863,17 +863,17 @@ files = [ [[package]] name = "pytest-xdist" -version = "3.5.0" -requires_python = ">=3.7" +version = "3.6.1" +requires_python = ">=3.8" summary = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs" groups = ["dev"] dependencies = [ - "execnet>=1.1", - "pytest>=6.2.0", + "execnet>=2.1", + "pytest>=7.0.0", ] files = [ - {file = "pytest-xdist-3.5.0.tar.gz", hash = "sha256:cbb36f3d67e0c478baa57fa4edc8843887e0f6cfc42d677530a36d7472b32d8a"}, - {file = "pytest_xdist-3.5.0-py3-none-any.whl", hash = "sha256:d075629c7e00b611df89f490a5063944bee7a4362a5ff11c7cc7824a03dfce24"}, + {file = "pytest_xdist-3.6.1-py3-none-any.whl", hash = "sha256:9ed4adfb68a016610848639bb7e02c9352d5d9f03d04809919e2dafc3be4cca7"}, + {file = "pytest_xdist-3.6.1.tar.gz", hash = "sha256:ead156a4db231eec769737f57668ef58a2084a34b2e55c4a8fa20d861107300d"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 0d985c3f..48728963 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ optional-dependencies.dev = [ "pandas-stubs==2.2.1.240316", "pytest-cov==4.1.0", "pytest-random-order==1.1.1", - "pytest-xdist==3.5.0", + "pytest-xdist==3.6.1", "pytest==8.1.1", "ruff==0.3.5", "sphinx==7.2.6",