mirror of
https://github.com/K-Dense-AI/scientific-agent-skills.git
synced 2026-12-05 18:43:55 +08:00
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) <noreply@anthropic.com>
This commit is contained in:
1 parent
a1043ef544
commit
101e294f39
6 files changed
+13
-9
No files matched your search
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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]`.
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user