Replace asyncio.wait_for with async-timeout (#480)

asyncio.wait_for has some underlying problems that are only fixed in cpython 3.12.

Use async_timeout instead until the minimum supported version is 3.11+ and it can be replaced with asyncio.timeout

See https://github.com/python/cpython/pull/98518
This commit is contained in:
J. Nick Koston
2023-07-21 04:50:54 -05:00
committed by GitHub
parent c9faa1f78f
commit 117a7ac64a
3 changed files with 23 additions and 5 deletions

View File

@@ -34,6 +34,7 @@ sphinx_rtd_theme = { version = "^0", optional = true }
sphinxcontrib-programoutput = { version = "^0", optional = true }
myst-parser = { version = "*", optional = true }
docutils = { version = ">=0.17", optional = true }
async-timeout = ">=3.0.0"
[tool.poetry.dev-dependencies]
pytest = "*"