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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant