Skip to content

Commit 70f47e6

Browse files
build(deps-dev): bump anyio from 4.1.0 to 4.2.0 (#1736)
* build(deps-dev): bump anyio from 4.1.0 to 4.2.0 Bumps [anyio](https://github.com/agronholm/anyio) from 4.1.0 to 4.2.0. - [Release notes](https://github.com/agronholm/anyio/releases) - [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst) - [Commits](agronholm/anyio@4.1.0...4.2.0) --- updated-dependencies: - dependency-name: anyio dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update asserts.py * Update test_reader_future_result.py --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
1 parent 749db33 commit 70f47e6

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

poetry.lock

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ typing-extensions = ">=4.0,<5.0"
5252
mypy = { version = ">=1.5,<1.6", optional = true }
5353

5454
[tool.poetry.dev-dependencies]
55-
anyio = "^4.1"
55+
anyio = "^4.2"
5656
trio = "^0.23"
5757
attrs = "^23.1"
5858
httpx = "^0.25"

returns/primitives/asserts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def _convert(container, *, deps, backend: str):
3737
import anyio
3838

3939
return _convert(
40-
anyio.run(container.awaitable, backend=backend),
40+
anyio.run(container.awaitable, backend=backend), # type: ignore
4141
deps=deps,
4242
backend=backend,
4343
)

tests/test_examples/test_context/test_reader_future_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def factory(post: _Post) -> str:
6767
future_result = managed_httpx(
6868
FutureResultE.from_value(httpx.AsyncClient(timeout=5)),
6969
)
70-
print(anyio.run(future_result.awaitable)) # noqa: WPS421
70+
print(anyio.run(future_result.awaitable)) # type: ignore # noqa: WPS421
7171
# <IOResult: <Success: (
7272
# 'sunt aut facere repellat provident occaecati ...',
7373
# 'qui est esse',

0 commit comments

Comments
 (0)