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: remove top-level typing_extension (#4094)

Myles Scolnickca6460bf4151
diff --git a/marimo/_utils/with_skip.py b/marimo/_utils/with_skip.py
index 12942c3ddb..0b6a542f5e 100644
--- a/marimo/_utils/with_skip.py
+++ b/marimo/_utils/with_skip.py
@@ -11,12 +11,11 @@ from typing import (
Union,
)
-from typing_extensions import Self
-
if TYPE_CHECKING:
from types import FrameType
from _typeshed import TraceFunction
+ from typing_extensions import Self
class SkipContext(ABC):
diff --git a/pyproject.toml b/pyproject.toml
index 62a91f4668..46e6d76fd4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -432,6 +432,7 @@ banned-module-level-imports = [
"ipython",
"anywidget",
"packaging",
+ "typing_extensions",
]
[tool.ruff.lint.flake8-pytest-style]