Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

fix: pin anyio to <4.14.0 to fix RuntimeError on Python 3.13 (#6546)

MUHAMED FAZAL PSf10e47fc5177
diff --git a/studio/backend/requirements/no-torch-runtime.txt b/studio/backend/requirements/no-torch-runtime.txt
index 6efe91d4487..b0157cfea05 100644
--- a/studio/backend/requirements/no-torch-runtime.txt
+++ b/studio/backend/requirements/no-torch-runtime.txt
@@ -56,7 +56,7 @@ httpx
httpcore
certifi
idna
-anyio
+anyio>=3.0,<4.14.0 # 4.14+ breaks cancel scope on Py3.13 (#6483)
sniffio
h11
diff --git a/studio/backend/requirements/single-env/constraints.txt b/studio/backend/requirements/single-env/constraints.txt
index 156f78567e8..aad4c386642 100644
--- a/studio/backend/requirements/single-env/constraints.txt
+++ b/studio/backend/requirements/single-env/constraints.txt
@@ -13,4 +13,8 @@ fastmcp>=3.0.2
mcp>=1.24,<2
websockets>=15.0.1
+# anyio 4.14+ breaks cancel scope on Python 3.13 (#6483). Global cap so later
+# with-deps steps (studio.txt, data-designer-deps.txt) can't re-resolve it up.
+anyio<4.14.0
+
pandas==2.3.3