From 101e294f39c8fccd3423a6c9b31b046be9f332bb Mon Sep 17 00:00:00 2001 From: Yuhuan He Date: Thu, 15 Oct 2026 15:57:33 -0700 Subject: [PATCH] fix(markitdown): make the documented uv installs resolve markitdown 0.1.8's [all] and [az-content-understanding] extras require azure-ai-contentunderstanding>=1.2.0b1, a pre-release. uv does not resolve a transitive pre-release by default, so the skill's primary install command, `uv pip install "markitdown[all]==0.1.8"`, failed in a fresh environment, as did the markitdown-mcp install (which depends on markitdown[all]). The isolated markitdown test environment failed the same way, so CI never exercised the suite. pip is unaffected. Name the pre-release explicitly, pinned to 1.2.0b3, the version cloud_and_ocr.md already uses for Content Understanding, in every affected command and in tests/skill-requirements.toml. This is narrower than --prerelease=allow, which would open every dependency to pre-releases. Add a short note to SKILL.md explaining why the extra package is there. Bump to 2.6. Co-Authored-By: Claude Opus 5.5 (1M context) --- skills/markitdown/SKILL.md | 9 ++++++--- skills/markitdown/references/file_formats.md | 2 +- skills/markitdown/references/mcp_and_plugins.md | 3 ++- skills/markitdown/references/migration.md | 4 ++-- skills/markitdown/references/security.md | 2 +- tests/skill-requirements.toml | 2 +- 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/skills/markitdown/SKILL.md b/skills/markitdown/SKILL.md index e59db02c..243f8d1e 100644 --- a/skills/markitdown/SKILL.md +++ b/skills/markitdown/SKILL.md @@ -4,7 +4,7 @@ description: Converts heterogeneous documents and selected URIs to Markdown with license: MIT compatibility: Python >=3.10,<3.15 and uv. Examples target MarkItDown 0.1.8. Core local conversion can run offline; URL, YouTube, audio transcription, LLM, Azure, and MCP workflows may use network or external services. metadata: - version: "2.5" + version: "2.6" last-reviewed: "2026-10-01" skill-author: K-Dense Inc. --- @@ -42,9 +42,12 @@ source .venv/bin/activate Install every built-in feature: ```bash -uv pip install "markitdown[all]==0.1.8" +uv pip install "markitdown[all]==0.1.8" "azure-ai-contentunderstanding==1.2.0b3" ``` +`[all]` pulls in `azure-ai-contentunderstanding>=1.2.0b1`, a pre-release. uv does not +resolve a transitive pre-release on its own, so name it explicitly as above. + Or install only the converters required by the task: ```bash @@ -211,7 +214,7 @@ The 0.1.8 core CLI does not expose LLM-client/model flags for the OCR plugin. Co The official MCP package exposes one tool, `convert_to_markdown(uri)`. ```bash -uv pip install "markitdown==0.1.8" "markitdown-mcp==0.0.1a7" +uv pip install "markitdown==0.1.8" "markitdown-mcp==0.0.1a7" "azure-ai-contentunderstanding==1.2.0b3" markitdown-mcp ``` diff --git a/skills/markitdown/references/file_formats.md b/skills/markitdown/references/file_formats.md index 421f5a3d..c53ececc 100644 --- a/skills/markitdown/references/file_formats.md +++ b/skills/markitdown/references/file_formats.md @@ -6,7 +6,7 @@ This reference targets Microsoft MarkItDown 0.1.8. "Built-in" means the converte ```bash # Full built-in feature set -uv pip install "markitdown[all]==0.1.8" +uv pip install "markitdown[all]==0.1.8" "azure-ai-contentunderstanding==1.2.0b3" # Common document subset uv pip install "markitdown[pdf,docx,pptx,xlsx]==0.1.8" diff --git a/skills/markitdown/references/mcp_and_plugins.md b/skills/markitdown/references/mcp_and_plugins.md index 6a66db4e..0885c825 100644 --- a/skills/markitdown/references/mcp_and_plugins.md +++ b/skills/markitdown/references/mcp_and_plugins.md @@ -9,7 +9,8 @@ Pin both packages to ensure the documented converter version: ```bash uv pip install \ "markitdown==0.1.8" \ - "markitdown-mcp==0.0.1a7" + "markitdown-mcp==0.0.1a7" \ + "azure-ai-contentunderstanding==1.2.0b3" ``` The server exposes exactly one tool: diff --git a/skills/markitdown/references/migration.md b/skills/markitdown/references/migration.md index 538061e9..0b86d4ab 100644 --- a/skills/markitdown/references/migration.md +++ b/skills/markitdown/references/migration.md @@ -86,7 +86,7 @@ Create a clean environment for the comparison: ```bash uv venv --python 3.12 .venv-markitdown source .venv-markitdown/bin/activate -uv pip install "markitdown[all]==0.1.8" +uv pip install "markitdown[all]==0.1.8" "azure-ai-contentunderstanding==1.2.0b3" ``` Do not test a migration in an environment that still contains unknown third-party plugins. @@ -270,7 +270,7 @@ uv pip install "markitdown[all]" Repository-standard reproducible install: ```bash -uv pip install "markitdown[all]==0.1.8" +uv pip install "markitdown[all]==0.1.8" "azure-ai-contentunderstanding==1.2.0b3" ``` The base package no longer implies every format dependency. Select an extra or `[all]`. diff --git a/skills/markitdown/references/security.md b/skills/markitdown/references/security.md index b1de6069..6f0bbde4 100644 --- a/skills/markitdown/references/security.md +++ b/skills/markitdown/references/security.md @@ -114,7 +114,7 @@ MarkItDown does not turn an archive into a safe bundle merely because it process Use a pinned MarkItDown release: ```bash -uv pip install "markitdown[all]==0.1.8" +uv pip install "markitdown[all]==0.1.8" "azure-ai-contentunderstanding==1.2.0b3" ``` Relevant release history: diff --git a/tests/skill-requirements.toml b/tests/skill-requirements.toml index 508bf985..0a1a6ec9 100644 --- a/tests/skill-requirements.toml +++ b/tests/skill-requirements.toml @@ -30,7 +30,7 @@ packages = ["python-pptx==1.0.2", "Pillow==12.3.0", "lxml==6.1.3"] packages = ["liteparse==2.15.0"] [skills.markitdown] -packages = ["markitdown[all]==0.1.8", "markitdown-ocr==0.1.1", "markitdown-mcp==0.0.1a7", "openai==3.22.1"] +packages = ["markitdown[all]==0.1.8", "markitdown-ocr==0.1.1", "markitdown-mcp==0.0.1a7", "openai==3.22.1", "azure-ai-contentunderstanding==1.2.0b3"] python = "3.12" [skills.latex-posters]