Skip to content

Commit adb35bd

Browse files
fix: increase minimum versions for starlette and uvicorn
Increase minimum versions for starlette and uvicorn to avoid compatibility issues with lowest-direct dependency resolution. The previous minimum versions (starlette>=0.27, uvicorn>=0.31.1) allowed uvicorn 0.32.x which has a bug where uvicorn.loops.auto module is missing the auto_loop_setup attribute, causing test failures on Ubuntu runners. Updated to: - starlette>=0.40.0 (from 0.27) - uvicorn>=0.33.0 (from 0.31.1) This ensures lowest-direct resolution picks versions that are compatible with the current codebase. Github-Issue: #1325
1 parent 63363bf commit adb35bd

File tree

2 files changed

+955
-1007
lines changed

2 files changed

+955
-1007
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ dependencies = [
2626
"httpx>=0.27.1",
2727
"httpx-sse>=0.4",
2828
"pydantic>=2.11.0,<3.0.0",
29-
"starlette>=0.27",
29+
"starlette>=0.40.0",
3030
"python-multipart>=0.0.9",
3131
"sse-starlette>=1.6.1",
3232
"pydantic-settings>=2.5.2",
33-
"uvicorn>=0.31.1; sys_platform != 'emscripten'",
33+
"uvicorn>=0.33.0; sys_platform != 'emscripten'",
3434
"jsonschema>=4.20.0",
3535
"pywin32>=310; sys_platform == 'win32'",
3636
]

0 commit comments

Comments
 (0)