Skip to content

Commit 00ea032

Browse files
Update pytest-xdist requirement from 3.2.1 to 3.6.1 in /backend (#1079)
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Updates the requirements on [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst">pytest-xdist's changelog</a>.</em></p> <blockquote> <h1>pytest-xdist 3.6.1 (2024-04-28)</h1> <h2>Bug Fixes</h2> <ul> <li><code>[#1071](pytest-dev/pytest-xdist#1071) &lt;https://github.com/pytest-dev/pytest-xdist/issues/1071&gt;</code>_: Add backward compatibility for deadlock issue with the <code>execnet</code> new <code>main_thread_only</code> &quot;execmodel&quot; triggered when pytest-cov accesses rinfo.</li> </ul> <h1>pytest-xdist 3.6.0 (2024-04-19)</h1> <p>This release was YANKED due to a regression fixed in 3.6.1.</p> <h2>Features</h2> <ul> <li><code>[#1027](pytest-dev/pytest-xdist#1027) &lt;https://github.com/pytest-dev/pytest-xdist/pull/1027&gt;</code>_:<code>pytest-xdist</code> workers now always execute the tests in the main thread. Previously some tests might end up executing in a separate thread other than <code>main</code> in the workers, due to some internal <code>execnet`` details. This can cause problems specially with async frameworks where the event loop is running in the ``main`` thread (for example </code><a href="https://redirect.github.com/pytest-dev/pytest-xdist/issues/620">#620</a> <a href="https://redirect.github.com/pytest-dev/pytest-xdist/issues/620">pytest-dev/pytest-xdist#620</a>`__).</li> </ul> <h2>Bug Fixes</h2> <ul> <li> <p><code>[#1024](pytest-dev/pytest-xdist#1024) &lt;https://github.com/pytest-dev/pytest-xdist/issues/1024&gt;</code>_: Added proper handling of <code>shouldstop</code> (such as set by <code>--max-fail</code>) and <code>shouldfail</code> conditions in workers. Previously, a worker might have continued executing further tests before the controller could terminate the session.</p> </li> <li> <p><code>[#1028](pytest-dev/pytest-xdist#1028) &lt;https://github.com/pytest-dev/pytest-xdist/issues/1028&gt;</code>_: Fixed compatibility issue between <code>looponfail</code> and editable installs.</p> </li> <li> <p><code>[#620](pytest-dev/pytest-xdist#620) &lt;https://github.com/pytest-dev/pytest-xdist/issues/620&gt;</code>_: Use the new <code>main_thread_only</code> <code>execnet</code> &quot;execmodel&quot; so that code which expects to only run in the main thread will now work as expected.</p> </li> <li> <p><code>[#937](pytest-dev/pytest-xdist#937) &lt;https://github.com/pytest-dev/pytest-xdist/issues/937&gt;</code>_: Fixed a bug where plugin would raise an incompatibility error with <code>--pdb</code> despite using <code>-n0</code>.</p> </li> </ul> <h2>Removals</h2> <ul> <li> <p><code>[#1053](pytest-dev/pytest-xdist#1053) &lt;https://github.com/pytest-dev/pytest-xdist/issues/1053&gt;</code>_: Dropped support for Python 3.7.</p> </li> <li> <p><code>[#1057](pytest-dev/pytest-xdist#1057) &lt;https://github.com/pytest-dev/pytest-xdist/issues/1057&gt;</code>_: pytest&gt;=7.0.0 is now required.</p> <p>execnet&gt;=2.1.0 is now required.</p> </li> </ul> <h2>Trivial Changes</h2> <ul> <li> <p><code>[#1020](pytest-dev/pytest-xdist#1020) &lt;https://github.com/pytest-dev/pytest-xdist/issues/1020&gt;</code>_: pytest-xdist's <code>setup.py</code> file is removed.</p> <p>If you relied on this file, e.g. to install pytest using <code>setup.py install</code>, please see <code>Why you shouldn't invoke setup.py directly &lt;https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary&gt;</code>_ for alternatives.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-xdist/commit/4dd2978031eaf7017c84a1cc77667379a2b11c64"><code>4dd2978</code></a> Release 3.6.1</li> <li><a href="https://github.com/pytest-dev/pytest-xdist/commit/b397288b7ed40ac8c55a173566bb881e0adcb546"><code>b397288</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest-xdist/issues/1072">#1072</a> from zmedico/gateway-cache-rinfo</li> <li><a href="https://github.com/pytest-dev/pytest-xdist/commit/12b3cce0ce4f4cffcc35c0e8369759b71b32c0cc"><code>12b3cce</code></a> Cache execnet gateway rinfo during WorkerController setup</li> <li><a href="https://github.com/pytest-dev/pytest-xdist/commit/c93a106b3ad466e22d19d814394de0422adf4dca"><code>c93a106</code></a> build(deps): bump hynek/build-and-inspect-python-package (<a href="https://redirect.github.com/pytest-dev/pytest-xdist/issues/1066">#1066</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-xdist/commit/52e202263827775ad6bcf18a216000aec4412911"><code>52e2022</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest-xdist/issues/1073">#1073</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-xdist/commit/699f939b5cc2d61df9f622d0449a590be216ee7a"><code>699f939</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest-xdist/issues/1070">#1070</a> from pytest-dev/release-3.6.0</li> <li><a href="https://github.com/pytest-dev/pytest-xdist/commit/80bc0b8e5be6e256c8f49791e08abd5fa2d2d3a2"><code>80bc0b8</code></a> Release 3.6.0</li> <li><a href="https://github.com/pytest-dev/pytest-xdist/commit/20e3ac774e8fa34b25665ef183b94c9879f98cd1"><code>20e3ac7</code></a> Use execnet main_thread_only execmodel (<a href="https://redirect.github.com/pytest-dev/pytest-xdist/issues/1027">#1027</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-xdist/commit/0a4238f6da367a9133882d8810a3b556837cb5ae"><code>0a4238f</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest-xdist/issues/1067">#1067</a> from pytest-dev/pre-commit-ci-update-config</li> <li><a href="https://github.com/pytest-dev/pytest-xdist/commit/068627994f91068fb27269be421385c7cd3ab201"><code>0686279</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-xdist/compare/v3.2.1...v3.6.1">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 197d226 commit 00ea032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pylint = "3.3.1"
4040
pytest = "8.3.4"
4141
pytest-asyncio = "0.21.2"
4242
pytest-cov = "4.0.0"
43-
pytest-xdist = "3.2.1"
43+
pytest-xdist = "3.6.1"
4444
ruff = "0.9.1"
4545
vulture = "2.14"
4646

0 commit comments

Comments
 (0)