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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
deps: better minimum resolutions (#7639)
Myles Scolnickc61a251a7455
diff --git a/marimo/_server/start.py b/marimo/_server/start.pyindex a5ac66f966..4e66ce91db 100644--- a/marimo/_server/start.py+++ b/marimo/_server/start.py@@ -48,24 +48,23 @@ def _execute_startup_command(def run_command() -> None:buffer = StartupLogsNotification(content="", status="start")- try:-- def write_to_all_sessions(- content: StartupLogsNotification,- buffer: StartupLogsNotification,- ) -> None:- for session in session_manager.sessions.values():- # Clear buffer if it has content- if buffer.content != "":- session.notify(buffer, from_consumer_id=None)- buffer = StartupLogsNotification(- content="", status="start"- )- session.notify(content, from_consumer_id=None)- else:- buffer.content += content.content- buffer.status = content.status+ def write_to_all_sessions(+ content: StartupLogsNotification,+ buffer: StartupLogsNotification,+ ) -> None:+ for session in session_manager.sessions.values():+ # Clear buffer if it has content+ if buffer.content != "":+ session.notify(buffer, from_consumer_id=None)+ buffer = StartupLogsNotification(+ content="", status="start"+ )+ session.notify(content, from_consumer_id=None)+ else:+ buffer.content += content.content+ buffer.status = content.status+ try:# Broadcast start message to all sessionswrite_to_all_sessions(StartupLogsNotification(content="", status="start"), bufferdiff --git a/pixi.lock b/pixi.lockindex c3c9c4e665..40a83282e5 100644--- a/pixi.lock+++ b/pixi.lock@@ -1131,7 +1131,7 @@ packages:- pypi: ./name: marimoversion: 0.18.4- sha256: 865acc3dac726f310c66508223ff1e89c63e76d562bc803e883f2b9c7c763115+ sha256: 3cbc5ba4875a886f027507e45394b1124f77223220a79e48087e9907777370ccrequires_dist:- click>=8.0,<9- jedi>=0.18.0@@ -1141,7 +1141,7 @@ packages:- tomlkit>=0.12.0- pyyaml>=6.0- uvicorn>=0.22.0- - starlette>=0.37.0+ - starlette>=0.37.2- websockets>=14.2.0- loro>=1.5.0 ; python_full_version >= '3.11' and python_full_version < '3.14'- typing-extensions>=4.4.0 ; python_full_version < '3.11'@@ -1169,7 +1169,6 @@ packages:- sqlglot[rs]>=26.2.0 ; extra == 'dev'- ruff>=0.13.2 ; extra == 'dev'- openai>=1.55.3 ; extra == 'dev'- - pydantic-ai-slim[google,anthropic]>=1.39.0 ; extra == 'dev'- python-lsp-server>=1.13.0 ; extra == 'lsp'- python-lsp-ruff>=2.0.0 ; extra == 'lsp'- mcp>=1.0.0 ; python_full_version >= '3.10' and extra == 'mcp'diff --git a/pyproject.toml b/pyproject.tomlindex 4c3f799f05..0742cb9992 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -31,8 +31,8 @@ dependencies = [# web framework# - 0.29.0 introduced Middleware kwargs, which we use# - starlette 0.36.0 introduced a bug- # - starlette 0.37.0 needed for httpx compatibility- "starlette>=0.37.0",+ # - starlette 0.37.2 fixed httpx 0.28 compatibility+ "starlette>=0.37.2",# websockets for use with starlette, and for lsp"websockets >= 14.2.0",# loro for collaborative editing@@ -113,7 +113,6 @@ dev = ["ruff>=0.13.2",# For AI"openai>=1.55.3",- "pydantic-ai-slim[google,anthropic]>=1.39.0"]lsp = [@@ -250,8 +249,6 @@ extra-dependencies = ["sqlglot[rs]>=26.2.0","sqlalchemy>=2.0.40","pyiceberg>=0.9.0",- # TODO: Remove pydantic or upgrade pyiceberg once upstream is fixed https://github.com/apache/iceberg-python/issues/2590- "pydantic<2.12.0",# For testing clickhouse"chdb>=3; platform_system != 'Windows'", # there is no suitable wheel for windows"clickhouse-connect>=0.8.18",@@ -270,6 +267,8 @@ extra-dependencies = [# testing gen ai"openai>=1.55.3","pydantic-ai-slim[google,anthropic]>=1.39.0",+ # - google-auth uses cachetools, and cachetools<5.0.0 uses collections.MutableMapping (removed in Python 3.10)+ "cachetools>=5.0.0","boto3>=1.38.46","litellm>=1.70.0",# exporting as ipynb