Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: restrict uvicorn version to avoid notebook creation issues (#6453) (#6467)

Myles Scolnick4c17a0edf644
diff --git a/pyproject.toml b/pyproject.toml
index 084134a478..76f7ea67e1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -27,7 +27,8 @@ dependencies = [
"pyyaml>=6.0",
# web server
# - 0.22.0 introduced timeout-graceful-shutdown, which we use
- "uvicorn >= 0.22.0",
+ # - 0.36.0 fails to create new notebooks, see https://github.com/marimo-team/marimo/issues/6453
+ "uvicorn>=0.22.0,<0.36.0",
# web framework
# - 0.29.0 introduced Middleware kwargs, which we use
# - starlette 0.36.0 introduced a bug