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
explicitly add yaml as a dep (#1420)
Dylan Madisettic01db4d6ab5a
diff --git a/marimo/_cli/convert/markdown.py b/marimo/_cli/convert/markdown.pyindex c36fa727de..584e34cebe 100644--- a/marimo/_cli/convert/markdown.py+++ b/marimo/_cli/convert/markdown.py@@ -8,8 +8,6 @@ from typing import Any, Callable, Literal, Optional, Union# Native to pythonfrom xml.etree.ElementTree import Element, SubElement-import yaml-# Markdown is a dependency of marimo, as such we utilize it as much as possible# to parse markdown.from markdown import Markdown@@ -30,6 +28,7 @@ from marimo._ast.cell import Cell, CellConfigfrom marimo._ast.compiler import compile_cellfrom marimo._cli.convert.utils import markdown_to_marimo+import yaml# CSafeLoader is faster than SafeLoader.try:from yaml import CSafeLoader as SafeLoaderdiff --git a/pyproject.toml b/pyproject.tomlindex 0a7cb5c897..11757e52f2 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -24,6 +24,8 @@ dependencies = ["pygments>=2.13,<3",# for reading, writing configs"tomlkit>= 0.12.0",+ # for managing frontmatter headers in markdown+ "pyyaml>=6.0",# web server# - 0.22.0 introduced timeout-graceful-shutdown, which we use"uvicorn >= 0.22.0",