Skip to content

fix(deps): unpin youtube-transcript-api in [all] extra (broken on current PyPI)#2179

Open
vincentspereira wants to merge 1 commit into
microsoft:mainfrom
vincentspereira:fix/all-extra-youtube-pin
Open

fix(deps): unpin youtube-transcript-api in [all] extra (broken on current PyPI)#2179
vincentspereira wants to merge 1 commit into
microsoft:mainfrom
vincentspereira:fix/all-extra-youtube-pin

Conversation

@vincentspereira

Copy link
Copy Markdown

Problem

pip install "markitdown[all]" currently fails (or silently downgrades to ancient markitdown 0.0.2):

ERROR: Could not find a version that satisfies the requirement youtube-transcript-api~=1.0.0; extra == "all"

Root cause

The [all] extra pins youtube-transcript-api~=1.0.0 (i.e. >=1.0.0,<1.1.0), but the 1.0.x releases have been removed from PyPI - the package now jumps from 0.6.2 straight to 1.2.3. The pin is therefore unsatisfiable.

Notably, the standalone [youtube-transcription] extra is already unpinned and works fine:

youtube-transcription = ["youtube-transcript-api"]

Fix

Align [all] with the existing unpinned [youtube-transcription] extra - keep the original "require 1.x+" intent, drop the impossible upper bound:

-  "youtube-transcript-api~=1.0.0",
+  "youtube-transcript-api>=1.0.0",

Verification

  • Before: pip install "markitdown[all]" -> ResolutionImpossible (or downgrade to 0.0.2).
  • After: pip install "markitdown[all]" resolves cleanly and stays on the current release (verified on Python 3.14).

One-line change; no runtime code affected.

🤖 Generated with Claude Code

The [all] extra pins 'youtube-transcript-api~=1.0.0', but the 1.0.x
releases were removed from PyPI (the package now jumps 0.6.x -> 1.2.x),
so 'pip install markitdown[all]' fails with ResolutionImpossible or
silently downgrades to markitdown 0.0.2. Align [all] with the existing
unpinned [youtube-transcription] extra by using '>=1.0.0'.

Co-Authored-By: Claude <noreply@anthropic.com>
@suresh42326

Copy link
Copy Markdown

Hit this too — on Python 3.14, pip install 'markitdown[all]' fails to resolve because youtube-transcript-api~=1.0.0 matches no published release (PyPI jumps straight from 0.6.2 to 1.2.3+). Confirmed it's not Python-3.14-specific: the range itself is just empty on PyPI.

As a workaround, installing extras individually works fine, e.g. pip install 'markitdown[docx,pdf,youtube-transcription]', since youtube-transcription has no version pin and happily resolves to 1.2.4. This PR's fix (loosening the [all] pin) resolves it cleanly for me as well — tested with a dry-run install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants