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.

chore(deps): relax pymdown-extensions upper bound to allow 11.x (#10332)

Thomas Schmelzer12011a45ac07
diff --git a/pyproject.toml b/pyproject.toml
index 4bc6fcb86e..c16534f68f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,8 +17,10 @@ dependencies = [
# compile markdown to html
"markdown>=3.6,<4",
# add features to markdown
- # Pinned to specific version for introduction of codeblock handling.
- "pymdown-extensions>=10.21.2,<11",
+ # - 10.11.2 introduced the codeblock handling we rely on
+ # - 10.21.2 stopped passing `filename=None` to pygments (broken on
+ # pygments>=2.20)
+ "pymdown-extensions>=10.21.2,<12",
# syntax highlighting of code in markdown
"pygments>=2.19,<3",
# for reading, writing configs
diff --git a/tests/snapshots/dependencies.txt b/tests/snapshots/dependencies.txt
index eca10969d9..b87d1ffdd0 100644
--- a/tests/snapshots/dependencies.txt
+++ b/tests/snapshots/dependencies.txt
@@ -9,7 +9,7 @@ narwhals>=2.0.0
packaging
psutil>=5.0; sys_platform != 'emscripten' and sys_platform != 'android'
pygments>=2.19,<3
-pymdown-extensions>=10.21.2,<11
+pymdown-extensions>=10.21.2,<12
python-multipart>=0.0.18
pyyaml>=6.0.1
pyzmq>=27.1.0; python_version < '3.15' and sys_platform != 'emscripten'