Skip to content

Commit

Permalink
build(deps-dev): bump pytest-asyncio from 0.23.7 to 0.24.0 (#146)
Browse files Browse the repository at this point in the history
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio)
from 0.23.7 to 0.24.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest-asyncio/releases">pytest-asyncio's
releases</a>.</em></p>
<blockquote>
<h2>pytest-asyncio 0.24.0</h2>
<h1>0.24.0 (2024-08-22)</h1>
<ul>
<li>BREAKING: Updated minimum supported pytest version to v8.2.0</li>
<li>Adds an optional <em>loop_scope</em> keyword argument to
<em>pytest.mark.asyncio</em>. This argument controls which event loop is
used to run the marked async test. <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>,
<a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/871">#871</a></li>
<li>Deprecates the optional <em>scope</em> keyword argument to
<em>pytest.mark.asyncio</em> for API consistency with
<code>pytest_asyncio.fixture</code>. Users are encouraged to use the
<em>loop_scope</em> keyword argument, which does exactly the same.</li>
<li>Raises an error when passing <em>scope</em> or <em>loop_scope</em>
as a positional argument to <code>@pytest.mark.asyncio</code>. <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/812">#812</a></li>
<li>Fixes a bug that caused module-scoped async fixtures to fail when
reused in other modules <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/862">#862</a>
<a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/668">#668</a></li>
</ul>
<h2>pytest-asyncio 0.24.0a1</h2>
<h1>0.24.0 (UNRELEASED)</h1>
<ul>
<li>BREAKING: Updated minimum supported pytest version to v8.2.0</li>
<li>Adds an optional <em>loop_scope</em> keyword argument to
<em>pytest.mark.asyncio</em>. This argument controls which event loop is
used to run the marked async test. <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>,
<a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/871">#871</a></li>
<li>Deprecates the optional <em>scope</em> keyword argument to
<em>pytest.mark.asyncio</em> for API consistency with
<code>pytest_asyncio.fixture</code>. Users are encouraged to use the
<em>loop_scope</em> keyword argument, which does exactly the same.</li>
<li>Raises an error when passing <em>scope</em> or <em>loop_scope</em>
as a positional argument to <code>@pytest.mark.asyncio</code>. <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/812">#812</a></li>
<li>Fixes a bug that caused module-scoped async fixtures to fail when
reused in other modules <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/862">#862</a>
<a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/668">#668</a></li>
</ul>
<h2>pytest-asyncio 0.24.0a0</h2>
<h1>0.24.0 (UNRELEASED)</h1>
<ul>
<li>Adds an optional <em>loop_scope</em> keyword argument to
<em>pytest.mark.asyncio</em>. This argument controls which event loop is
used to run the marked async test. <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>,
<a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/871">#871</a></li>
<li>Deprecates the optional <em>scope</em> keyword argument to
<em>pytest.mark.asyncio</em> for API consistency with
<code>pytest_asyncio.fixture</code>. Users are encouraged to use the
<em>loop_scope</em> keyword argument, which does exactly the same.</li>
<li>Raises an error when passing <em>scope</em> or <em>loop_scope</em>
as a positional argument to <code>@pytest.mark.asyncio</code>. <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/812">#812</a></li>
</ul>
<h2>pytest-asyncio 0.23.8</h2>
<h1>0.23.8 (2024-07-17)</h1>
<ul>
<li>Fixes a bug that caused duplicate markers in async tests <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/813">#813</a></li>
</ul>
<h2>Known issues</h2>
<p>As of v0.23, pytest-asyncio attaches an asyncio event loop to each
item of the test suite (i.e. session, packages, modules, classes,
functions) and allows tests to be run in those loops when marked
accordingly. Pytest-asyncio currently assumes that async fixture scope
is correlated with the new event loop scope. This prevents fixtures from
being evaluated independently from the event loop scope and breaks some
existing test suites (see <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>).
For example, a test suite may require all fixtures and tests to run in
the same event loop, but have async fixtures that are set up and torn
down for each module. If you're affected by this issue, please continue
using the v0.21 release, until it is resolved.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/fb5422f94d4a85b8f2a0ea2731f5ebeae5fcd7e8"><code>fb5422f</code></a>
docs: Set release date for v0.24 in changelog.</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/6dc7f584e71476c09393cca65c813c624ecc5882"><code>6dc7f58</code></a>
docs: Add migration guides for pytest-asyncio v0.21 and v0.23.</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/1bfc18164693026d897ebb48ed6e72d85d87fa44"><code>1bfc181</code></a>
Wire Sphinx builds into the RTD config via tox</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/f03cf13b05f08b8a27f9f33ae578d1caec896d72"><code>f03cf13</code></a>
Build(deps): Bump hypothesis in /dependencies/default</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/69540bfae3865ebb0395a549cf469fb07c04c08a"><code>69540bf</code></a>
Build(deps): Bump attrs from 24.1.0 to 24.2.0 in
/dependencies/default</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/b0ccfc5c5c196bec373fab247565e0158ff39582"><code>b0ccfc5</code></a>
Build(deps): Bump hypothesis in /dependencies/default</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/574f1db6869146163cd21b65545494cf517712e2"><code>574f1db</code></a>
Build(deps): Bump babel from 2.15.0 to 2.16.0 in /dependencies/docs</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/ae30dac2f7b9af62f3ef7ef614a5c99284a94271"><code>ae30dac</code></a>
Update .readthedocs.yaml to install pytest-asyncio</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/972a7045adcaff98a151ec632a9205497afe373d"><code>972a704</code></a>
Derive project version using importlib</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/d587a521a4aab33275c1352f7832e5e21c4bab93"><code>d587a52</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.7...v0.24.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-asyncio&package-manager=pip&previous-version=0.23.7&new-version=0.24.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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>
  • Loading branch information
dependabot[bot] committed Sep 17, 2024
1 parent ecbbbce commit 1e45467
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ quart = "^0.19.4"
pytest = "^8.3.2"
pytest-cov = "^5.0.0"
pytest-timeout = "^2.3.1"
pytest-asyncio = "^0.23.7"
pytest-asyncio = "^0.24.0"
simple-websocket = "^1.0.0"
torch = [
# Install the CUDA version on Windows. Projects that depend on us always get their dependencies from PyPI, so
Expand Down

0 comments on commit 1e45467

Please sign in to comment.