diff --git a/poetry.lock b/poetry.lock index f505799da..55f4ba85d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -13,19 +13,20 @@ files = [ [[package]] name = "anyio" -version = "4.1.0" +version = "4.2.0" description = "High level compatibility layer for multiple asynchronous event loop implementations" optional = false python-versions = ">=3.8" files = [ - {file = "anyio-4.1.0-py3-none-any.whl", hash = "sha256:56a415fbc462291813a94528a779597226619c8e78af7de0507333f700011e5f"}, - {file = "anyio-4.1.0.tar.gz", hash = "sha256:5a0bec7085176715be77df87fc66d6c9d70626bd752fcc85f57cdbee5b3760da"}, + {file = "anyio-4.2.0-py3-none-any.whl", hash = "sha256:745843b39e829e108e518c489b31dc757de7d2131d53fac32bd8df268227bfee"}, + {file = "anyio-4.2.0.tar.gz", hash = "sha256:e1875bb4b4e2de1669f4bc7869b6d3f54231cdced71605e6e64c9be77e3be50f"}, ] [package.dependencies] exceptiongroup = {version = ">=1.0.2", markers = "python_version < \"3.11\""} idna = ">=2.8" sniffio = ">=1.1" +typing-extensions = {version = ">=4.1", markers = "python_version < \"3.11\""} [package.extras] doc = ["Sphinx (>=7)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] @@ -2499,4 +2500,4 @@ compatible-mypy = ["mypy"] [metadata] lock-version = "2.0" python-versions = ">= 3.8.1,<4.0" -content-hash = "3941fc1b4ddae4acd2de68cf0140df2d81d2833c460cebfa26c5f7d6ce8e335a" +content-hash = "1811e5d08d049c900ded7a7932d4cfbd30891c39f7f9924ab5aedcdc7051aee4" diff --git a/pyproject.toml b/pyproject.toml index 8f2a58fda..6363feb6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/returns/primitives/asserts.py b/returns/primitives/asserts.py index dfc3cd21b..cb06ad8fb 100644 --- a/returns/primitives/asserts.py +++ b/returns/primitives/asserts.py @@ -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, ) diff --git a/tests/test_examples/test_context/test_reader_future_result.py b/tests/test_examples/test_context/test_reader_future_result.py index f1ffdbb07..9d474f73b 100644 --- a/tests/test_examples/test_context/test_reader_future_result.py +++ b/tests/test_examples/test_context/test_reader_future_result.py @@ -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 #