Skip to content

Conversation

@akshayka
Copy link
Contributor

uvicorn 0.36.0+ no longer uses asyncio's global event loop policy, and instead relies on an internal (configurable) loop factory. This broke Windows because uvicorn ignored our global policy.

This change adds compatibility for uvicorn 0.36.0+ by explicitly passing uvicorn our desired policy.

Fixes #6754

uvicorn 0.36.0+ no longer uses asyncio's global event loop policy, and
instead relies on an internal (configurable) loop factory. This broke
Windows because uvicorn ignored our global policy.

This change adds compatibility for uvicorn 0.36.0+ by explicitly passing
uvicorn our desired policy.
@vercel
Copy link

vercel bot commented Oct 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Oct 14, 2025 8:12pm

@akshayka akshayka added the bash-focus Area to focus on during release bug bash label Oct 14, 2025
@mscolnick mscolnick merged commit 15d3eaa into main Oct 15, 2025
44 of 49 checks passed
@mscolnick mscolnick deleted the aka/fix-uvicorn-0-36 branch October 15, 2025 02:26
@dmadisetti dmadisetti added the bug Something isn't working label Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bash-focus Area to focus on during release bug bash bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support uvicorn 0.37.0

4 participants