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
fix: include third_party.txt in builds (#2651)
Myles Scolnick78b961bd7086
diff --git a/.github/workflows/test_cli.yaml b/.github/workflows/test_cli.yamlindex 59fc8770bd..c901431d1c 100644--- a/.github/workflows/test_cli.yaml+++ b/.github/workflows/test_cli.yaml@@ -71,18 +71,20 @@ jobs:- name: Check for _static/_lsp directory in wheelrun: |wheel_file=$(ls dist/*.whl)- directories_to_check=(+ files_or_dirs_to_check=("marimo/_static/""marimo/_lsp/""marimo/_tutorials/"+ "third_party.txt"+ "third_party_licenses.txt")- for dir in "${directories_to_check[@]}"; do- if ! unzip -l "$wheel_file" | grep -q "$dir"; then- echo "Error: $dir directory not found in the wheel"+ for file_or_dir in "${files_or_dirs_to_check[@]}"; do+ if ! unzip -l "$wheel_file" | grep -q "$file_or_dir"; then+ echo "Error: $file_or_dir not found in the wheel"exit 1else- echo "Found $dir in the wheel"+ echo "Found $file_or_dir in the wheel"fidonediff --git a/marimo/_utils/health.py b/marimo/_utils/health.pyindex 8c95294b73..0b37c04e25 100644--- a/marimo/_utils/health.py+++ b/marimo/_utils/health.py@@ -26,11 +26,16 @@ def get_node_version() -> Optional[str]:def get_required_modules_list() -> dict[str, str]:packages = ["click",- "importlib-resources",+ "docutils",+ "itsdangerous","jedi","markdown",+ "narwhals",+ "packaging",+ "psutil","pygments","pymdown-extensions",+ "pyyaml","ruff","starlette","tomlkit",diff --git a/pyproject.toml b/pyproject.tomlindex b04d9b45f4..2e009a5b23 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -113,12 +113,12 @@ path = "marimo/__init__.py"[tool.hatch.build.targets.sdist]include = ["/marimo"]-artifacts = ["marimo/_static/", "marimo/_lsp/"]+artifacts = ["marimo/_static/", "marimo/_lsp/", "third_party.txt", "third_party_licenses.txt"]exclude = ["marimo/_smoke_tests"][tool.hatch.build.targets.wheel]-packages = ["marimo"]-artifacts = ["marimo/_static/", "marimo/_lsp/"]+include = ["/marimo"]+artifacts = ["marimo/_static/", "marimo/_lsp/", "third_party.txt", "third_party_licenses.txt"]exclude = ["marimo/_smoke_tests"]# Override the default uv version to use the latest version