chore(deps): bump pymdown-extensions to 11.0.1 via uv override - #883
Merged
Conversation
marimo pins pymdown-extensions<11 and the fix for the b64 extension path-traversal advisory ships only in 11.0, so a constraint cannot reach it. Override the pin in [tool.uv] until marimo allows 11.x.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clears the one open Dependabot alert on this repo.
What was blocking it
pymdown-extensionsis transitive here (marimo, mkdocs-material). The b64 path-traversal advisory is fixed only in11.0, and there is no patched10.x. marimo declarespymdown-extensions>=10.21.2,<11, souv lock --upgrade-package pymdown-extensionsis a no-op: a constraint cannot beat an upper pin.What this does
Adds
override-dependencies = ["pymdown-extensions>=11.0.1"]to[tool.uv], next to the existing security-remediation constraints, and relocks. Resolves 10.21.3 -> 11.0.1.The 11.0 break is
b64restricting relative links tobase_pathby default (that is the fix) plus dropping Python 3.9, which is below this project's floor. marimo imports and runs fine against 11.0.1.Remove the override once marimo allows 11.x.
Verification
tox -e python314: 7308 passed, 170 skipped; ruff format, ruff check, license allowlist, mypy --strict and bandit all clean.