Skip to content

Commit 59642be

Browse files
fix: bump minimum anyio version to 4.10 to fix lowest-direct CI
anyio 4.5.0 has an internal inconsistency where its asyncio backend (_backends/_asyncio.py) tries to import RunFinishedError from _core/_exceptions, but that exception doesn't exist in version 4.5.0. This causes ImportError when tests try to set up fixtures with --resolution lowest-direct, which installs anyio 4.5.0 (the previous minimum version constraint). Bumping to anyio>=4.10 ensures lowest-direct resolution installs a version without this internal inconsistency. Github-Issue: #1325
1 parent 63363bf commit 59642be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.13",
2323
]
2424
dependencies = [
25-
"anyio>=4.5",
25+
"anyio>=4.10",
2626
"httpx>=0.27.1",
2727
"httpx-sse>=0.4",
2828
"pydantic>=2.11.0,<3.0.0",

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)