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 additional lsp feature-flag check (#4654)

Myles Scolnick72353698dd55
diff --git a/marimo/_server/api/auth.py b/marimo/_server/api/auth.py
index cc672fabca..b5e4a99e8e 100644
--- a/marimo/_server/api/auth.py
+++ b/marimo/_server/api/auth.py
@@ -34,7 +34,6 @@ TOKEN_QUERY_PARAM = "access_token"
def validate_auth(
conn: HTTPConnection, form_dict: Optional[dict[str, str]] = None
) -> bool:
- LOGGER.debug("Validating auth")
state = AppState.from_app(conn.app)
auth_token = str(state.session_manager.auth_token)
diff --git a/marimo/_server/lsp.py b/marimo/_server/lsp.py
index 995c671539..c962300d8e 100644
--- a/marimo/_server/lsp.py
+++ b/marimo/_server/lsp.py
@@ -180,8 +180,8 @@ class PyLspServer(BaseLspServer):
def start(self) -> Optional[Alert]:
# pylsp is not required, so we don't want to alert or fail if it is not installed
if not DependencyManager.pylsp.has():
+ LOGGER.debug("pylsp is not installed. Skipping LSP server.")
return None
-
return super().start()
def validate_requirements(self) -> Union[str, Literal[True]]:
@@ -256,10 +256,6 @@ class CompositeLspServer(LspServer):
copilot = config["completion"]["copilot"]
return copilot is True or copilot == "github"
- # If flag not enabled, return False
- if not config.get("experimental", {}).get("lsp", False):
- return False
-
return cast(
bool,
cast(Any, config.get("language_servers", {}))
diff --git a/pyproject.toml b/pyproject.toml
index 3900caa7b8..aa71cab4f1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -512,8 +512,6 @@ format_on_save = true
[tool.marimo.experimental]
multi_column = true
chat_sidebar = true
-# Very experimental!
-lsp = true
[tool.marimo.display]
dataframes = "rich"