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
chore: use dependency-groups in pyproject.toml (#7325)
Myles Scolnickba8100d78ec3
diff --git a/Makefile b/Makefileindex 7146bbaef1..94834686f4 100644--- a/Makefile+++ b/Makefile@@ -35,7 +35,7 @@ check-prereqs:# 🐍 Install Python dependencies in editable modepy:@command -v uv >/dev/null 2>&1 || { echo "uv is required. See https://docs.astral.sh/uv/getting-started/installation/"; exit 1; }- uv pip install -e ".[dev]"+ uv pip install --group=dev -e .####################### Development Tasks #diff --git a/pixi.lock b/pixi.lockindex 40a83282e5..e8f3541736 100644--- a/pixi.lock+++ b/pixi.lock@@ -1131,7 +1131,7 @@ packages:- pypi: ./name: marimoversion: 0.18.4- sha256: 3cbc5ba4875a886f027507e45394b1124f77223220a79e48087e9907777370cc+ sha256: ef76de97391681b5dbc679e49734538ea5e6159c6efa1e92f6464347d11f5fc8requires_dist:- click>=8.0,<9- jedi>=0.18.0@@ -1139,7 +1139,7 @@ packages:- pymdown-extensions>=10.15,<11- pygments>=2.19,<3- tomlkit>=0.12.0- - pyyaml>=6.0+ - pyyaml>=6.0.1- uvicorn>=0.22.0- starlette>=0.37.2- websockets>=14.2.0@@ -1161,14 +1161,6 @@ packages:- openai>=1.55.3 ; extra == 'recommended'- ruff ; extra == 'recommended'- nbformat>=5.7.0 ; extra == 'recommended'- - click>=8.0,<9 ; extra == 'dev'- - black~=23.12.1 ; extra == 'dev'- - opentelemetry-api~=1.28.0 ; extra == 'dev'- - opentelemetry-sdk~=1.28.0 ; extra == 'dev'- - duckdb>=1.0.0 ; extra == 'dev'- - sqlglot[rs]>=26.2.0 ; extra == 'dev'- - ruff>=0.13.2 ; extra == 'dev'- - openai>=1.55.3 ; 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 0742cb9992..8af337704f 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -24,7 +24,7 @@ dependencies = [# for reading, writing configs"tomlkit>= 0.12.0",# for managing frontmatter headers in markdown- "pyyaml>=6.0",+ "pyyaml>=6.0.1",# web server# - 0.22.0 introduced timeout-graceful-shutdown, which we use"uvicorn>=0.22.0",@@ -100,7 +100,19 @@ recommended = ["nbformat>=5.7.0", # Export as IPYNB]+lsp = [+ "python-lsp-server>=1.13.0",+ "python-lsp-ruff>=2.0.0",+]++mcp = [+ "mcp>=1.0.0; python_version >= '3.10'",+ "pydantic>2; python_version >= '3.10'",+]++[dependency-groups]dev = [+ "hatch>=1.15.1","click>=8.0,<9","black~=23.12.1",# For tracing debugging@@ -115,14 +127,26 @@ dev = ["openai>=1.55.3",]-lsp = [- "python-lsp-server>=1.13.0",- "python-lsp-ruff>=2.0.0",-]--mcp = [- "mcp>=1.0.0; python_version >= '3.10'",- "pydantic>2; python_version >= '3.10'",+test = [+ # For server testing+ "httpx~=0.28.0",+ "urllib3~=2.5.0",+ # Pytest and plugins+ "pytest~=8.3.4",+ "pytest-timeout~=2.3.1",+ "pytest-codecov~=0.7.0",+ "pytest-rerunfailures~=15.1",+ "pytest-asyncio~=0.26.0",+ "pytest-picked>=0.5.1",+ # Comparison testing+ "inline-snapshot~=0.29.0",+ "hypothesis~=6.102.1",+ "dirty-equals~=0.9.0",+ # Forced for modern matplotlib.+ "matplotlib~=3.10.7",+ "pillow>=9",+ "zstandard>=0.21.0",+ "cffi>=1.16.0",][tool.hatch]@@ -130,14 +154,14 @@ installer = "uv"# Override the default uv version to use the latest version[tool.hatch.envs.hatch-uv]-dependencies = ["uv>=0.4.17"]+dependencies = ["uv>=0.9.21"][tool.hatch.envs.default]-features = ["dev"]+dependency-groups = ["dev"]python = "3.12"installer = "uv"dependencies = [- "uv>=0.4.17", # so we can bump the version used by hatch+ "uv>=0.9.21", # so we can bump the version used by hatch# Typo checking"typos~=1.23.6",]@@ -150,6 +174,7 @@ format = "ruff format"[tool.hatch.envs.typecheck]python = "3.12"installer = "uv"+dependency-groups = ["dev"]dependencies = ["mypy~=1.15.0",# Types for mypy@@ -189,23 +214,7 @@ check = "mypy marimo --exclude=marimo/_tutorials/"tutorials = "mypy marimo/_tutorials"[tool.hatch.envs.test]-extra-dependencies = [- "dirty-equals~=0.9.0",- "hypothesis~=6.102.1",- # For server testing- "httpx~=0.28.0",- "urllib3~=2.5.0",- "matplotlib~=3.10.7",- # Forced for modern matplotlib.- "pillow>=9",- "pytest~=8.3.4",- "pytest-timeout~=2.3.1",- "pytest-codecov~=0.7.0",- "pytest-rerunfailures~=15.1",- "pytest-asyncio~=0.26.0",- "pytest-picked>=0.5.1",- "inline-snapshot~=0.29.0",-]+dependency-groups = ["dev", "test"][[tool.hatch.envs.test.matrix]]python = ["3.10", "3.11", "3.12", "3.13", "3.14"]@@ -225,18 +234,8 @@ test-narwhals = """[tool.hatch.envs.test-optional]template = "test"+dependency-groups = ["dev", "test"]extra-dependencies = [- "dirty-equals~=0.9.0",- "hypothesis~=6.102.1",- "httpx~=0.28.0",- "matplotlib~=3.9.2",- "pytest~=8.3.4",- "pytest-timeout~=2.3.1",- "pytest-codecov~=0.6.1",- "pytest-rerunfailures~=15.1",- "pytest-asyncio~=0.26.0",- "pytest-picked>=0.5.1",- "inline-snapshot~=0.29.0","python-lsp-server>=1.10.0",# For testing mo.ui.chart, table, ..."vl-convert-python",