Skip to content

Commit

Permalink
⬆️ Update dependency pytest-xdist to v3.6.0 🔒 (#254)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pytest-xdist](https://togithub.com/pytest-dev/pytest-xdist)
([changelog](https://pytest-xdist.readthedocs.io/en/latest/changelog.html))
| `3.5.0` -> `3.6.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-xdist/3.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-xdist/3.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-xdist/3.5.0/3.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-xdist/3.5.0/3.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pytest-dev/pytest-xdist (pytest-xdist)</summary>

###
[`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)

\===============================

## 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://togithub.com/pytest-dev/pytest-xdist/issues/620)
[#&#8203;620](https://togithub.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 - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, 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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ixm-one/pytest-cmake-presets).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZTpkZXBlbmRlbmNpZXMiXX0=-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Apr 19, 2024
1 parent 41808ea commit dfa2c71
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dfa2c71

Please sign in to comment.