Starlette 0.52.0 ModuleNotFoundError on Python >= 3.13 #3108
Answered
by
Kludex
oefe
asked this question in
Potential Issue
-
|
Starlette 0.52.0 adds an dependencies = [
"anyio>=3.6.2,<5",
"typing_extensions>=4.10.0; python_version < '3.13'",
]
I found this while trying to run marimo: ❯ uvx --python 3.12 marimo --version
Installed 23 packages in 100ms
0.19.4
❯ uvx --python 3.13 marimo --version
Traceback (most recent call last):
File "/Users/martinaoefelein/.cache/uv/archive-v0/Z3z-bKX5iWmPL2nX4PJZt/bin/marimo", line 6, in <module>
from marimo._cli.cli import main
File "/Users/martinaoefelein/.cache/uv/archive-v0/Z3z-bKX5iWmPL2nX4PJZt/lib/python3.13/site-packages/marimo/_cli/cli.py", line 37, in <module>
from marimo._server.start import start
File "/Users/martinaoefelein/.cache/uv/archive-v0/Z3z-bKX5iWmPL2nX4PJZt/lib/python3.13/site-packages/marimo/_server/start.py", line 12, in <module>
import marimo._server.api.lifespans as lifespans
File "/Users/martinaoefelein/.cache/uv/archive-v0/Z3z-bKX5iWmPL2nX4PJZt/lib/python3.13/site-packages/marimo/_server/api/lifespans.py", line 11, in <module>
from marimo._server.ai.tools.tool_manager import setup_tool_manager
File "/Users/martinaoefelein/.cache/uv/archive-v0/Z3z-bKX5iWmPL2nX4PJZt/lib/python3.13/site-packages/marimo/_server/ai/tools/tool_manager.py", line 6, in <module>
from starlette.applications import (
Starlette, # noqa: TCH002 - required at runtime
)
File "/Users/martinaoefelein/.cache/uv/archive-v0/Z3z-bKX5iWmPL2nX4PJZt/lib/python3.13/site-packages/starlette/applications.py", line 9, in <module>
from starlette.middleware.base import BaseHTTPMiddleware
File "/Users/martinaoefelein/.cache/uv/archive-v0/Z3z-bKX5iWmPL2nX4PJZt/lib/python3.13/site-packages/starlette/middleware/base.py", line 9, in <module>
from starlette.requests import ClientDisconnect, Request
File "/Users/martinaoefelein/.cache/uv/archive-v0/Z3z-bKX5iWmPL2nX4PJZt/lib/python3.13/site-packages/starlette/requests.py", line 9, in <module>
from typing_extensions import TypeVar
ModuleNotFoundError: No module named 'typing_extensions' |
Beta Was this translation helpful? Give feedback.
Answered by
Kludex
Jan 18, 2026
Replies: 1 comment 2 replies
-
|
I'll fix in half an hour. Sorry. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Done. 👍