Skip to content

Commit

Permalink
build(deps-dev): bump anyio from 4.1.0 to 4.2.0 (#1736)
Browse files Browse the repository at this point in the history
* 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] <[email protected]>

* Update asserts.py

* Update test_reader_future_result.py

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikita Sobolev <[email protected]>
  • Loading branch information
dependabot[bot] and sobolevn authored Dec 18, 2023
1 parent 749db33 commit 70f47e6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 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 @@ -52,7 +52,7 @@ typing-extensions = ">=4.0,<5.0"
mypy = { version = ">=1.5,<1.6", optional = true }

[tool.poetry.dev-dependencies]
anyio = "^4.1"
anyio = "^4.2"
trio = "^0.23"
attrs = "^23.1"
httpx = "^0.25"
Expand Down
2 changes: 1 addition & 1 deletion returns/primitives/asserts.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def _convert(container, *, deps, backend: str):
import anyio

return _convert(
anyio.run(container.awaitable, backend=backend),
anyio.run(container.awaitable, backend=backend), # type: ignore
deps=deps,
backend=backend,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def factory(post: _Post) -> str:
future_result = managed_httpx(
FutureResultE.from_value(httpx.AsyncClient(timeout=5)),
)
print(anyio.run(future_result.awaitable)) # noqa: WPS421
print(anyio.run(future_result.awaitable)) # type: ignore # noqa: WPS421
# <IOResult: <Success: (
# 'sunt aut facere repellat provident occaecati ...',
# 'qui est esse',
Expand Down

0 comments on commit 70f47e6

Please sign in to comment.